* { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', sans-serif;
            background:
                radial-gradient(ellipse at 15% 40%, rgba(0,100,200,0.18) 0%, transparent 55%),
                radial-gradient(ellipse at 85% 15%, rgba(0,200,255,0.10) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 85%, rgba(0,60,180,0.12) 0%, transparent 50%),
                linear-gradient(160deg, #030814 0%, #060E1E 45%, #0A1628 100%);
            background-attachment: fixed;
            color: rgba(255, 255, 255, 0.9);
            min-height: 100vh;
        }

        .app-container { display: flex; height: 100vh; overflow: hidden; }

        /* ===== SIDEBAR ===== */
        .sidebar {
            width: 200px; min-width: 200px;
            background: rgba(4, 10, 28, 0.82);
            backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
            border-right: 1px solid rgba(0, 240, 255, 0.08);
            box-shadow: 4px 0 32px rgba(0,0,0,0.4), inset -1px 0 0 rgba(0,240,255,0.04);
            display: flex; flex-direction: column;
            padding: 20px 10px; gap: 4px; overflow-y: auto;
        }
        .sidebar-header { text-align: center; margin-bottom: 10px; font-weight: 700; font-size: 15px; color: rgba(255, 255, 255, 0.92); padding: 10px; letter-spacing: 0.3px; }
        .sidebar-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #00D4FF 0%, #0074CC 100%); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 16px; margin: 0 auto 4px auto; box-shadow: 0 0 18px rgba(0,212,255,0.45), 0 0 36px rgba(0,212,255,0.15); }
        .sidebar-role { font-size: 11px; color: rgba(0, 240, 255, 0.45); text-align: center; margin-bottom: 20px; letter-spacing: 0.3px; }
        .sidebar-logout-icon { display: none; }
        .sidebar-item { padding: 11px 12px; border-radius: 10px; cursor: pointer; transition: all 0.22s ease; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.42); background: transparent; border-left: 2px solid transparent; }
        .sidebar-item:hover { background: rgba(0, 240, 255, 0.07); color: rgba(0, 240, 255, 0.82); border-left-color: rgba(0, 240, 255, 0.25); }
        .sidebar-item.active { background: rgba(0, 240, 255, 0.1); color: #00F0FF; border-left-color: #00F0FF; box-shadow: inset 0 0 14px rgba(0,240,255,0.07), 2px 0 0 rgba(0,240,255,0.25); text-shadow: 0 0 14px rgba(0,240,255,0.55); }
        .sidebar-icon { font-size: 16px; width: 20px; text-align: center; }

        /* ===== MAIN CONTENT ===== */
        .main-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
        .header { padding: 14px 30px; border-bottom: 1px solid rgba(0, 240, 255, 0.07); display: flex; justify-content: space-between; align-items: center; background: rgba(3, 8, 22, 0.65); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); z-index: 200; position: relative; box-shadow: 0 1px 0 rgba(0,240,255,0.04), 0 4px 24px rgba(0,0,0,0.2); }
        .header-title { font-size: 22px; font-weight: 700; color: rgba(255, 255, 255, 0.95); letter-spacing: -0.3px; }
        .header-controls { display: flex; gap: 12px; align-items: center; }
        .quick-links { display: flex; gap: 6px; align-items: center; }
        .quick-link-btn { width: 32px; height: 32px; border-radius: 8px; background: rgba(0,240,255,0.06); border: 1px solid rgba(0,240,255,0.1); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.22s ease; font-size: 16px; padding: 0; }
        .quick-link-btn:hover { background: rgba(0,240,255,0.13); border-color: rgba(0,240,255,0.28); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,240,255,0.12); }

        .btn-primary { background: linear-gradient(135deg, #00C8EE 0%, #0088CC 100%); color: #fff; border: none; padding: 8px 16px; border-radius: 9px; cursor: pointer; font-weight: 700; font-size: 13px; transition: all 0.22s ease; box-shadow: 0 2px 14px rgba(0,180,230,0.38), inset 0 1px 0 rgba(255,255,255,0.18); }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,180,230,0.55), 0 0 32px rgba(0,200,255,0.2); }
        .btn-secondary { background: rgba(0, 240, 255, 0.06); color: rgba(0, 240, 255, 0.82); border: 1px solid rgba(0, 240, 255, 0.16); padding: 8px 14px; border-radius: 9px; cursor: pointer; font-weight: 500; font-size: 13px; transition: all 0.22s ease; }
        .btn-secondary:hover { background: rgba(0, 240, 255, 0.12); border-color: rgba(0, 240, 255, 0.32); box-shadow: 0 0 16px rgba(0,240,255,0.1); }
        .btn-danger { background: rgba(255, 59, 48, 0.1); color: #FF453A; border: 1px solid rgba(255, 59, 48, 0.22); padding: 6px 12px; border-radius: 7px; cursor: pointer; font-weight: 500; font-size: 11px; transition: all 0.22s ease; }
        .btn-danger:hover { background: rgba(255, 59, 48, 0.2); box-shadow: 0 0 12px rgba(255,59,48,0.18); }
        /* Compact photo upload button — small look, 44px touch area via min-height */
        .btn-photo-upload { display:inline-flex; align-items:center; gap:5px; padding:5px 12px; min-height:36px; min-width:44px; font-size:12px; font-weight:600; color:#00DDFF; background:rgba(0,200,255,0.07); border:1px solid rgba(0,200,255,0.22); border-radius:8px; cursor:pointer; transition:background .18s ease, border-color .18s ease; touch-action:manipulation; }
        .btn-photo-upload:hover { background:rgba(0,200,255,0.14); border-color:rgba(0,200,255,0.4); }
        .btn-photo-upload:active { transform:scale(0.93) !important; transition:transform .09s ease !important; }
        .btn-photo-upload:disabled { opacity:0.45; cursor:default; }
        .btn-yandex { background: linear-gradient(135deg, #FC3F1D 0%, #E03310 100%); color: white; border: none; padding: 12px 24px; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 14px; transition: all 0.25s ease; box-shadow: 0 2px 12px rgba(252,63,29,0.42); display: flex; align-items: center; gap: 8px; justify-content: center; }
        .btn-yandex:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(252,63,29,0.55); }

        .search-box { background: rgba(0, 240, 255, 0.05); border: 1px solid rgba(0, 240, 255, 0.1); padding: 8px 12px; border-radius: 9px; color: rgba(255, 255, 255, 0.82); font-size: 13px; width: 200px; outline: none; transition: all 0.22s ease; font-family: inherit; }
        .search-box:focus { border-color: rgba(0, 240, 255, 0.38); background: rgba(0, 240, 255, 0.09); box-shadow: 0 0 0 3px rgba(0,240,255,0.07), 0 0 20px rgba(0,240,255,0.06); }
        .search-box::placeholder { color: rgba(255, 255, 255, 0.25); }

        .content-area { flex: 1; overflow-y: auto; padding: 25px 30px; }

        /* ===== CARDS GRID ===== */
        .cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
        @media (max-width: 1200px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }

        /* ===== MOBILE RESPONSIVE ===== */
        @media (max-width: 800px) {
            .cards-grid { grid-template-columns: 1fr; }
            .sidebar { width: 56px; min-width: 56px; padding: 12px 6px; }
            .sidebar-header, .sidebar-role { display: none; }
            .sidebar-avatar { width: 36px; height: 36px; font-size: 13px; margin-bottom: 8px; }
            .sidebar-item { padding: 10px 8px; gap: 0; justify-content: center; border-left: none; border-bottom: 2px solid transparent; }
            .sidebar-item span:not(.sidebar-icon) { display: none; }
            .sidebar-item.active { border-left: none; border-bottom-color: #00DDFF; }
            .sidebar-icon { font-size: 20px; width: auto; }
            .header { padding: 10px 14px; flex-wrap: wrap; gap: 8px; }