
        :root {
            --primary-color: #211c18;
            --secondary-color: #ad6454;
            --accent-color: #ad6454;
            --bg-color: #faf8f4;
            --surface-color: rgba(255, 255, 255, 0.92);
            --surface-strong: #ffffff;
            --text-color: #332a24;
            --text-light: #736a62;
            --border-color: rgba(33, 28, 24, 0.08);
            --shadow-light: 0 12px 30px rgba(33, 28, 24, 0.06);
            --shadow-medium: 0 18px 42px rgba(33, 28, 24, 0.10);
            --shadow-heavy: 0 24px 56px rgba(33, 28, 24, 0.16);
            --radius: 18px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
            line-height: 1.6;
            background:
                radial-gradient(circle at top left, rgba(173, 100, 84, 0.10), transparent 26%),
                radial-gradient(circle at bottom right, rgba(92, 127, 97, 0.10), transparent 22%),
                linear-gradient(180deg, #faf8f4 0%, #f5f2ed 100%);
            color: var(--text-color);
            font-size: 14px;
            overflow-x: hidden;
        }
        
        .main-container {
            display: flex;
            min-height: 100vh;
            gap: 24px;
            padding: 20px;
        }
        
        .container {
            flex: 1;
            padding: 0.5rem 0.5rem 2rem;
            transition: var(--transition);
            background: transparent;
            min-width: 0;
        }
        
        .sidebar {
            width: 310px;
            background:
                radial-gradient(circle at top right, rgba(173, 100, 84, 0.22), transparent 28%),
                linear-gradient(180deg, #ffffff 0%, #faf8f4 48%, #f5f2ed 100%);
            border: 1px solid rgba(173, 100, 84, 0.10);
            position: sticky;
            top: 20px;
            height: calc(100vh - 40px);
            display: flex;
            flex-direction: column;
            z-index: 100;
            border-radius: 0px;
            box-shadow: var(--shadow-heavy);
            overflow: hidden;
            transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s ease;
        }

        .sidebar-collapse-toggle {
            position: absolute;
            right: 8px;
            top: 48%;
            transform: translateY(-50%);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 64px;
            padding: 0;
            border: 1px solid rgba(33, 28, 24, 0.08);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.92);
            color: var(--text-light);
            font-size: 18px;
            font-weight: 800;
            line-height: 1;
            cursor: pointer;
            box-shadow: 0 12px 24px rgba(33, 28, 24, 0.08);
            z-index: 3;
            transition: var(--transition);
        }

        .sidebar-collapse-toggle:hover {
            color: var(--secondary-color);
            background: rgba(255, 255, 255, 0.98);
            border-color: rgba(173, 100, 84, 0.16);
        }

        .sidebar-collapse-toggle__label {
            line-height: 1;
        }
        .sidebar-header {
            padding: 1.9rem 1.6rem 1.5rem;
            border-bottom: 1px solid var(--border-color);
            background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,255,0.96));
        }

        .sidebar-kicker {
            display: inline-flex;
            align-items: center;
            padding: 0.35rem 0.7rem;
            border-radius: 999px;
            background: rgba(33, 28, 24, 0.06);
            color: var(--text-light);
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }
        
        .sidebar-header h2 {
            font-size: 1.5rem;
            font-weight: 800;
            color: #ad6454;
            margin: 0;
            text-align: left;
            letter-spacing: -0.02em;
        }

        .sidebar-header p {
            margin-top: 0.75rem;
            color: var(--text-light);
            font-size: 0.88rem;
            line-height: 1.7;
        }
        
        .sidebar-menu {
            list-style: none;
            padding: 1rem 1rem 1.2rem;
            margin: 0;
            flex: 1;
            overflow-y: auto;
            background: transparent;
        }
        .sidebar-menu::-webkit-scrollbar {
            width: 4px;
        }
        
        .sidebar-menu::-webkit-scrollbar-track {
            background: transparent;
        }
        
        .sidebar-menu::-webkit-scrollbar-thumb {
            background: var(--border-color);
            border-radius: 2px;
        }
        
        .sidebar-menu::-webkit-scrollbar-thumb:hover {
            background: var(--text-light);
        }
        
        .sidebar-menu li {
            margin: 0;
            padding: 0;
        }
        
        .sidebar-menu a {
            color: var(--text-color);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.9rem;
            padding: 0.95rem 1rem;
            border-radius: 999px;
            transition: var(--transition);
            font-size: 0.92rem;
            font-weight: 700;
            margin: 0.3rem 0;
            position: relative;
            border: 1px solid transparent;
            background: rgba(255, 255, 255, 0.56);
        }
        
        .sidebar-menu a:hover {
            background: rgba(255, 255, 255, 0.92);
            color: var(--secondary-color);
            transform: translateX(3px);
            border-color: rgba(173, 100, 84, 0.12);
            box-shadow: 0 12px 24px rgba(33, 28, 24, 0.06);
        }
        
        .sidebar-menu a.active {
            background: linear-gradient(135deg, #ad6454 0%, #8a4e41 100%);
            color: white;
            box-shadow: 0 16px 32px rgba(173, 100, 84, 0.28);
        }
        
        .sidebar-menu a.active::before {
            content: '';
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 26px;
            background: rgba(255,255,255,0.8);
            border-radius: 999px;
        }

        .sidebar-menu__index {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            border-radius: 999px;
            background: rgba(33, 28, 24, 0.06);
            color: var(--text-light);
            font-size: 0.74rem;
            font-weight: 800;
            letter-spacing: 0.03em;
            flex-shrink: 0;
        }

        .sidebar-menu a.active .sidebar-menu__index {
            background: rgba(255,255,255,0.18);
            color: white;
        }

        .sidebar-menu__text {
            min-width: 0;
            line-height: 1.45;
        }

        .sidebar.collapsed {
            width: 106px;
        }

        .sidebar.collapsed .sidebar-header {
            padding: 1.1rem 0.85rem 1rem;
            text-align: center;
        }

        .sidebar.collapsed .sidebar-kicker {
            display: inline-flex;
            justify-content: center;
            min-width: 44px;
            min-height: 32px;
            margin: 0 auto;
            font-size: 0;
            position: relative;
        }

        .sidebar.collapsed .sidebar-kicker::after {
            content: 'YC';
            font-size: 0.78rem;
            color: var(--text-light);
            font-weight: 800;
            letter-spacing: 0.04em;
        }

        .sidebar.collapsed .sidebar-header h2,
        .sidebar.collapsed .sidebar-header p,
        .sidebar.collapsed .sidebar-menu__text,
        .sidebar.collapsed .user-details,
        .sidebar.collapsed .user-card-actions,
        .sidebar.collapsed #userLastLogin {
            display: none;
        }

        .sidebar.collapsed .sidebar-menu {
            padding: 0.9rem 0.7rem 1rem;
        }

        .sidebar.collapsed .sidebar-menu a {
            justify-content: center;
            padding: 0.9rem 0.45rem;
            min-height: 60px;
        }

        .sidebar.collapsed .sidebar-menu a.active::before {
            left: 6px;
            height: 22px;
        }

        .sidebar.collapsed .sidebar-menu__index {
            width: 38px;
            height: 38px;
            font-size: 0.76rem;
        }

        .sidebar.collapsed .user-info {
            padding: 0.85rem 0.7rem 1rem;
        }

        .sidebar.collapsed .user-card {
            padding: 12px 10px;
        }

        .sidebar.collapsed .user-card-main {
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .sidebar.collapsed .logout-btn {
            min-width: 0;
            width: 100%;
        }

        .sidebar.collapsed .logout-btn__text {
            font-size: 0.75rem;
        }
        .header {
            margin-bottom: 2rem;
        }
        
        .header h1 {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary-color);
            margin: 0;
            line-height: 1.2;
            letter-spacing: -0.03em;
        }
        
        .header .subtitle {
            color: var(--text-light);
            font-size: 0.95rem;
            margin-top: 0.75rem;
            line-height: 1.7;
        }

        .shell-state {
            padding: 2rem 2.2rem;
            border-radius: 0px;
            background:
                radial-gradient(circle at top right, rgba(173, 100, 84, 0.18), transparent 26%),
                linear-gradient(135deg, #ffffff 0%, #faf8f4 60%, #f5f2ed 100%);
            border: 1px solid rgba(173, 100, 84, 0.10);
            box-shadow: var(--shadow-light);
        }

        .shell-state__eyebrow {
            display: inline-flex;
            align-items: center;
            padding: 0.35rem 0.7rem;
            border-radius: 999px;
            background: rgba(33, 28, 24, 0.06);
            color: var(--text-light);
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }
        
        .shop-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }
        
        .shop-card {
            background: rgba(255, 255, 255, 0.94);
            border-radius: 0px;
            padding: 1.5rem;
            box-shadow: var(--shadow-light);
            border: 1px solid rgba(33, 28, 24, 0.08);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }
        
        .shop-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-medium);
            border-color: rgba(173, 100, 84, 0.18);
        }
        .shop-card h3 {
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 1rem;
            line-height: 1.3;
        }
        
        .shop-info {
            margin-bottom: 1.5rem;
        }
        
        .shop-info p {
            margin-bottom: 0.5rem;
            color: var(--text-light);
            font-size: 0.875rem;
            display: flex;
            align-items: center;
        }
        
        .shop-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        
        .stat-item {
            background: rgba(250, 248, 244, 0.92);
            padding: 1rem;
            border-radius: 16px;
            border: 1px solid rgba(33, 28, 24, 0.06);
            transition: var(--transition);
        }
        
        .stat-item:hover {
            background: rgba(255, 255, 255, 0.98);
            transform: translateY(-1px);
        }
        
        .stat-label {
            font-size: 0.75rem;
            color: var(--text-light);
            margin-bottom: 0.25rem;
            text-transform: uppercase;
            font-weight: 500;
            letter-spacing: 0.5px;
        }
        
        .stat-value {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--primary-color);
            line-height: 1;
        }
        
        .shop-actions {
            display: flex;
            justify-content: flex-end;
        }
        
        .action-btn {
            background: linear-gradient(135deg, #ad6454 0%, #8a4e41 100%);
            color: white;
            border: none;
            padding: 0.6rem 1.1rem;
            border-radius: 999px;
            cursor: pointer;
            font-size: 0.875rem;
            font-weight: 700;
            transition: var(--transition);
            box-shadow: 0 12px 24px rgba(173, 100, 84, 0.18);
        }
        
        .action-btn:hover {
            background: linear-gradient(135deg, #8a4e41 0%, #124cae 100%);
            transform: translateY(-1px);
            box-shadow: var(--shadow-medium);
        }
        
        .control-panel {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.94);
            border-radius: 0px;
            box-shadow: var(--shadow-light);
            border: 1px solid rgba(33, 28, 24, 0.08);
        }
        
        .search-box {
            display: flex;
            max-width: 400px;
            flex: 1;
        }
        
        .search-box input {
            flex: 1;
            padding: 0.75rem 1rem;
            border: 1px solid rgba(33, 28, 24, 0.08);
            border-radius: 999px 0 0 999px;
            font-size: 0.875rem;
            transition: var(--transition);
            background: #fff;
        }
        
        .search-box input:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(173, 100, 84, 0.1);
        }
        
        .search-box button {
            padding: 0.75rem 1rem;
            background: linear-gradient(135deg, #ad6454 0%, #8a4e41 100%);
            color: white;
            border: none;
            border-radius: 0 999px 999px 0;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 700;
        }
        
        .search-box button:hover {
            background: linear-gradient(135deg, #8a4e41 0%, #124cae 100%);
        }
        
        .view-controls {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .view-controls select {
            padding: 0.75rem 1rem;
            border: 1px solid rgba(33, 28, 24, 0.08);
            border-radius: 999px;
            font-size: 0.875rem;
            cursor: pointer;
            background: white;
            transition: var(--transition);
        }
        
        .view-controls select:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(173, 100, 84, 0.1);
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
            gap: 0.5rem;
        }
        
        .page-btn {
            padding: 0.5rem 0.75rem;
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 999px;
            cursor: pointer;
            transition: var(--transition);
            font-size: 0.875rem;
            font-weight: 700;
            min-width: 40px;
            text-align: center;
        }
        
        .page-btn:hover:not([disabled]) {
            background: #faf8f4;
            border-color: var(--secondary-color);
        }
        
        .page-btn.active {
            background: linear-gradient(135deg, #ad6454 0%, #8a4e41 100%);
            color: white;
            border-color: #8a4e41;
        }
        
        .page-btn[disabled] {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        .view-switcher {
            display: flex;
            gap: 0.25rem;
        }
        
        .view-btn {
            padding: 0.5rem 1rem;
            border: 1px solid var(--border-color);
            background: white;
            cursor: pointer;
            border-radius: 999px;
            transition: var(--transition);
            font-size: 0.875rem;
            font-weight: 700;
        }
        
        .view-btn.active {
            background: linear-gradient(135deg, #ad6454 0%, #8a4e41 100%);
            color: white;
            border-color: #8a4e41;
        }
        
        .shop-table {
            width: 100%;
            border-collapse: collapse;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: var(--shadow-light);
            border-radius: 0px;
            overflow: hidden;
            border: 1px solid rgba(33, 28, 24, 0.08);
        }
        
        .shop-table th,
        .shop-table td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
            font-size: 0.875rem;
        }
        
        .shop-table th {
            background: #f5f2ed;
            color: var(--primary-color);
            font-weight: 700;
            text-transform: uppercase;
            font-size: 0.75rem;
            letter-spacing: 0.5px;
        }
        
        .shop-table tr:hover {
            background: #faf8f4;
        }
        
        .shop-table .action-btn {
            padding: 0.375rem 0.75rem;
            font-size: 0.75rem;
        }
        
        .shop-count {
            margin: 1rem 0;
            color: var(--text-light);
            font-size: 0.875rem;
        }
        
        .no-shops {
            padding: 3rem;
            text-align: center;
            background: rgba(255, 255, 255, 0.94);
            border-radius: 0px;
            color: var(--text-light);
            font-size: 1rem;
            border: 1px solid rgba(33, 28, 24, 0.08);
        }
        
        @media (max-width: 768px) {
            .shop-list {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            }
            
            .control-panel {
                flex-direction: column;
                gap: 15px;
            }
            
            .search-box {
                max-width: 100%;
            }
        }
        .user-info {
            margin-top: auto;
            padding: 1rem 1.2rem 1.2rem;
            background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.7));
            border-top: 1px solid var(--border-color);
        }
        
        .user-card {
            background: rgba(255,255,255,0.94);
            border-radius: 0px;
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            box-shadow: 0 16px 34px rgba(33, 28, 24, 0.08);
            border: 1px solid rgba(33, 28, 24, 0.08);
            transition: var(--transition);
        }
        
        .user-card:hover {
            box-shadow: 0 20px 40px rgba(33, 28, 24, 0.12);
            transform: translateY(-2px);
        }
        
        .user-card-main {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
        }
        
        .user-avatar {
            width: 48px;
            height: 48px;
            border-radius: 999px;
            background: linear-gradient(135deg, #ad6454 0%, #8a4e41 100%);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            font-weight: 700;
            flex-shrink: 0;
            box-shadow: 0 10px 24px rgba(173, 100, 84, 0.26);
        }
        
        .user-details {
            flex: 1;
            overflow: hidden;
        }
        
        .user-name {
            font-weight: 700;
            color: var(--primary-color);
            font-size: 0.9rem;
            margin-bottom: 1px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .user-role {
            font-size: 0.74rem;
            color: var(--text-light);
            font-weight: 600;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }
        
        .logout-btn {
            background: rgba(33, 28, 24, 0.06);
            border: 1px solid rgba(33, 28, 24, 0.06);
            color: var(--text-color);
            cursor: pointer;
            min-width: 58px;
            height: 36px;
            padding: 0 12px;
            border-radius: 999px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.84rem;
            font-weight: 700;
            flex-shrink: 0;
        }
        
        .logout-btn:hover {
            background: rgba(182, 91, 77, 0.10);
            border-color: rgba(182, 91, 77, 0.14);
            color: #b65b4d;
        }

        .logout-btn__text {
            letter-spacing: 0.02em;
        }
        
        .user-card-actions {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
            gap: 8px;
            padding-top: 12px;
            border-top: 1px solid rgba(33, 28, 24, 0.06);
        }
        
        .user-action-link {
            color: var(--text-light);
            text-decoration: none;
            font-size: 0.76rem;
            font-weight: 700;
            transition: var(--transition);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 40px;
            padding: 8px 10px;
            border-radius: 999px;
            background: rgba(245, 242, 237, 0.9);
            border: 1px solid rgba(33, 28, 24, 0.05);
            text-align: center;
        }
        
        .user-action-link:hover {
            color: var(--secondary-color);
            background: rgba(173, 100, 84, 0.08);
            border-color: rgba(173, 100, 84, 0.12);
        }

        .user-action-label {
            display: block;
            line-height: 1.45;
        }

        #userLastLogin {
            margin-top: 0.75rem;
            padding: 0.7rem 0.9rem;
            border-radius: 0px;
            background: rgba(255, 255, 255, 0.74);
            border: 1px solid rgba(33, 28, 24, 0.06);
            color: var(--text-light);
            font-size: 0.78rem;
        }
        
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(8px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            animation: fadeIn 0.2s ease;
        }
        
        .modal-overlay.show {
            display: flex;
        }
        
        .modal-content {
            background: rgba(255,255,255,0.98);
            border-radius: 0px;
            padding: 2rem;
            width: 420px;
            max-width: 90vw;
            box-shadow: var(--shadow-heavy);
            border: 1px solid var(--border-color);
            transform: scale(0.95);
            animation: scaleIn 0.2s ease forwards;
        }
        
        .modal-header {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .modal-header h3 {
            color: var(--primary-color);
            font-size: 1.35rem;
            font-weight: 800;
            margin: 0;
            letter-spacing: -0.02em;
        }
        
        .modal-body {
            margin-bottom: 2rem;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--text-color);
            font-weight: 500;
            font-size: 0.875rem;
        }
        
        .form-group input {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: 999px;
            font-size: 0.875rem;
            transition: var(--transition);
            box-sizing: border-box;
            background: white;
        }
        
        .form-group input:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(173, 100, 84, 0.1);
        }
        
        .modal-footer {
            display: flex;
            gap: 0.75rem;
            justify-content: flex-end;
        }
        
        .modal-btn {
            padding: 0.75rem 1.5rem;
            border-radius: 999px;
            font-size: 0.875rem;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 700;
        }
        
        .modal-btn-primary {
            background: var(--secondary-color);
            color: white;
            border: none;
        }
        
        .modal-btn-primary:hover {
            background: #8a4e41;
            transform: translateY(-1px);
        }
        
        .modal-btn-secondary {
            background: white;
            color: var(--text-color);
            border: 1px solid var(--border-color);
        }
        
        .modal-btn-secondary:hover {
            background: #faf8f4;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes scaleIn {
            from { 
                transform: scale(0.95);
                opacity: 0;
            }
            to { 
                transform: scale(1);
                opacity: 1;
            }
        }
        
        .error-message {
            background: #fef2f2;
            border: 1px solid #fecaca;
            color: #b65b4d;
            padding: 0.75rem 1rem;
            border-radius: 0px;
            margin-bottom: 1rem;
            font-size: 0.875rem;
            display: none;
        }
        
        .success-message {
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            color: #5c7f61;
            padding: 0.75rem 1rem;
            border-radius: 0px;
            margin-bottom: 1rem;
            font-size: 0.875rem;
            display: none;
        }
        
        /* 响应式设计 */
        @media (max-width: 1024px) {
            .sidebar {
                width: 240px;
            }
        }
        
        @media (max-width: 768px) {
            .main-container {
                flex-direction: column;
                gap: 16px;
                padding: 12px;
            }
            
            .sidebar {
                width: 100%;
                height: auto;
                position: relative;
                top: auto;
                border-radius: 0px;
            }

            .sidebar-collapse-toggle {
                display: none;
            }
            
            .container {
                padding: 1rem;
            }
            
            .shop-list {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .control-panel {
                flex-direction: column;
                gap: 1rem;
            }
            
            .search-box {
                max-width: 100%;
            }
            
            .modal-content {
                width: 95vw;
                padding: 1.5rem;
            }
        }
        
        @media (max-width: 480px) {
            .container {
                padding: 0.75rem;
            }

            .sidebar-header,
            .user-info {
                padding-left: 1rem;
                padding-right: 1rem;
            }
            
            .shop-card {
                padding: 1rem;
            }
            
            .shop-stats {
                grid-template-columns: 1fr;
            }
        }

        /* Editorial administration shell */
        :root {
            --primary-color: #26211f;
            --secondary-color: #7c453c;
            --accent-color: #7c453c;
            --bg-color: #faf9f6;
            --surface-color: #ffffff;
            --surface-strong: #ffffff;
            --text-color: #332d2a;
            --text-light: #756e69;
            --border-color: #ebebe8;
            --shadow-light: 0 1px 2px rgba(38, 33, 31, 0.025);
            --shadow-medium: 0 4px 14px rgba(38, 33, 31, 0.055);
            --shadow-heavy: 0 10px 30px rgba(38, 33, 31, 0.09);
            --radius: 6px;
            --transition: all 0.2s ease;
        }

        body {
            background: #faf9f6;
            color: var(--text-color);
        }

        .main-container {
            gap: clamp(28px, 3vw, 48px);
            padding: clamp(20px, 3vw, 44px);
            max-width: 1800px;
            margin: 0 auto;
        }

        .container {
            padding: 0 0 56px;
        }

        .sidebar {
            width: 292px;
            top: clamp(20px, 3vw, 44px);
            height: calc(100vh - clamp(40px, 6vw, 88px));
            background: #ffffff;
            border: 1px solid #ebebe8;
            border-radius: 6px;
            box-shadow: none;
            overflow: hidden;
        }

        .sidebar-header {
            padding: 34px 28px 28px;
            background: #ffffff;
            border-bottom: 1px solid #ebebe8;
        }

        .sidebar-kicker,
        .shell-state__eyebrow {
            display: block;
            padding: 0;
            border-radius: 0;
            background: transparent;
            color: #9a7770;
            font-size: 0.68rem;
            font-weight: 700;
            letter-spacing: 0.16em;
            margin-bottom: 14px;
        }

        .sidebar-header h2,
        .header h1,
        .modal-header h3,
        .shop-card h3 {
            font-family: 'Songti SC', 'Noto Serif SC', 'STSong', 'SimSun', serif;
        }

        .sidebar-header h2 {
            color: #332d2a;
            font-size: 1.52rem;
            font-weight: 600;
            line-height: 1.35;
            letter-spacing: 0.01em;
        }

        .sidebar-header p {
            margin-top: 10px;
            font-size: 0.82rem;
            line-height: 1.7;
        }

        .sidebar-menu {
            padding: 20px 16px 24px;
        }

        .sidebar-menu a {
            gap: 14px;
            min-height: 48px;
            margin: 2px 0;
            padding: 11px 16px 11px 18px;
            border: 0;
            border-left: 2px solid transparent;
            border-radius: 0 4px 4px 0;
            background: transparent;
            font-size: 0.88rem;
            font-weight: 500;
        }

        .sidebar-menu a:hover {
            background: #faf5f3;
            color: #7c453c;
            border-color: #d9a69d;
            box-shadow: none;
            transform: none;
        }

        .sidebar-menu a.active {
            background: #fce8e6;
            color: #6f3931;
            border-left-color: #7c453c;
            box-shadow: none;
        }

        .sidebar-menu a.active::before {
            display: none;
        }

        .sidebar-menu__index {
            width: 28px;
            height: 28px;
            border-radius: 4px;
            background: #f4f2ef;
            color: #8a827c;
            font-family: Georgia, serif;
            font-size: 0.7rem;
            font-weight: 600;
        }

        .sidebar-menu a.active .sidebar-menu__index {
            background: rgba(124, 69, 60, 0.09);
            color: #7c453c;
        }

        .sidebar-collapse-toggle {
            right: 10px;
            width: 26px;
            height: 44px;
            border: 1px solid #deded9;
            border-radius: 4px;
            background: #ffffff;
            color: #756e69;
            box-shadow: none;
            font-weight: 500;
        }

        .sidebar-collapse-toggle:hover {
            color: #7c453c;
            background: #fce8e6;
            border-color: #d9a69d;
        }

        .sidebar.collapsed {
            width: 92px;
        }

        .sidebar.collapsed .sidebar-header {
            padding: 24px 14px 20px;
        }

        .sidebar.collapsed .sidebar-kicker {
            min-width: 0;
            min-height: 0;
            margin: 0 auto;
        }

        .sidebar.collapsed .sidebar-menu {
            padding: 18px 10px 22px;
        }

        .sidebar.collapsed .sidebar-menu a {
            min-height: 52px;
            padding: 10px 8px;
        }

        .sidebar.collapsed .sidebar-menu__index {
            width: 32px;
            height: 32px;
        }

        .header {
            margin-bottom: 36px;
        }

        .header h1 {
            font-size: clamp(2rem, 3.2vw, 3.15rem);
            font-weight: 600;
            line-height: 1.15;
            letter-spacing: 0.01em;
        }

        .header .subtitle {
            max-width: 680px;
            margin-top: 14px;
            font-size: 0.95rem;
            line-height: 1.8;
        }

        .shell-state {
            min-height: 250px;
            padding: clamp(36px, 6vw, 76px);
            border: 1px solid #ebebe8;
            border-radius: 6px;
            background: #ffffff;
            box-shadow: none;
        }

        .shell-state .header {
            margin-bottom: 0;
        }

        .shell-state .header h1 {
            font-size: clamp(2rem, 3vw, 2.8rem);
        }

        .user-info {
            padding: 20px 18px 22px;
            background: #ffffff;
            border-top: 1px solid #ebebe8;
        }

        .user-card {
            padding: 0;
            gap: 16px;
            background: transparent;
            border: 0;
            border-radius: 0;
            box-shadow: none;
        }

        .user-card:hover {
            box-shadow: none;
            transform: none;
        }

        .user-card-main {
            gap: 12px;
        }

        .user-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: #7c453c;
            box-shadow: none;
            font-family: Georgia, serif;
            font-weight: 500;
        }

        .user-name {
            font-family: 'Songti SC', 'Noto Serif SC', 'STSong', serif;
            font-size: 0.92rem;
            font-weight: 600;
        }

        .user-role {
            margin-top: 2px;
            font-size: 0.68rem;
            font-weight: 500;
            letter-spacing: 0.08em;
        }

        .logout-btn,
        .user-action-link,
        .modal-btn,
        .action-btn,
        .search-box button,
        .page-btn,
        .view-btn {
            border-radius: 20px;
        }

        .logout-btn {
            min-width: 52px;
            height: 34px;
            background: #ffffff;
            border: 1px solid #deded9;
            font-size: 0.78rem;
            font-weight: 600;
        }

        .logout-btn:hover {
            background: #fce8e6;
            border-color: #d9a69d;
            color: #7c453c;
        }

        .user-card-actions {
            gap: 6px;
            padding-top: 14px;
            border-top: 1px solid #ebebe8;
        }

        .user-action-link {
            min-height: 34px;
            padding: 7px 9px;
            background: #ffffff;
            border: 1px solid #ebebe8;
            font-size: 0.72rem;
            font-weight: 500;
        }

        .user-action-link:hover {
            color: #7c453c;
            background: #fce8e6;
            border-color: #e7c5bf;
        }

        #userLastLogin {
            margin-top: 14px;
            padding: 10px 0 0;
            border: 0;
            border-top: 1px solid #ebebe8;
            border-radius: 0;
            background: transparent;
            font-size: 0.72rem;
        }

        .modal-overlay {
            padding: 20px;
            background: rgba(38, 33, 31, 0.48);
            backdrop-filter: blur(3px);
        }

        .modal-content {
            width: 460px;
            max-width: 100%;
            padding: 38px 40px 34px;
            background: #ffffff;
            border: 1px solid #ebebe8;
            border-radius: 6px;
            box-shadow: 0 18px 48px rgba(38, 33, 31, 0.14);
        }

        .modal-header {
            text-align: left;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #ebebe8;
        }

        .modal-header h3 {
            font-size: 1.65rem;
            font-weight: 600;
            letter-spacing: 0.01em;
        }

        .modal-body {
            margin-bottom: 30px;
        }

        .form-group {
            margin-bottom: 22px;
        }

        .form-group label {
            margin-bottom: 8px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .form-group input {
            min-height: 46px;
            padding: 11px 13px;
            border-color: #deded9;
            border-radius: 4px;
            background: #fff;
        }

        .form-group input:focus {
            border-color: #7c453c;
            box-shadow: 0 0 0 2px rgba(124, 69, 60, 0.1);
        }

        .modal-footer {
            gap: 10px;
        }

        .modal-btn {
            min-width: 96px;
            min-height: 40px;
            padding: 9px 20px;
            font-weight: 600;
        }

        .modal-btn-primary {
            background: #7c453c;
            border: 1px solid #7c453c;
        }

        .modal-btn-primary:hover {
            background: #64362f;
            border-color: #64362f;
            transform: none;
        }

        .modal-btn-primary:disabled {
            background: #a98a84;
            border-color: #a98a84;
            cursor: wait;
        }

        .modal-btn-secondary:hover {
            background: #faf9f6;
            border-color: #cfcfca;
        }

        .error-message,
        .success-message {
            position: relative;
            padding: 12px 14px 12px 17px;
            border-radius: 4px;
            background: #fff;
            font-size: 0.82rem;
            line-height: 1.55;
        }

        .error-message {
            color: #7c453c;
            border: 1px solid #e8cbc6;
            border-left: 2px solid #7c453c;
        }

        .success-message {
            color: #4f7054;
            border: 1px solid #d4e1d5;
            border-left: 2px solid #5c7f61;
        }

        .container > .header {
            padding: clamp(36px, 6vw, 72px);
            border: 1px solid #ebebe8;
            border-left: 2px solid #7c453c;
            border-radius: 6px;
            background: #ffffff;
        }

        @media (max-width: 1024px) {
            .main-container {
                gap: 24px;
                padding: 24px;
            }

            .sidebar {
                width: 250px;
                top: 24px;
                height: calc(100vh - 48px);
            }
        }

        @media (max-width: 768px) {
            .main-container {
                gap: 24px;
                padding: 16px;
            }

            .sidebar {
                width: 100%;
                height: auto;
                top: auto;
            }

            .sidebar-header {
                padding: 26px 22px 22px;
            }

            .sidebar-menu {
                max-height: 38vh;
                padding: 14px 12px 18px;
            }

            .user-info {
                padding: 18px 16px 20px;
            }

            .container {
                padding: 0 0 36px;
            }

            .shell-state,
            .container > .header {
                min-height: 0;
                padding: 34px 26px;
            }

            .modal-content {
                width: min(100%, 460px);
                padding: 30px 26px 26px;
            }
        }

        @media (max-width: 480px) {
            .main-container {
                padding: 10px;
            }

            .user-card-main {
                flex-wrap: wrap;
            }

            .user-card-actions {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .modal-overlay {
                align-items: flex-end;
                padding: 10px;
            }

            .modal-content {
                padding: 28px 20px 22px;
            }

            .modal-footer {
                flex-direction: column-reverse;
            }

            .modal-btn {
                width: 100%;
            }
        }
    