        :root {
            --shiner-purple: #5B2E91;
            --shiner-purple-light: #7B4FAF;
            --shiner-purple-dark: #4A1F7A;
            --shiner-accent: #9B6FD4;
            --shiner-gray: #F5F5F7;
            --shiner-text: #2D2D2D;
        }
        
        * { box-sizing: border-box; }

        /* 隐藏 number 输入框的上下箭头 */
        input[type=number]::-webkit-inner-spin-button,
        input[type=number]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            appearance: none;
            margin: 0;
        }
        input[type=number] {
            -moz-appearance: textfield;
        }
        
        body { 
            font-family: 'Noto Sans SC', 'Inter', sans-serif; 
            background-color: var(--shiner-gray);
            color: var(--shiner-text);
            margin: 0;
            padding: 0;
        }
        
        .shiner-purple { color: var(--shiner-purple); }
        .bg-shiner-purple { background-color: var(--shiner-purple); }
        .bg-shiner-purple-light { background-color: var(--shiner-purple-light); }
        .border-shiner-purple { border-color: var(--shiner-purple); }
        
        .shiner-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(91, 46, 145, 0.08);
            border: 1px solid rgba(91, 46, 145, 0.1);
            transition: all 0.3s ease;
        }
        
        .shiner-card:hover {
            box-shadow: 0 4px 16px rgba(91, 46, 145, 0.12);
        }
        
        .shiner-header {
            background: linear-gradient(135deg, var(--shiner-purple) 0%, var(--shiner-purple-light) 100%);
        }
        
        .shiner-button {
            background-color: var(--shiner-purple);
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }
        
        .shiner-button:hover:not(:disabled) {
            background-color: var(--shiner-purple-dark);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(91, 46, 145, 0.3);
        }
        
        .shiner-button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }
        
        .shiner-button-outline {
            background: transparent;
            border: 1px solid var(--shiner-purple);
            color: var(--shiner-purple);
        }
        
        .shiner-button-outline:hover {
            background: var(--shiner-purple);
            color: white;
        }
        
        .shiner-input:focus {
            border-color: var(--shiner-purple);
            box-shadow: 0 0 0 3px rgba(91, 46, 145, 0.1);
            outline: none;
        }
        
        .shiner-sidebar {
            background-color: #1a1a2e;
        }
        
        .shiner-nav-item {
            transition: all 0.2s;
        }
        
        .shiner-nav-item:hover {
            background-color: rgba(91, 46, 145, 0.2);
        }
        
        .shiner-nav-item.active {
            background-color: var(--shiner-purple);
            border-left: 3px solid var(--shiner-accent);
        }
        
        .login-step {
            display: none !important;
        }

        .login-step.active {
            display: flex !important;
        }
        
        .fade-in { 
            animation: fadeIn 0.4s ease-out; 
        }
        
        @keyframes fadeIn { 
            from { opacity: 0; transform: translateY(10px); } 
            to { opacity: 1; transform: translateY(0); } 
        }
        
        .stat-card {
            background: white;
            border-radius: 16px;
            padding: 24px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.06);
            transition: all 0.3s;
        }
        
        .stat-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(91, 46, 145, 0.12);
        }
        
        .stat-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }
        
        .order-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            border: 1px solid #E5E7EB;
            transition: all 0.3s;
        }
        
        .order-card:hover {
            border-color: var(--shiner-purple);
            box-shadow: 0 4px 16px rgba(91, 46, 145, 0.1);
        }
        
        .status-badge {
            display: inline-flex;
            align-items: center;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }
        
        .status-created { background-color: #F3F4F6; color: #6B7280; }
        .status-shipped { background-color: #DBEAFE; color: #1E40AF; }
        .status-transit { background-color: #FEF3C7; color: #92400E; }
        .status-delivered { background-color: #D1FAE5; color: #065F46; }
        
        .timeline-item {
            position: relative;
            padding-left: 32px;
            padding-bottom: 24px;
        }
        
        .timeline-item::before {
            content: '';
            position: absolute;
            left: 8px;
            top: 8px;
            bottom: 0;
            width: 2px;
            background: #E5E7EB;
        }
        
        .timeline-item:last-child::before {
            display: none;
        }
        
        .timeline-dot {
            position: absolute;
            left: 0;
            top: 0;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 3px solid white;
            box-shadow: 0 0 0 2px currentColor;
        }
        
        .search-input {
            background: white;
            border: 1px solid #E5E7EB;
            border-radius: 10px;
            padding: 12px 16px 12px 44px;
            width: 100%;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        .search-input:focus {
            border-color: var(--shiner-purple);
            box-shadow: 0 0 0 3px rgba(91, 46, 145, 0.1);
            outline: none;
        }
        
        .filter-select {
            background: white;
            border: 1px solid #E5E7EB;
            border-radius: 10px;
            padding: 12px 16px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .filter-select:focus {
            border-color: var(--shiner-purple);
            outline: none;
        }
        
        .data-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .data-table th {
            background: #F9FAFB;
            padding: 14px 16px;
            text-align: left;
            font-size: 12px;
            font-weight: 600;
            color: #6B7280;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .data-table td {
            padding: 16px;
            border-bottom: 1px solid #E5E7EB;
            font-size: 14px;
        }
        
        .data-table tr:hover td {
            background: #F9FAFB;
        }
        
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            padding: 20px;
            box-sizing: border-box;
        }

        .modal-hidden {
            display: none !important;
        }
        
        .modal-content {
            background: white;
            border-radius: 16px;
            max-width: 900px;
            width: 100%;
            max-height: 90vh;
            min-height: 200px;
            overflow: auto;
            position: relative;
            flex: 0 1 auto;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .tab-btn {
            padding: 12px 24px;
            font-size: 14px;
            font-weight: 500;
            color: #6B7280;
            border-bottom: 2px solid transparent;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .tab-btn:hover {
            color: var(--shiner-purple);
        }
        
        .tab-btn.active {
            color: var(--shiner-purple);
            border-bottom-color: var(--shiner-purple);
        }
        
        .role-card {
            border: 2px solid #E5E7EB;
            border-radius: 16px;
            padding: 32px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .role-card:hover {
            border-color: var(--shiner-purple);
            background: #FAF5FF;
        }
        
        .role-card.selected {
            border-color: var(--shiner-purple);
            background: #F3E8FF;
        }
        
        .progress-bar {
            height: 8px;
            background: #E5E7EB;
            border-radius: 4px;
            overflow: hidden;
        }
        
        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--shiner-purple), var(--shiner-purple-light));
            border-radius: 4px;
            transition: width 0.5s ease;
        }
        
        .chart-container {
            position: relative;
            height: 300px;
        }
        
        .attachment-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            background: #F9FAFB;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .attachment-item:hover {
            background: #F3E8FF;
        }
        
        .btn-icon {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            background: transparent;
        }
        
        .btn-icon:hover {
            background: #F3F4F6;
        }
        
        .btn-icon.edit:hover { background: #DBEAFE; color: #1E40AF; }
        .btn-icon.delete:hover { background: #FEE2E2; color: #DC2626; }
        .btn-icon.view:hover { background: #D1FAE5; color: #059669; }

        .test-account-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: #F3F4F6;
            border: 1px solid #E5E7EB;
            border-radius: 8px;
            font-size: 13px;
            color: #6B7280;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .test-account-btn:hover {
            background: #E5E7EB;
            color: #374151;
        }

        .honor-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            background: linear-gradient(135deg, #5B2E91 0%, #7B4FAF 100%);
            color: white;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

        .vision-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            background: white;
            border: 1px solid #E5E7EB;
            border-radius: 8px;
            font-size: 13px;
            color: #374151;
            transition: all 0.3s;
        }

        .vision-tag:hover {
            border-color: var(--shiner-purple);
            color: var(--shiner-purple);
        }

        .product-manual-card {
            background: white;
            border: 1px solid #E5E7EB;
            border-radius: 12px;
            padding: 20px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .product-manual-card:hover {
            border-color: var(--shiner-purple);
            box-shadow: 0 4px 16px rgba(91, 46, 145, 0.1);
        }

        .product-manual-card.selected {
            border-color: var(--shiner-purple);
            background: #FAF5FF;
        }

        @media print {
            .no-print { display: none !important; }
        }

        /* ==================== 登录背景轮播 ==================== */
        #loginBackgroundCarousel {
            position: fixed;
            inset: 0;
            overflow: hidden;
            z-index: 40;
        }

        /* 当主应用显示时，隐藏登录背景 */
        body:has(#app:not(.hidden)) #loginBackgroundCarousel {
            display: none !important;
        }

        .carousel-slide {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            transform: scale(1.05);
        }

        .carousel-slide.active {
            opacity: 1;
            transform: scale(1);
            transition: opacity 1s ease-in-out, transform 6s ease-out;
        }

        /* 轮播动画效果 - 图片缓慢缩放 */
        @keyframes kenBurns {
            0% { transform: scale(1); }
            100% { transform: scale(1.08); }
        }

        .carousel-slide.active {
            animation: kenBurns 6s ease-out forwards;
        }
