[x-cloak] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

canvas {
    width: 100% !important;
    height: 100% !important;
}

.glass-card {
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(22px);
}

.dark .glass-card {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.72);
}

.icon-btn,
.icon-btn-danger {
    display: inline-grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border-radius: 0.75rem;
    border: 1px solid rgb(226, 232, 240);
    color: rgb(71, 85, 105);
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.icon-btn:hover,
.icon-btn-danger:hover {
    transform: translateY(-1px);
}

.icon-btn:hover {
    background: rgb(248, 250, 252);
    color: rgb(79, 70, 229);
}

.icon-btn-danger:hover {
    background: rgb(255, 241, 242);
    color: rgb(225, 29, 72);
}

.dark .icon-btn,
.dark .icon-btn-danger {
    border-color: rgb(30, 41, 59);
    color: rgb(203, 213, 225);
}

.dark .icon-btn:hover {
    background: rgb(15, 23, 42);
    color: rgb(165, 180, 252);
}

.dark .icon-btn-danger:hover {
    background: rgba(136, 19, 55, 0.3);
    color: rgb(251, 113, 133);
}

.field-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 800;
    color: rgb(51, 65, 85);
}

.dark .field-label {
    color: rgb(226, 232, 240);
}

.field-input {
    margin-top: 0.5rem;
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgb(226, 232, 240);
    background: rgba(248, 250, 252, 0.9);
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    font-weight: 650;
    color: rgb(15, 23, 42);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.field-input:focus {
    border-color: rgb(99, 102, 241);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.13);
    background: rgb(255, 255, 255);
}

.dark .field-input {
    border-color: rgb(30, 41, 59);
    background: rgba(2, 6, 23, 0.55);
    color: rgb(248, 250, 252);
}

.dark .field-input:focus {
    border-color: rgb(129, 140, 248);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.22);
    background: rgb(15, 23, 42);
}

.control-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3rem;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    font-weight: 850;
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.control-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px -28px rgba(15, 23, 42, 0.8);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 850;
}

.status-approved {
    background: rgb(220, 252, 231);
    color: rgb(21, 128, 61);
}

.status-pending {
    background: rgb(254, 249, 195);
    color: rgb(161, 98, 7);
}

.status-rejected {
    background: rgb(255, 228, 230);
    color: rgb(190, 18, 60);
}

.dark .status-approved {
    background: rgba(22, 101, 52, 0.3);
    color: rgb(134, 239, 172);
}

.dark .status-pending {
    background: rgba(133, 77, 14, 0.32);
    color: rgb(253, 230, 138);
}

.dark .status-rejected {
    background: rgba(159, 18, 57, 0.32);
    color: rgb(253, 164, 175);
}

.report-tab {
    min-height: 2.6rem;
    border-radius: 0.85rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 850;
    color: rgb(71, 85, 105);
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.report-tab:hover {
    background: rgba(255, 255, 255, 0.75);
}

.report-tab-active {
    background: rgb(255, 255, 255);
    color: rgb(79, 70, 229);
    box-shadow: 0 12px 30px -22px rgba(15, 23, 42, 0.7);
}

.dark .report-tab {
    color: rgb(203, 213, 225);
}

.dark .report-tab:hover {
    background: rgba(15, 23, 42, 0.8);
}

.dark .report-tab-active {
    background: rgb(15, 23, 42);
    color: rgb(165, 180, 252);
}

.metric-card {
    border-radius: 1rem;
    border: 1px solid rgb(226, 232, 240);
    background: rgb(255, 255, 255);
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dark .metric-card {
    border-color: rgb(30, 41, 59);
    background: rgba(15, 23, 42, 0.72);
}

.metric-icon {
    display: inline-grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 1rem;
}

.heat-cell {
    aspect-ratio: 1 / 1;
    min-height: 2.6rem;
    border-radius: 0.85rem;
    font-size: 0.75rem;
    font-weight: 850;
    transition: transform 160ms ease, filter 160ms ease;
}

.heat-cell:hover {
    transform: translateY(-1px);
    filter: brightness(0.98);
}

.heat-0 {
    background: rgb(236, 253, 245);
    color: rgb(6, 95, 70);
}

.heat-1 {
    background: rgb(167, 243, 208);
    color: rgb(6, 78, 59);
}

.heat-2 {
    background: rgb(52, 211, 153);
    color: rgb(6, 78, 59);
}

.heat-3 {
    background: rgb(5, 150, 105);
    color: rgb(255, 255, 255);
}

.dark .heat-0 {
    background: rgba(6, 95, 70, 0.25);
    color: rgb(167, 243, 208);
}

.dark .heat-1 {
    background: rgba(16, 185, 129, 0.35);
    color: rgb(209, 250, 229);
}

.dark .heat-2 {
    background: rgba(16, 185, 129, 0.65);
    color: rgb(236, 253, 245);
}

.dark .heat-3 {
    background: rgb(16, 185, 129);
    color: rgb(2, 44, 34);
}

.toggle {
    width: 2.75rem;
    height: 1.5rem;
    cursor: pointer;
    appearance: none;
    border-radius: 999px;
    background: rgb(203, 213, 225);
    position: relative;
    transition: background-color 160ms ease;
}

.toggle::after {
    content: "";
    position: absolute;
    top: 0.2rem;
    left: 0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    background: rgb(255, 255, 255);
    transition: transform 160ms ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.24);
}

.toggle:checked {
    background: rgb(79, 70, 229);
}

.toggle:checked::after {
    transform: translateX(1.25rem);
}

@media (min-width: 640px) {
    .sm\:grid-cols-14 {
        grid-template-columns: repeat(14, minmax(0, 1fr));
    }
}

