        :root {
            --sidebar-w: 272px;
            --sidebar-from: #047857;
            --sidebar-to: #022c22;
            --bg: #f1f8f3;
            --card: #ffffff;
            --text: #1a2e23;
            --text-sec: #5a7265;
            --border: #d4e6da;
            --accent: #f97316;
            --sidebar-w: 280px;
            --sidebar-collapsed: 88px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background: var(--bg);
            color: var(--text);
            overflow-x: hidden;
        }

        body.sidebar-collapsed .sidebar {
            width: var(--sidebar-collapsed);
        }

        body.sidebar-collapsed .main-content,
        body.sidebar-collapsed .topbar {
            margin-left: var(--sidebar-collapsed);
            width: calc(100% - var(--sidebar-collapsed));
        }

        /* === SIDEBAR === */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-w);
            height: 100vh;
            background: linear-gradient(175deg, var(--sidebar-from) 0%, #065f46 40%, var(--sidebar-to) 100%);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
            overflow: hidden;
        }

        .sidebar::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0zM20 20h20v20H20z' fill='rgba(255,255,255,0.02)'/%3E%3C/svg%3E");
            pointer-events: none;
        }

        .sidebar-brand {
            padding: 28px 24px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
        }

        .sidebar-brand .brand-icon {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, #34d399, #fbbf24);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #022c22;
            font-weight: 900;
            box-shadow: 0 4px 15px rgba(52, 211, 153, 0.3);
            animation: brandPulse 3s ease-in-out infinite;
        }

        @keyframes brandPulse {

            0%,
            100% {
                box-shadow: 0 4px 15px rgba(52, 211, 153, 0.3);
            }

            50% {
                box-shadow: 0 4px 25px rgba(52, 211, 153, 0.5);
            }
        }

        .sidebar-nav {
            flex: 1;
            overflow-y: auto;
            padding: 12px 0;
            scrollbar-width: thin;
            scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
        }

        .sidebar-nav::-webkit-scrollbar {
            width: 4px;
        }

        .sidebar-nav::-webkit-scrollbar-track {
            background: transparent;
        }

        .sidebar-nav::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.15);
            border-radius: 4px;
        }

        .menu-section-label {
            padding: 16px 24px 6px;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.3);
        }

        .menu-item {
            display: flex;
            align-items: center;
            padding: 10px 24px;
            gap: 12px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 13.5px;
            font-weight: 500;
            cursor: pointer;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
            transition: all 0.2s ease;
            position: relative;
            text-decoration: none;
        }

        .menu-item:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.06);
        }

        .menu-item.active {
            color: #fff;
            background: rgba(255, 255, 255, 0.1);
        }

        .menu-item.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 4px;
            bottom: 4px;
            width: 3px;
            border-radius: 0 3px 3px 0;
            background: linear-gradient(180deg, #34d399, #fbbf24);
        }

        .menu-icon {
            width: 20px;
            text-align: center;
            font-size: 14px;
            flex-shrink: 0;
        }

        .menu-text {
            flex: 1;
        }

        .menu-chevron {
            font-size: 10px;
            transition: transform 0.3s ease;
            opacity: 0.5;
        }

        .menu-chevron.rotated {
            transform: rotate(90deg);
        }

        .submenu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s cubic-bezier(.4, 0, .2, 1);
        }

        .submenu.open {
            max-height: 400px;
        }

        .submenu-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 24px 8px 60px;
            color: rgba(255, 255, 255, 0.5);
            font-size: 13px;
            font-weight: 400;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .submenu-item:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.04);
        }

        .submenu-dot {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.25);
            flex-shrink: 0;
            transition: all 0.2s ease;
        }

        .submenu-item:hover .submenu-dot {
            background: #34d399;
            box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
        }

        .sidebar-footer {
            padding: 16px 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            font-size: 11px;
            color: rgba(255, 255, 255, 0.25);
        }

        /* === MAIN === */
        .main-content {
            margin-left: var(--sidebar-w);
            min-height: 100vh;
            transition: margin-left .35s cubic-bezier(.4, 0, .2, 1);
            position: relative;
        }

        .main-content::before {
            content: '';
            position: fixed;
            inset: 0 0 0 var(--sidebar-w);
            background:
                radial-gradient(circle at 85% 10%, rgba(52, 211, 153, .06) 0%, transparent 50%),
                radial-gradient(circle at 10% 90%, rgba(251, 191, 36, .05) 0%, transparent 50%);
            pointer-events: none;
            z-index: 0;
        }

        .main-inner {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: none;
            /* jangan dibatasi */
            padding: 28px clamp(18px, 2vw, 36px) 40px;
            margin: 0 auto;
        }

        /* === WELCOME BANNER === */
        .welcome-banner {
            border-radius: 20px;
            padding: 36px 40px;
            background: linear-gradient(135deg, #059669 0%, #0d9488 45%, #0891b2 100%);
            position: relative;
            overflow: hidden;
            margin-bottom: 28px;
            box-shadow: 0 8px 32px rgba(5, 150, 105, 0.25);
        }

        .welcome-banner .deco-circle {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
        }

        .welcome-banner .deco-circle:nth-child(1) {
            width: 180px;
            height: 180px;
            top: -60px;
            right: 60px;
            animation: floatA 6s ease-in-out infinite;
        }

        .welcome-banner .deco-circle:nth-child(2) {
            width: 100px;
            height: 100px;
            bottom: -30px;
            right: 200px;
            animation: floatB 8s ease-in-out infinite;
        }

        .welcome-banner .deco-circle:nth-child(3) {
            width: 60px;
            height: 60px;
            top: 20px;
            right: 280px;
            animation: floatA 5s ease-in-out infinite 1s;
        }

        .welcome-banner .deco-circle:nth-child(4) {
            width: 120px;
            height: 120px;
            bottom: -50px;
            left: 40%;
            background: rgba(255, 255, 255, 0.04);
            animation: floatB 7s ease-in-out infinite 0.5s;
        }

        @keyframes floatA {

            0%,
            100% {
                transform: translateY(0) scale(1);
            }

            50% {
                transform: translateY(-15px) scale(1.05);
            }
        }

        @keyframes floatB {

            0%,
            100% {
                transform: translateY(0) scale(1);
            }

            50% {
                transform: translateY(10px) scale(0.95);
            }
        }

        /* === IDENTITY CARDS === */
        .identity-card {
            border-radius: 16px;
            padding: 24px 28px;
            color: #fff;
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: default;
        }

        .identity-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        }

        .identity-card .id-deco {
            position: absolute;
            right: -10px;
            bottom: -10px;
            font-size: 80px;
            opacity: 0.1;
            transform: rotate(-15deg);
        }

        .identity-card .id-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            margin-bottom: 16px;
            backdrop-filter: blur(4px);
        }

        /* === FINANCIAL CARDS === */
        .fin-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 18px;
        }

        .fin-card {
            background: var(--card);
            border-radius: 14px;
            padding: 16px 18px;
            border-left: 4px solid transparent;
            position: relative;
            overflow: hidden;
            transition: .3s;
            box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
        }

        .fin-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;

            display: flex;
            align-items: center;
            justify-content: center;

            flex-shrink: 0;
            margin-bottom: 12px;
        }

        .fin-icon i {
            font-size: 16px;
            line-height: 1;
        }

        .fin-label {
            font-size: 11px;
            margin-bottom: 4px;
        }

        .fin-value {
            font-size: 1.35rem;
            font-weight: 800;
            line-height: 1.15;
            margin-bottom: 6px;
        }

        .fin-trend {
            font-size: 10px;
            padding: 3px 8px;
        }

        /* === TABLE === */
        .activity-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            background: var(--card);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
        }

        .activity-table thead th {
            padding: 14px 20px;
            font-size: 11.5px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: var(--text-sec);
            background: #f6faf7;
            border-bottom: 2px solid var(--border);
            text-align: left;
        }

        .activity-table tbody tr {
            transition: background 0.2s;
        }

        .activity-table tbody tr:hover {
            background: #f0fdf4;
        }

        .activity-table tbody td {
            padding: 14px 20px;
            font-size: 13.5px;
            border-bottom: 1px solid #f0f5f1;
            color: var(--text);
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        .status-badge.online {
            background: #ecfdf5;
            color: #059669;
        }

        .status-badge.offline {
            background: #f3f4f6;
            color: #6b7280;
        }

        .status-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
        }

        .status-dot.online {
            background: #10b981;
            animation: pulse 2s ease-in-out infinite;
        }

        .status-dot.offline {
            background: #9ca3af;
        }

        @keyframes pulse {

            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
            }

            50% {
                box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
            }
        }

        .role-badge {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 6px;
            font-size: 11.5px;
            font-weight: 600;
        }

        /* === SECTION TITLE === */
        .section-title {
            font-size: 17px;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section-title .title-bar {
            width: 4px;
            height: 22px;
            border-radius: 4px;
            background: linear-gradient(180deg, #10b981, #0891b2);
        }

        /* === TOAST === */
        .toast-container {
            position: fixed;
            top: 24px;
            right: 24px;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .toast {
            padding: 14px 22px;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 13.5px;
            font-weight: 500;
            transform: translateX(120%);
            transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
            border-left: 4px solid #10b981;
        }

        .toast.show {
            transform: translateX(0);
        }

        /* === OVERLAY === */
        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.4);
            z-index: 999;
            backdrop-filter: blur(2px);
        }

        .sidebar-overlay.show {
            display: block;
        }

        /* === HAMBURGER === */
        .hamburger {
            display: none;
            position: fixed;
            top: 16px;
            left: 16px;
            z-index: 1001;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: #059669;
            border: none;
            cursor: pointer;
            color: #fff;
            font-size: 18px;
            box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
            transition: all 0.2s;
        }

        .hamburger:hover {
            background: #047857;
            transform: scale(1.05);
        }

        /* === SCROLL REVEAL === */
        .reveal {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* === RESPONSIVE === */
        @media (max-width: 1024px) {
            .sidebar {
                transform: translateX(-100%);
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .main-content {
                margin-left: 0;
            }

            .main-content::before {
                width: 100%;
            }

            .hamburger {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .main-inner {
                padding: 24px 20px 40px;
                padding-top: 72px;
            }
        }

        @media (max-width: 640px) {
            .welcome-banner {
                padding: 28px 24px;
            }

            .fin-value {
                font-size: 17px;
            }

            .activity-table {
                font-size: 12px;
            }

            .activity-table thead th,
            .activity-table tbody td {
                padding: 10px 12px;
            }
        }

        @media (prefers-reduced-motion: reduce) {

            *,
            *::before,
            *::after {
                animation-duration: 0.01ms !important;
                transition-duration: 0.01ms !important;
            }
        }

        .sidebar-toggle {
            width: 42px;
            height: 42px;

            display: flex;
            align-items: center;
            justify-content: center;

            border: none;
            border-radius: 10px;

            background: transparent;
            cursor: pointer;

            color: var(--text-sec);
            font-size: 17px;

            transition: .25s;
        }

        .sidebar-toggle:hover {
            background: rgba(16, 185, 129, .08);
            color: var(--accent);
        }