@media (max-width: 1200px) {
    .jh-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .jh-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .jh-sidebar {
        left: -290px;
    }

    .jh-sidebar.open {
        left: 0;
    }

    .jh-sidebar-overlay.show {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(6, 78, 59, .58);
        backdrop-filter: blur(3px);
        z-index: 999;
    }

    .jh-main {
        margin-left: 0;
        width: 100%;
    }

    .jh-menu-btn {
        display: grid;
        place-items: center;
    }

    .jh-topbar {
        padding: 0 16px;
        gap: 12px;
    }

    .jh-topbar h2 {
        font-size: 18px;
    }

    .jh-topbar p {
        display: none;
    }

    .jh-user-info {
        display: none;
    }
}

@media (max-width: 650px) {
    body {
        background:
            radial-gradient(circle at top left, rgba(14,165,233,.16), transparent 38%),
            #f3fbfa;
    }

    .jh-content {
        padding: 16px;
    }

    .jh-grid-4,
    .jh-grid-3,
    .jh-grid-2 {
        grid-template-columns: 1fr;
    }

    .jh-card {
        padding: 18px;
        border-radius: 18px;
    }

    .jh-topbar {
        height: 68px;
    }

    .jh-user-avatar {
        width: 38px;
        height: 38px;
    }

    .jh-logout {
        width: 36px;
        height: 36px;
    }

    .jh-stat-card h2 {
        font-size: 22px;
    }

    .jh-btn {
        width: 100%;
    }

    .jh-table {
        min-width: 760px;
    }
}