@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
        * { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
        :root {
            --primary: #0066CC;
            --primary-light: rgba(0,102,204,0.08);
            --primary-hover: #0055B3;
            --success: #34C759;
            --success-light: rgba(52,199,89,0.08);
            --warning: #FF9500;
            --warning-light: rgba(255,149,0,0.08);
            --danger: #FF3B30;
            --danger-light: rgba(255,59,48,0.08);
            --purple: #AF52DE;
            --purple-light: rgba(175,82,222,0.08);
            --bg: #F7F8FA;
            --text-primary: #1D1D1F;
            --text-secondary: #6B7280;
            --text-muted: #9CA3AF;
            --sidebar-bg: #FFFFFF;
            --sidebar-width: 192px;
            --card-radius: 8px;
            --card-radius-sm: 8px;
            --card-shadow: 0 8px 26px rgba(15,23,42,0.045);
            --card-shadow-hover: 0 12px 30px rgba(15,23,42,0.075);
}

/* PC后台数据防泄露保护：必须保持为覆盖层，不能作为普通文本参与表格布局。 */
#securityWatermark {
    position: fixed;
    inset: 0;
    z-index: 2147482000;
    pointer-events: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    grid-auto-rows: 220px;
    align-content: stretch;
    overflow: hidden;
    opacity: 1;
}
.security-watermark-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(54, 65, 83, 0.035);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    transform: rotate(-20deg);
    user-select: none;
}
#privacyShield {
    position: fixed;
    inset: 0;
    z-index: 2147482500;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(246, 248, 251, 0.985);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    pointer-events: all;
}
#privacyShield.visible { display: flex; }
#privacyShield > div { display:flex;flex-direction:column;align-items:center;gap:8px;color:#6B7280; }
#privacyShield i { font-size:28px;color:#0066CC; }
#privacyShield strong { color:#1D1D1F;font-size:16px; }
#privacyShield span { font-size:12px; }
        body {
            background: var(--bg);
            color: #111827;
            -webkit-font-smoothing: antialiased;
            text-rendering: optimizeLegibility;
        }
        /* ===== 按钮系统 ===== */
        .btn-primary { background: var(--primary); color: white; border-radius: 8px; transition: all 0.2s; }
        .btn-primary:hover { background: var(--primary-hover); }
        .btn-secondary { background: white; color: var(--primary); border: 1px solid var(--primary); border-radius: 8px; transition: all 0.2s; }
        .btn-secondary:hover { background: var(--primary-light); border-color: var(--primary-hover); }
        .btn-danger { background: var(--danger); color: white; border-radius: 8px; transition: all 0.2s; }
        .btn-danger:hover { background: #D9363E; }
        .btn-success { background: var(--success); color: white; border-radius: 8px; transition: all 0.2s; }
        .btn-success:hover { background: #0AA84A; }
        .btn-excel { background: #F0FDF4; color: #16A34A; border: 1px solid #BBF7D0; border-radius: 4px; transition: all 0.2s; }
        .btn-excel:hover { background: #DCFCE7; }
        .btn-batch { background: #EEF2FF; color: #4F46E5; border: 1px solid #C7D2FE; border-radius: 4px; transition: all 0.2s; }
        .btn-batch:hover { background: #E0E7FF; }
        /* ===== 卡片系统 ===== */
        .card {
            background: white; border-radius: var(--card-radius); box-shadow: var(--card-shadow);
            transition: all 0.25s ease;
        }
        .card:hover {
            box-shadow: var(--card-shadow-hover);
        }
        /* ===== 侧边栏 ===== */
        .sidebar { position: fixed; left: 0; top: 0; width: var(--sidebar-width); height: 100vh; z-index: 40; display: flex; flex-direction: column; background: var(--sidebar-bg); transition: width 0.3s ease, min-width 0.3s ease, padding 0.3s ease; border-right: 1px solid rgba(0,0,0,0.06); }
        .sidebar.collapsed { width: 0; min-width: 0; padding: 0; overflow: hidden; border: none; }
        .sidebar-toggle-btn {
            width: 28px; height: 28px; border-radius: 8px;
            background: rgba(0,0,0,0.04);
            color: rgba(0,0,0,0.35);
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; transition: all 0.2s;
            border: none; flex-shrink: 0;
        }
        .sidebar-toggle-btn:hover { background: rgba(0,0,0,0.08); color: #1D1D1F; }
        .sidebar-toggle-floating {
            position: fixed; top: 16px; left: 12px; z-index: 50;
            width: 36px; height: 36px; border-radius: 10px;
            background: #FFFFFF;
            color: #6B7280;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; transition: all 0.2s;
            border: 1px solid rgba(0,0,0,0.06);
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
        .sidebar-toggle-floating:hover { color: #1D1D1F; }
        /* ===== 隐藏侧边栏按钮 ===== */
        .sidebar-hide-btn {
            display: flex; align-items: center; justify-content: center; gap: 10px;
            width: 100%; padding: 14px 16px;
            font-size: 14px; font-weight: 500;
            color: #8E8E93; background: transparent;
            border-radius: 10px; border: none; cursor: pointer;
            transition: all 0.25s ease;
        }
        .sidebar-hide-btn:hover {
            background: #F5F5F7; color: var(--text-primary);
        }
        .sidebar-hide-btn i {
            font-size: 16px; transition: transform 0.25s ease;
        }
        .sidebar-hide-btn:hover i {
            transform: translateX(-3px);
        }
        main { margin-left: var(--sidebar-width); transition: margin-left 0.3s ease; }
        .sidebar.collapsed ~ main { margin-left: 0; }
        .sidebar-brand { background: transparent; border-bottom: 1px solid rgba(0,0,0,0.04); }
        .sidebar-item {
            transition: all 0.2s ease; cursor: pointer;
            margin: 2px 10px; border-radius: 8px; padding: 10px 14px; color: #6B7280; font-size: 13px;
        }
        .sidebar-item:hover {
            background: #F5F5F7; color: #1D1D1F;
        }
        .sidebar-item.active {
            background: var(--primary-light); color: var(--primary); font-weight: 600;
        }
        .sidebar-item i { width: 20px; text-align: center; }
        .nav-icon {
            width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
        }
        .brand-logo-img {
            width: 100%; height: 100%; object-fit: contain; display: block;
        }
        .login-logo {
            width: 88px; height: 88px; margin: 0 auto 18px;
            display: flex; align-items: center; justify-content: center;
        }
        .login-shell {
            min-height: 100vh;
            background:
                linear-gradient(90deg, rgba(255,255,255,0.70) 0%, rgba(255,255,255,0.52) 42%, rgba(246,247,249,0.76) 72%, rgba(238,240,243,0.90) 100%),
                url('../brand/login-team-bg.jpg?v=202606301944');
            background-size: cover;
            background-position: center center;
            position: relative;
            overflow: hidden;
        }
        .login-shell::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.48)),
                radial-gradient(circle at 82% 32%, rgba(31,122,224,0.08), transparent 28%);
            opacity: 0.82;
            pointer-events: none;
        }
        .login-shell::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.68) 100%);
            pointer-events: none;
        }
        .login-layout {
            position: relative;
            z-index: 1;
            min-height: 100vh;
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
            align-items: center;
            gap: 56px;
            max-width: 1400px;
            margin: 0 auto;
            padding: 96px 8vw 48px;
        }
        .login-topbar {
            position: absolute;
            top: 28px;
            left: 8vw;
            right: 8vw;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }
        .login-topbar-title {
            color: #3A3F47;
            font-size: 15px;
            font-weight: 500;
            letter-spacing: 0;
            white-space: nowrap;
        }
        .login-topbar .login-brand-mark {
            gap: 12px;
        }
        .login-brand-area {
            min-height: 560px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .login-brand-mark {
            display: flex;
            align-items: center;
            gap: 14px;
            color: #1D1D1F;
            font-weight: 700;
            letter-spacing: 0;
        }
        .login-brand-mark .mark-img {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .login-mission {
            max-width: 500px;
            margin-top: 132px;
        }
        .login-mission-title {
            font-size: clamp(23px, 2.15vw, 34px);
            line-height: 1.52;
            color: #1D1D1F;
            font-weight: 700;
            letter-spacing: 0;
        }
        .login-mission-subtitle {
            margin-top: 24px;
            max-width: 470px;
            color: #6B7280;
            font-size: 14px;
            line-height: 1.82;
        }
        .login-footnote {
            color: #7B818A;
            font-size: 12px;
            letter-spacing: 0;
        }
        .login-panel {
            width: 100%;
            max-width: 460px;
            margin-left: auto;
            background: rgba(255,255,255,0.92);
            border: 1px solid rgba(15,23,42,0.08);
            box-shadow: 0 24px 70px rgba(15,23,42,0.12);
            backdrop-filter: blur(22px);
            border-radius: 8px;
            overflow: hidden;
        }
        .login-panel-body {
            padding: 44px 44px 34px;
        }
        .login-panel-title {
            color: #1D1D1F;
            font-size: 26px;
            line-height: 1.3;
            font-weight: 700;
            letter-spacing: 0;
        }
        .login-panel-subtitle {
            margin-top: 10px;
            color: #8A8F98;
            font-size: 14px;
            line-height: 1.7;
        }
        .login-field {
            height: 54px;
            border: 1px solid rgba(15,23,42,0.12);
            border-radius: 8px;
            background: #FFFFFF;
            color: #1D1D1F;
            transition: all 0.18s ease;
        }
        .login-field:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(0,102,204,0.10);
        }
        .login-submit {
            height: 54px;
            border-radius: 8px;
            background: #1F7AE0;
            color: white;
            font-weight: 700;
            transition: all 0.18s ease;
            box-shadow: 0 10px 22px rgba(31,122,224,0.22);
        }
        .login-submit:hover {
            background: #1668C8;
            transform: translateY(-1px);
            box-shadow: 0 14px 28px rgba(31,122,224,0.26);
        }
        .login-panel-footer {
            border-top: 1px solid rgba(15,23,42,0.06);
            background: rgba(248,250,252,0.72);
            padding: 16px 22px;
            color: #8A8F98;
            font-size: 12px;
            display: flex;
            justify-content: space-between;
            gap: 14px;
        }
        @media (max-width: 980px) {
            .login-layout {
                grid-template-columns: 1fr;
                gap: 28px;
                padding: 98px 22px 34px;
            }
            .login-topbar {
                top: 24px;
                left: 22px;
                right: 22px;
                align-items: flex-start;
                gap: 12px;
            }
            .login-topbar-title {
                font-size: 13px;
                white-space: normal;
            }
            .login-brand-area {
                min-height: auto;
                gap: 44px;
            }
            .login-mission {
                margin-top: 72px;
            }
            .login-mission-title {
                font-size: 25px;
            }
            .login-panel {
                max-width: none;
                margin-left: 0;
            }
            .login-footnote {
                display: none;
            }
        }
        .sidebar-logo {
            width: 40px; height: 40px; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
        }
        .sidebar-user {
            border-top: 1px solid rgba(0,0,0,0.04); background: #FAFAFA;
        }
        .sidebar-user-btn {
            transition: all 0.2s; color: #9CA3AF;
        }
        .sidebar-user-btn:hover { color: #1D1D1F; background: rgba(0,0,0,0.04); border-radius: 8px; }
        .sync-btn {
            background: #F5F5F7; color: #6B7280; border-radius: 8px;
            transition: all 0.2s;
        }
        .sync-btn:hover { background: #EEEEF0; color: #1D1D1F; }
        /* ===== 动画 ===== */
        .fade-in { animation: fadeIn 0.35s ease forwards; }
        .fade-up { animation: fadeUp 0.4s ease forwards; }
        .slide-in { animation: slideIn 0.3s ease forwards; }
        .scale-in { animation: scaleIn 0.25s ease forwards; }
        .card-float { animation: cardFloat 0.5s ease forwards; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
        @keyframes slideIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes spin { to { transform: rotate(360deg); } }
        @keyframes cardFloat { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes menuSlideIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
        /* ===== Toast ===== */
        .toast {
            animation: toastIn 0.35s ease, toastOut 0.35s ease 2.65s forwards;
            border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,0.08);
            border: 1px solid rgba(0,0,0,0.04);
        }
        @keyframes toastIn { from { opacity: 0; transform: translateY(-24px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
        @keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(-12px); } }
        /* ===== Modal ===== */
        .modal-overlay {
            animation: overlayIn 0.25s ease;
        }
        .modal-content {
            animation: modalIn 0.3s ease forwards;
            border-radius: 14px; overflow: hidden;
            border: 1px solid rgba(0,0,0,0.06);
            box-shadow: 0 4px 24px rgba(0,0,0,0.08);
        }
        @keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
        @keyframes modalIn { from { opacity: 0; transform: scale(0.92) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
        /* ===== 表单 ===== */
        input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,102,204,0.08); }
        input, select, textarea { transition: all 0.2s; border-radius: 8px; }
        /* ===== 表格系统 ===== */
        .table-wrapper { border-radius: var(--card-radius); overflow: hidden; }
        .table-header { background: #FAFAFA; }
        .table-header th { padding: 12px 8px; text-align: left; font-size: 13px; font-weight: 600; color: #6B7280; }
        .table-row { transition: all 0.15s ease; }
        .table-row:hover { background: rgba(0,102,204,0.03); }
        .table-row td { border-bottom: 1px solid rgba(0,0,0,0.04); }
        /* ===== 状态标签 ===== */
        .status-matched { color: var(--success); }
        .status-partial { color: var(--warning); }
        .status-unmatched { color: var(--danger); }
        .tag { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 6px; font-size: 12px; font-weight: 500; }
        /* ===== 统计卡片（仪表盘用） ===== */
        .stat-card {
            border-radius: var(--card-radius);
            transition: all 0.3s ease; cursor: pointer; overflow: hidden;
        }
        .stat-card:hover { transform: translateY(-2px); box-shadow: var(--card-shadow-hover); }
        .stat-card .stat-icon {
            width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
            font-size: 20px;
        }
        /* ===== 仪表盘滚动容器 ===== */
        .dash-scroll {
            scrollbar-width: thin;
            scrollbar-color: #B8C0CC #EEF1F5;
            cursor: grab;
            padding-bottom: 8px;
            overscroll-behavior-x: contain;
        }
        .dash-scroll:active { cursor: grabbing; }
        .dashboard-horizontal-scroll {
            scrollbar-width: thin;
            scrollbar-color: #B8C0CC #EEF1F5;
            scrollbar-gutter: stable;
            overscroll-behavior-x: contain;
            touch-action: pan-y;
            cursor: grab;
        }
        .dashboard-horizontal-scroll.is-drag-scrolling,
        .dashboard-horizontal-scroll.is-drag-scrolling * {
            cursor: grabbing !important;
            user-select: none !important;
            -webkit-user-select: none !important;
        }
        .dashboard-horizontal-scroll::-webkit-scrollbar {
            height: 10px;
        }
        .dashboard-horizontal-scroll::-webkit-scrollbar-track {
            background: #EEF1F5;
            border-radius: 999px;
        }
        .dashboard-horizontal-scroll::-webkit-scrollbar-thumb {
            background: #B8C0CC;
            border: 2px solid #EEF1F5;
            border-radius: 999px;
        }
        .dashboard-horizontal-scroll::-webkit-scrollbar-thumb:hover {
            background: #8F99A8;
        }
        .dashboard-table-scroll {
            padding-bottom: 6px;
        }
        /* 拖拽中的卡片 */
        .stat-card.dash-dragging,
        .chart-card.dash-dragging {
            opacity: 0.4;
            transform: scale(0.95);
            transition: opacity 0.15s, transform 0.15s;
        }
        .chart-card.dash-drag-over {
            border: 2px dashed #AF52DE !important;
            background: rgba(175,82,222,0.06);
        }
        .stat-card.dash-drag-over {
            border-left: 3px solid #0066CC;
            transform: translateX(4px);
            transition: transform 0.15s;
        }
        /* ===== 进度条 ===== */
        .progress-bar { transition: width 0.5s ease; border-radius: 4px; }
        .progress-track { background: rgba(0,0,0,0.06); border-radius: 4px; overflow: hidden; }
        /* ===== 上传区域 ===== */
        .image-upload-area { border: 2px dashed #E0E4EB; border-radius: 10px; padding: 20px; transition: all 0.2s; cursor: pointer; background: rgba(0,102,204,0.02); }
        .image-upload-area:hover { border-color: var(--primary); background: rgba(0,102,204,0.05); }
        .image-upload-area.dragover { border-color: var(--primary); background: rgba(0,102,204,0.08); border-style: solid; }
        /* ===== 滚动条 ===== */
        ::-webkit-scrollbar { width: 6px; height: 6px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.08); border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.15); }
        /* ===== 三单匹配徽标 ===== */
        .match-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; }
        .match-badge.matched { background: rgba(52,199,89,0.1); color: var(--success); }
        .match-badge.partial { background: rgba(255,149,0,0.1); color: var(--warning); }
        .match-badge.unmatched { background: rgba(255,59,48,0.1); color: var(--danger); }
        /* ===== 弹窗标题渐变 ===== */
        .modal-header-grad { background: #FFFFFF; border-bottom: 1px solid rgba(0,0,0,0.06); }
        .modal-footer { border-top: 1px solid rgba(0,0,0,0.06); }
        /* ===== Apple 极简风格表单控件 ===== */
        .apple-input {
            width: 100%; padding: 7px 12px; font-size: 13px; line-height: 1.4;
            border: 1px solid #E5E5EA; border-radius: 8px; background: #FFFFFF;
            color: #1D1D1F; transition: all 0.2s ease;
            -webkit-appearance: none; appearance: none;
        }
        .apple-input:focus {
            border-color: #007AFF; box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
        }
        .apple-input::placeholder { color: #C7C7CC; }
        .apple-input.compact { padding: 5px 8px; font-size: 12px; }
        .apple-select.compact { padding: 5px 22px 5px 8px; font-size: 12px; }
        .apple-select {
            width: 100%; padding: 7px 28px 7px 12px; font-size: 13px; line-height: 1.4;
            border: 1px solid #E5E5EA; border-radius: 8px; background: #FFFFFF;
            color: #1D1D1F; transition: all 0.2s ease;
            -webkit-appearance: none; appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat; background-position: right 12px center; background-size: 10px 6px;
        }
        .apple-select:focus {
            border-color: #007AFF; box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
        }
        .apple-label {
            display: block; font-size: 12px; font-weight: 500; color: #6B7280;
            margin-bottom: 4px; letter-spacing: 0.02em;
        }
        .apple-section-title {
            font-size: 13px; font-weight: 600; color: #1D1D1F;
            display: flex; align-items: center; gap: 6px;
        }
        .apple-section-title i { color: #007AFF; font-size: 12px; }
        .apple-worker-row {
            display: flex; align-items: center; gap: 4px;
            padding: 5px 8px; background: #F9F9FB; border-radius: 8px;
            transition: all 0.15s ease;
        }
        .apple-worker-row:hover { background: #F2F2F5; }
        .apple-worker-input {
            padding: 4px 8px; font-size: 12px; line-height: 1.4;
            border: 1px solid #E8E8ED; border-radius: 6px; background: #FFFFFF;
            color: #1D1D1F; transition: all 0.15s ease;
            -webkit-appearance: none; appearance: none;
        }
        .apple-worker-input:focus {
            border-color: #007AFF; box-shadow: 0 0 0 2px rgba(0,122,255,0.1);
            outline: none;
        }
        .apple-worker-input::placeholder { color: #C7C7CC; font-size: 12px; }
        .apple-worker-input[readonly] { background: #F5F5F7; color: #8E8E93; cursor: default; }
        .apple-textarea {
            width: 100%; padding: 8px 12px; font-size: 13px; line-height: 1.5;
            border: 1px solid #E5E5EA; border-radius: 8px; background: #FFFFFF;
            color: #1D1D1F; resize: none; transition: all 0.2s ease;
        }
        .apple-textarea:focus {
            border-color: #007AFF; box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
            outline: none;
        }
        .apple-textarea::placeholder { color: #C7C7CC; }
        .apple-btn-small {
            padding: 5px 12px; font-size: 12px; font-weight: 500;
            border-radius: 6px; border: none; cursor: pointer;
            transition: all 0.15s ease; display: inline-flex; align-items: center; gap: 4px;
        }
        .apple-btn-small:active { transform: scale(0.96); }
        .apple-section-divider {
            border: none; border-top: 1px solid #F0F0F3; margin: 12px 0;
        }
        /* ===== 活动详情卡片（Apple 极简风格） ===== */
        .detail-card { padding: 0; }
        .detail-card .detail-section {
            background: #FAFAFA; border-radius: 14px; padding: 18px 20px; margin-bottom: 16px;
        }
        .detail-card .detail-section-title {
            font-size: 14px; font-weight: 600; color: #8E8E93;
            letter-spacing: 0.04em; text-transform: uppercase;
            margin-bottom: 14px; display: flex; align-items: center;
        }
        .detail-card .detail-field {
            padding: 3px 0; min-height: 32px;
        }
        .detail-card .detail-field .apple-label {
            font-size: 10px; color: #8E8E93; font-weight: 500;
            margin-bottom: 1px; letter-spacing: 0.03em; text-transform: uppercase;
        }
        .detail-card .detail-value {
            font-size: 14px; color: #1D1D1F; line-height: 1.45;
            padding: 3px 0; word-break: break-word;
        }
        /* ===== 标签+内容同行展示 ===== */
        .detail-card .detail-row {
            display: flex; align-items: center;
            padding: 1px 0; min-height: 22px; gap: 6px;
        }
        .detail-card .detail-row .detail-label {
            font-size: 13px; color: #8E8E93; font-weight: 500;
            white-space: nowrap; flex-shrink: 0;
            letter-spacing: 0.03em; text-transform: uppercase;
            min-width: 44px;
        }
        .detail-card .detail-row .detail-value {
            font-size: 13px; color: #1D1D1F; line-height: 1.4;
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
            padding: 0;
        }
        /* 活动详情：PC 端尽量在一屏内完整展示，并让两个人员框等高。 */
        .activity-detail-modal {
            width: calc(100vw - 32px) !important;
            max-width: 1800px !important;
            height: calc(100vh - 24px);
            max-height: none !important;
        }
        .activity-detail-modal-body {
            min-height: 0;
            padding: 12px 16px !important;
            overflow: hidden !important;
        }
        .activity-detail-modal .detail-card {
            height: 100%;
            min-height: 0;
            display: flex;
            flex-direction: column;
        }
        .activity-detail-modal .activity-detail-summary,
        .activity-detail-modal .activity-detail-invoice {
            flex-shrink: 0;
            padding: 10px 16px;
            margin-bottom: 10px;
        }
        .activity-detail-modal .activity-detail-split {
            min-height: 0 !important;
        }
        .activity-detail-modal .activity-detail-people-panel {
            min-height: 130px;
        }
        .activity-detail-modal .activity-detail-company-panel {
            min-height: 150px;
        }
        @media (max-width: 1100px), (max-height: 720px) {
            .activity-detail-modal {
                height: auto;
                max-height: calc(100vh - 24px) !important;
            }
            .activity-detail-modal-body {
                overflow-y: auto !important;
            }
            .activity-detail-modal .activity-detail-split {
                min-height: 360px !important;
            }
        }
        /* ===== 顶部栏 Apple 风格 ===== */
        .top-bar {
            display: flex; align-items: center; justify-content: space-between;
            padding: 10px 24px;
            background: rgba(255,255,255,0.85);
            backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(0,0,0,0.06);
            flex-shrink: 0; z-index: 10;
        }
        .top-bar-left { display: flex; align-items: center; gap: 8px; }
        .top-bar-right { display: flex; align-items: center; }
        .account-trigger {
            display: flex; align-items: center; gap: 8px;
            padding: 6px 12px; border-radius: 8px;
            cursor: pointer; transition: all 0.2s; user-select: none;
        }
        .account-trigger:hover { background: rgba(0,0,0,0.04); }
        .account-name { font-size: 13px; font-weight: 500; color: #1D1D1F; }
        .account-dropdown {
            position: absolute; top: 100%; right: 0; margin-top: 8px;
            min-width: 210px; background: #FFFFFF;
            border-radius: 14px; border: 1px solid rgba(0,0,0,0.06);
            box-shadow: 0 8px 30px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.04);
            z-index: 100; overflow: hidden;
            opacity: 0; transform: translateY(-4px);
            transition: opacity 0.2s ease, transform 0.2s ease;
            pointer-events: none;
        }
        .account-dropdown.visible {
            opacity: 1; transform: translateY(0);
            pointer-events: auto;
        }
        .dropdown-header {
            padding: 16px 20px 12px; text-align: left;
        }
        .dropdown-header .user-name-title {
            font-size: 16px; font-weight: 600; color: var(--text-primary);
            letter-spacing: 0.01em;
        }
        .dropdown-header .user-permission {
            font-size: 12px; color: #9CA3AF; margin-top: 4px;
            font-weight: 400;
        }
        .dropdown-divider { height: 1px; background: rgba(0,0,0,0.04); margin: 8px 16px; }
        .dropdown-footer {
            padding: 6px 16px 14px; text-align: center;
        }
        .logout-btn {
            display: inline-flex; align-items: center; gap: 6px;
            padding: 8px 20px; font-size: 13px; font-weight: 500;
            color: #FF3B30; background: transparent;
            border: none; border-radius: 8px; cursor: pointer;
            transition: all 0.2s ease;
        }
        .logout-btn:hover {
            background: rgba(255,59,48,0.06);
        }
        .logout-btn:active {
            transform: scale(0.96);
        }
        /* ===== 执行教练自动补全下拉 ===== */
        .coach-dropdown {
            position: absolute; top: 100%; left: 0; right: 0; z-index: 1000;
            background: #FFFFFF; border: 1px solid #E5E5EA; border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1); max-height: 200px; overflow-y: auto;
            margin-top: 2px;
        }
        .coach-dropdown-item {
            padding: 8px 12px; font-size: 13px; cursor: pointer;
            transition: background 0.1s; display: flex; align-items: center; gap: 8px;
        }
        .coach-dropdown-item:hover, .coach-dropdown-item.active {
            background: #F5F5F7;
        }
        .coach-dropdown-item.pending {
            color: #EF4444; font-weight: 600;
        }
        /* ===== 兼职教练表格宽度约束 ===== */
        #workerTableContainer {
            max-width: 100%; overflow-x: hidden;
        }
        #workerTableContainer .worker-row {
            max-width: 100%; overflow: hidden; flex-wrap: nowrap;
        }
        #workerTableContainer .worker-row > input {
            min-width: 0; flex-shrink: 1;
        }
        #workerTableContainer .worker-row .worker-remark {
            min-width: 40px;
        }
        /* ===== 兼职教练批量操作栏 ===== */
        .worker-batch-bar { background:#FAFAFA; border:1px solid #F0F0F3; border-radius:8px; padding:6px 12px; margin-bottom:6px; display:flex; align-items:center; gap:8px; font-size:12px; flex-wrap:nowrap; }
        .worker-batch-bar label { display:flex; align-items:center; gap:4px; cursor:pointer; color:#6B7280; font-size:12px; white-space:nowrap; }
        .worker-batch-bar label input[type="checkbox"] { width:14px; height:14px; cursor:pointer; }
        .worker-batch-btn { padding:4px 12px; border-radius:6px; font-size:11px; font-weight:500; border:none; cursor:pointer; transition:all 0.15s ease; white-space:nowrap; }
        .worker-batch-btn:active { transform:scale(0.96); }
        .worker-batch-btn:disabled { opacity:0.4; cursor:not-allowed; transform:none; }

        #workerTableContainer .worker-row .worker-select { width:14px; height:14px; cursor:pointer; margin:0; flex-shrink:0; align-self:center; accent-color:#007AFF; }
        .dept-table { table-layout:auto; }
        .dept-table th, .dept-table td { white-space:nowrap; }

        /* ===== 兼职档案：所有字段保持单行，宽度不足时横向滚动 ===== */
        .parttime-roster-scroll {
            width: 100%;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
        }
        .parttime-roster-table {
            table-layout: auto !important;
            min-width: 1960px;
            width: 100%;
        }
        .parttime-roster-table th,
        .parttime-roster-table td {
            white-space: nowrap !important;
            word-break: normal !important;
            overflow-wrap: normal !important;
            vertical-align: middle !important;
        }
        .parttime-roster-table .parttime-sensitive-cell,
        .parttime-roster-table .sensitive-field {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
        }
        .parttime-sortable-header {
            cursor: pointer;
            user-select: none;
            transition: background-color .15s ease, color .15s ease;
        }
        .parttime-sortable-header:hover {
            background: #F2F7FF;
            color: #0066CC !important;
        }
        .parttime-sort-arrow {
            display: inline-block;
            min-width: 14px;
            color: #0066CC;
            font-size: 10px;
        }
        .parttime-sensitive-reveal {
            border: 0;
            border-radius: 5px;
            padding: 2px 6px;
            background: #F2F7FF;
            color: #0066CC;
            font-size: 11px;
            line-height: 20px;
            cursor: pointer;
            white-space: nowrap;
        }
        .parttime-sensitive-reveal:hover { background: #E5F0FF; }
        .parttime-sensitive-reveal:disabled { opacity: .55; cursor: wait; }
        .parttime-profile-history-scroll {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        .parttime-profile-history-table {
            table-layout: auto !important;
            min-width: 1080px;
            width: max-content;
        }
        .parttime-profile-history-table th,
        .parttime-profile-history-table td {
            white-space: nowrap !important;
            word-break: normal !important;
            overflow-wrap: normal !important;
            vertical-align: middle !important;
        }

        /* ===== PC 管理端视觉刷新：对齐成单助手的轻量 UI 语言 ===== */
        .card {
            background: rgba(255,255,255,.94);
            border: 1px solid rgba(15,23,42,.06);
            border-radius: 8px;
            box-shadow: 0 8px 26px rgba(15,23,42,.045);
        }
        .card:hover { box-shadow: 0 10px 28px rgba(15,23,42,.06); }
        .sidebar {
            background: rgba(255,255,255,.94);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-right: 1px solid rgba(15,23,42,.06);
            box-shadow: 10px 0 30px rgba(15,23,42,.025);
        }
        .sidebar-brand {
            min-height: 64px;
            border-bottom: 1px solid rgba(15,23,42,.055);
        }
        .sidebar-logo {
            width: 42px;
            height: 42px;
        }
        .sidebar-item {
            min-height: 48px;
            margin: 4px 10px;
            padding: 9px 12px;
            border-radius: 12px;
            color: #64748B;
            font-weight: 650;
            letter-spacing: 0;
        }
        .sidebar-item:hover {
            background: rgba(15,23,42,.035);
            color: #111827;
        }
        .sidebar-item.active {
            background: rgba(0,102,204,.09);
            color: #0066CC;
            box-shadow: inset 0 0 0 1px rgba(0,102,204,.06);
        }
        .nav-icon {
            width: 32px;
            height: 32px;
            border-radius: 10px;
            background: rgba(15,23,42,.04) !important;
        }
        .sidebar-item.active .nav-icon {
            background: rgba(0,102,204,.1) !important;
        }
        .sync-btn,
        .sidebar-hide-btn,
        .sidebar-toggle-floating {
            border-radius: 999px;
            font-weight: 700;
        }
        .sync-btn {
            background: #FFFFFF;
            color: #334155;
            border: 1px solid rgba(15,23,42,.06);
            box-shadow: 0 4px 14px rgba(15,23,42,.045);
        }
        .sync-btn:hover {
            background: #F8FAFC;
            color: #111827;
        }
        .top-bar {
            min-height: 52px;
            padding: 10px 24px;
            background: rgba(247,248,250,.86);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(15,23,42,.06);
        }
        .account-trigger {
            border-radius: 999px;
            padding: 8px 12px;
            background: rgba(255,255,255,.72);
            border: 1px solid rgba(15,23,42,.06);
        }
        .account-trigger:hover {
            background: #FFFFFF;
            box-shadow: 0 6px 18px rgba(15,23,42,.06);
        }
        .account-name {
            color: #111827;
            font-weight: 750;
        }
        main > div.p-6.flex-1 {
            padding: 24px;
        }
        .stat-card {
            border: 1px solid rgba(15,23,42,.06);
            border-radius: 8px;
            box-shadow: 0 8px 26px rgba(15,23,42,.045);
        }
        .stat-card:hover {
            transform: translateY(-1px);
            box-shadow: 0 12px 30px rgba(15,23,42,.075);
        }
        .stat-card .stat-icon {
            width: 42px;
            height: 42px;
            border-radius: 14px;
        }
        .chart-card {
            border: 1px solid rgba(15,23,42,.06);
            border-radius: 8px;
            overflow: hidden;
        }
        .table-wrapper,
        .overflow-x-auto:has(table) {
            border-radius: 8px;
        }
        table {
            border-collapse: separate;
            border-spacing: 0;
            font-feature-settings: "tnum" 1, "zero" 1;
        }
        .table-header {
            background: #F8FAFC;
        }
        .table-header th {
            color: #64748B !important;
            font-size: 12px;
            font-weight: 760;
            letter-spacing: 0;
            border-bottom: 1px solid rgba(15,23,42,.065);
        }
        .table-row {
            background: #FFFFFF;
        }
        .table-row:hover {
            background: rgba(0,102,204,.035);
        }
        .table-row td {
            border-bottom: 1px solid rgba(15,23,42,.055);
            color: #334155;
        }
        input, select, textarea,
        .apple-input, .apple-select, .apple-textarea {
            border-radius: 10px;
            border-color: #E6E8EC;
            background: #FFFFFF;
            box-shadow: 0 1px 0 rgba(15,23,42,.02);
        }
        input:focus, select:focus, textarea:focus,
        .apple-input:focus, .apple-select:focus, .apple-textarea:focus {
            border-color: #0066CC;
            box-shadow: 0 0 0 3px rgba(0,102,204,.08);
        }
        .btn-primary {
            background: #111827;
            border-radius: 999px;
            font-weight: 760;
            box-shadow: 0 10px 22px rgba(17,24,39,.16);
        }
        .btn-primary:hover {
            background: #0F172A;
            box-shadow: 0 12px 26px rgba(17,24,39,.2);
        }
        .btn-secondary,
        .btn-excel,
        .btn-batch {
            border-radius: 999px;
            font-weight: 720;
            box-shadow: 0 4px 14px rgba(15,23,42,.04);
        }
        button {
            letter-spacing: 0;
        }
        .modal-content {
            border-radius: 18px;
            box-shadow: 0 24px 70px rgba(15,23,42,.24);
        }
        .modal-header-grad,
        .modal-footer {
            background: rgba(255,255,255,.96);
            border-color: rgba(15,23,42,.06);
        }
        .tag,
        .match-badge {
            border-radius: 999px;
            font-weight: 720;
        }
