:root {
    --background: 0 0% 98%;
    --foreground: 220 13% 13%;
    --card: 0 0% 100%;
    --card-foreground: 220 13% 13%;
    --popover: 0 0% 100%;
    --popover-foreground: 220 13% 13%;
    --primary: 211 40% 47%;
    --primary-foreground: 0 0% 100%;
    --secondary: 220 13% 95%;
    --secondary-foreground: 220 13% 13%;
    --muted: 220 13% 95%;
    --muted-foreground: 220 9% 46%;
    --accent: 220 13% 95%;
    --accent-foreground: 220 13% 13%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;
    --success: 142 76% 40%;
    --success-foreground: 0 0% 100%;
    --warning: 45 93% 50%;
    --warning-foreground: 0 0% 100%;
    --info: 211 40% 47%;
    --info-foreground: 0 0% 100%;
    --border: 220 13% 91%;
    --input: 220 13% 91%;
    --ring: 211 40% 47%;
    --radius: .5rem;
    --shadow: 0 0 0 1px rgb(0 0 0 / .05);
    --shadow-md: 0 0 8px 0 rgb(0 0 0 / .08);
    --shadow-lg: 0 0 20px 0 rgb(0 0 0 / .1);
    --nav-background: 0 0% 100%;
    --nav-foreground: 220 13% 13%;
    --nav-border: 220 13% 91%;
}

/* Scoped Tailwind preflight for new header menu. */
.tw-compat,
.tw-compat *,
.tw-compat ::before,
.tw-compat ::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: hsl(var(--border));
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.tw-compat a {
    color: inherit;
    text-decoration: inherit;
}

.tw-compat button {
    background-color: transparent;
    background-image: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    text-transform: none;
}

.tw-compat img,
.tw-compat svg {
    display: block;
    vertical-align: middle;
}

html {
    overflow-y: scroll;
}

*,
::before,
::after {
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: hsl(var(--ring));
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
}

h1,
.h1 {
    font-size: 2em;
    line-height: 1.1;
    margin: 0.7em 0 0.3em 0;
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground)) !important;
}

.text-popover-foreground {
    color: hsl(var(--popover-foreground));
}

.text-foreground {
    color: hsl(var(--foreground));
}

.text-accent-foreground {
    color: hsl(var(--accent-foreground));
}

.menu-link--active {
    color: hsl(var(--foreground));
}

.menu-link--active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 0.125rem;
    background-color: hsl(var(--foreground));
}

.menu-link--disabled {
    color: #9ca3af;
    pointer-events: none;
}

.menu-link--disabled:hover {
    color: #9ca3af;
    transform: none;
}

.dropdown-menu-item--logout {
    color: hsl(var(--destructive));
}

.dropdown-menu-item:hover,
.dropdown-menu-item:focus {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.dropdown-menu-item--disabled {
    color: #9ca3af;
    pointer-events: none;
}

.bg-white {
    background-color: #fff;
}

.bg-card {
    background-color: hsl(var(--card));
}

.bg-nav {
    background-color: hsl(var(--nav-background));
}

.bg-muted {
    background-color: hsl(var(--muted));
}

.border {
    border: 1px solid hsl(var(--border));
}

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

.border-nav-border {
    border-color: hsl(var(--nav-border));
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-sm {
    border-radius: 0.125rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

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

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

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

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

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

.flex {
    display: flex;
}

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

.hidden {
    display: none;
}

@media (min-width: 1024px) {
    .lg\:hidden {
        display: none !important;
    }

    .lg\:flex {
        display: flex !important;
    }
}

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

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

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

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-6 {
    gap: 1.5rem;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.right-0 {
    right: 0;
}

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

.overflow-hidden {
    overflow: hidden;
}

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

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

.outline-none {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.-mx-1 {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
}

.my-1 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

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

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

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

.p-1 {
    padding: 0.25rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

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

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-1\.5 {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.h-4 {
    height: 1rem;
}

.w-4 {
    width: 1rem;
}

.h-9 {
    height: 2.25rem;
}

.w-9 {
    width: 2.25rem;
}

.w-56 {
    width: 14rem;
}

.min-w-\[8rem\] {
    min-width: 8rem;
}

.h-px {
    height: 1px;
}

.max-w-7xl {
    max-width: 80rem;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
}

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

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
}

.duration-200 {
    transition-duration: 200ms;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:text-foreground:hover {
    color: hsl(var(--foreground));
}

.hover\:text-accent-foreground:hover {
    color: hsl(var(--accent-foreground));
}

.hover\:bg-accent:hover {
    background-color: hsl(var(--accent));
}

.focus\:bg-accent:focus {
    background-color: hsl(var(--accent));
}

.focus\:text-accent-foreground:focus {
    color: hsl(var(--accent-foreground));
}

.ring-offset-background {
    --tw-ring-offset-color: hsl(var(--background));
}

.focus-visible\:outline-none:focus-visible {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus-visible\:ring-2:focus-visible {
    --tw-ring-offset-shadow: 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow);
}

.focus-visible\:ring-offset-2:focus-visible {
    --tw-ring-offset-width: 2px;
}

.focus-visible\:ring-ring:focus-visible {
    --tw-ring-color: hsl(var(--ring));
}

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

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

.data-\[disabled\]\:pointer-events-none[data-disabled] {
    pointer-events: none;
}

.data-\[disabled\]\:opacity-50[data-disabled] {
    opacity: 0.5;
}

.\[\&_svg\]\:pointer-events-none svg {
    pointer-events: none;
}

.\[\&_svg\]\:size-4 svg {
    width: 1rem;
    height: 1rem;
}

.\[\&_svg\]\:shrink-0 svg {
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .sm\:py-6 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }
}
