        /* ========== 企业工作台页面样式 ========== */
        
        .workspace-layout {
            display: flex;
            margin-top: 70px;
            min-height: calc(100vh - 70px);
        }
        
        /* 移动端菜单按钮（默认隐藏） */
        .workspace-mobile-header {
            display: none;
            align-items: center;
            gap: 12px;
            position: fixed;
            top: 70px;
            left: 0;
            right: 0;
            z-index: 100;
            background: white;
            padding: 10px 16px;
            border-bottom: 1px solid #e2e8f0;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }

        .mobile-menu-btn {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f1f5f9;
            border: none;
            border-radius: 10px;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.2s;
            flex-shrink: 0;
        }

        .mobile-menu-btn:hover {
            background: #e2e8f0;
        }

        .mobile-menu-btn:active {
            transform: scale(0.95);
        }

        .mobile-current-panel {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* 侧边栏遮罩（默认隐藏） */
        .sidebar-backdrop {
            display: none;
        }
        
        /* 侧边栏 */
        .workspace-sidebar {
            width: 260px;
            background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
            padding: 0 0 24px;
            flex-shrink: 0;
            overflow-y: auto;
            max-height: calc(100vh - 70px);
            position: sticky;
            top: 70px;
        }
        
        .sidebar-user {
            padding: 24px 20px;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.1));
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 8px;
        }
        
        .user-avatar-wrapper {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }
        
        .sidebar-user .user-avatar {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }
        
        .user-info-text {
            flex: 1;
        }
        
        .sidebar-user .user-name {
            color: white;
            font-size: 15px;
            font-weight: 600;
            margin-bottom: 2px;
        }
        
        .sidebar-user .user-company {
            color: rgba(255, 255, 255, 0.5);
            font-size: 12px;
        }
        
        .user-badges {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        
        .user-badge {
            padding: 3px 8px;
            background: rgba(16, 185, 129, 0.2);
            color: #34d399;
            border-radius: 4px;
            font-size: 11px;
        }
        
        .user-badge.pending {
            background: rgba(245, 158, 11, 0.2);
            color: #fbbf24;
        }
        
        .sidebar-nav {
            padding: 0 12px;
        }
        
        .nav-group {
            margin-bottom: 8px;
        }
        
        .nav-group-title {
            color: rgba(255, 255, 255, 0.4);
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 12px 12px 8px;
            margin-bottom: 4px;
        }
        
        .nav-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 16px;
            color: rgba(255, 255, 255, 0.7);
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.2s;
            cursor: pointer;
            margin-bottom: 2px;
        }
        
        .nav-link:hover {
            background: rgba(255, 255, 255, 0.05);
            color: white;
        }
        
        .nav-link.active {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.2));
            color: #60a5fa;
            border-left: 3px solid #3b82f6;
            margin-left: -3px;
        }
        
        .nav-link .icon {
            font-size: 18px;
            width: 20px;
            text-align: center;
        }
        
        .nav-link .badge {
            margin-left: auto;
            padding: 2px 8px;
            background: #ef4444;
            color: white;
            border-radius: 10px;
            font-size: 11px;
        }
        
        .nav-link .badge.green {
            background: #10b981;
        }
        
        .nav-link .badge.orange {
            background: #f59e0b;
        }
        
        /* 主内容区 */
        .workspace-main {
            flex: 1;
            background: #f8fafc;
            padding: 24px;
            overflow-y: auto;
        }
        
        .workspace-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }
        
        .workspace-header h1 {
            font-size: 1.25rem;
            font-weight: 700;
            color: #1e293b;
        }
        
        .workspace-header .header-actions {
            display: flex;
            gap: 12px;
        }
        
        .btn-new {
            padding: 10px 20px;
            background: #3b82f6;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
        }
        
        .btn-new:hover {
            background: #2563eb;
            transform: translateY(-1px);
        }
        
        .btn-new.green { background: #10b981; }
        .btn-new.green:hover { background: #059669; }
        
        /* 内容面板 */
        .tab-panel {
            display: none;
        }
        
        .tab-panel.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* 统计卡片 */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 24px;
        }
        
        .stat-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            transition: all 0.2s;
            cursor: pointer;
        }
        
        .stat-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        }
        
        .stat-card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .stat-card-icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
        }
        
        .stat-card-icon.blue { background: #eff6ff; }
        .stat-card-icon.green { background: #ecfdf5; }
        .stat-card-icon.orange { background: #fff7ed; }
        .stat-card-icon.purple { background: #faf5ff; }
        .stat-card-icon.pink { background: #fdf2f8; }
        .stat-card-icon.cyan { background: #ecfeff; }
        
        .stat-card .value {
            font-size: 28px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 4px;
        }
        
        .stat-card .label {
            font-size: 13px;
            color: #64748b;
        }
        
        .stat-card .trend {
            font-size: 12px;
            color: #10b981;
            margin-top: 8px;
        }
        
        .stat-card .trend.down {
            color: #ef4444;
        }
        
        /* 快捷操作 */
        .quick-actions {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 16px;
            margin-bottom: 24px;
        }
        
        .quick-action-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
            border: 1px solid transparent;
        }
        
        .quick-action-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
            border-color: #3b82f6;
        }
        
        .quick-action-card .icon {
            font-size: 28px;
            margin-bottom: 10px;
        }
        
        .quick-action-card h4 {
            font-size: 14px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 4px;
        }
        
        .quick-action-card p {
            font-size: 12px;
            color: #94a3b8;
        }
        
        /* 双列布局 */
        .workspace-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 24px;
        }
        
        .workspace-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }
        
        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 20px;
            border-bottom: 1px solid #f1f5f9;
            margin:0;
        }
        
        .card-header h3 {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
        }
        
        .card-header .view-all {
            font-size: 13px;
            color: #3b82f6;
            cursor: pointer;
        }
        
        .card-header .view-all:hover {
            color: #2563eb;
        }
        
        .card-body {
            padding: 16px 20px;
        }
        
        /* 列表项 */
        .list-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid #f1f5f9;
            cursor: pointer;
            transition: background 0.2s;
        }
        
        .list-item:last-child {
            border-bottom: none;
        }
        
        .list-item:hover {
            background: #f8fafc;
            margin: 0 -20px;
            padding-left: 20px;
            padding-right: 20px;
        }
        
        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            flex-shrink: 0;
        }
        
        .status-dot.pending { background: #f59e0b; }
        .status-dot.matching { background: #3b82f6; }
        .status-dot.completed { background: #10b981; }
        .status-dot.failed { background: #ef4444; }
        
        .item-info {
            flex: 1;
            min-width: 0;
        }
        
        .item-info .title {
            font-size: 14px;
            font-weight: 500;
            color: #1e293b;
            margin-bottom: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .item-info .meta {
            font-size: 12px;
            color: #94a3b8;
        }
        
        .item-count {
            text-align: right;
        }
        
        .item-count .value {
            font-size: 16px;
            font-weight: 600;
            color: #3b82f6;
        }
        
        .item-count .label {
            font-size: 11px;
            color: #94a3b8;
        }
        
        .item-tag {
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 500;
        }
        
        .item-tag.pending { background: #fef3c7; color: #b45309; }
        .item-tag.matching { background: #dbeafe; color: #1d4ed8; }
        .item-tag.completed { background: #dcfce7; color: #15803d; }
        .item-tag.failed { background: #fee2e2; color: #b91c1c; }
        
        /* 消息 */
        .message-item {
            display: flex;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid #f1f5f9;
        }
        
        .message-item:last-child {
            border-bottom: none;
        }
        
        .message-avatar {
            width: 36px;
            height: 36px;
            background: #e0e7ff;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
        }
        
        .message-content {
            flex: 1;
        }
        
        .message-content .sender {
            font-size: 13px;
            font-weight: 500;
            color: #1e293b;
            margin-bottom: 2px;
        }
        
        .message-content .text {
            font-size: 13px;
            color: #64748b;
            line-height: 1.5;
        }
        
        .message-time {
            font-size: 11px;
            color: #94a3b8;
        }
        
        /* 表格样式 */
        .data-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .data-table th,
        .data-table td {
            padding: 12px 16px;
            text-align: left;
            border-bottom: 1px solid #f1f5f9;
        }
        
        .data-table th {
            background: #f8fafc;
            font-weight: 600;
            color: #64748b;
            font-size: 13px;
        }
        
        .data-table td {
            font-size: 14px;
            color: #1e293b;
        }
        
        .data-table tbody tr:hover {
            background: #f8fafc;
        }
        
        /* 空状态 */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .empty-state .icon {
            font-size: 48px;
            margin-bottom: 16px;
        }
        
        .empty-state h3 {
            font-size: 16px;
            color: #64748b;
            margin-bottom: 8px;
        }
        
        .empty-state p {
            font-size: 14px;
            color: #94a3b8;
            margin-bottom: 20px;
        }
        
        /* 表单样式 */
        .form-section {
            background: white;
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 20px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        }
        
        .form-section h3 {
            font-size: 16px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 1px solid #f1f5f9;
        }
        
        .form-row {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-bottom: 16px;
            align-items: start;
        }
        
        .form-group {
            margin-bottom: 16px;
        }
        
        .form-group label {
            display: block;
            font-size: 13px;
            font-weight: 500;
            color: #374151;
            margin-bottom: 6px;
            height: 20px;
            line-height: 20px;
        }
        
        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.2s;
        }
        
        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }
        
        .form-actions {
            display: flex;
            gap: 12px;
            justify-content: flex-end;
            margin-top: 24px;
            background: white;
            border-radius: 12px;
            padding: 16px 24px;
            margin-bottom: 20px;
        }
        
        .btn-cancel {
            padding: 10px 20px;
            background: #f1f5f9;
            color: #64748b;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
        }
        
        .btn-submit {
            padding: 10px 20px;
            background: #3b82f6;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-submit:hover { background: #2563eb; }
        .btn-submit.green { background: #10b981; }
        .btn-submit.green:hover { background: #059669; }
        .btn-submit.orange { background: #f59e0b; }
        .btn-submit.orange:hover { background: #d97706; }
        .btn-submit.purple { background: #8b5cf6; }
        .btn-submit.purple:hover { background: #7c3aed; }
        .btn-submit.blue { background: #3b82f6; }
        .btn-submit.blue:hover { background: #2563eb; }
        .btn-submit.red { background: #ef4444; }
        .btn-submit.red:hover { background: #dc2626; }
        
        /* ========== 角色切换器样式 ========== */
        .role-switcher {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .role-label {
            display: block;
            color: rgba(255, 255, 255, 0.5);
            font-size: 11px;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .role-options {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .role-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
            text-align: left;
        }

        .role-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            color: white;
        }

        .role-btn.active {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.3));
            border-color: rgba(59, 130, 246, 0.5);
            color: #60a5fa;
        }

        .role-btn .role-icon {
            font-size: 16px;
        }

        .role-btn span:last-child {
            flex: 1;
        }

        /* ========== 表格工具栏 ========== */
        .table-toolbar {
            display: flex;
            gap: 12px;
            margin-bottom: 16px;
        }

        .search-input {
            flex: 1;
            padding: 10px 14px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.2s;
        }

        .search-input:focus {
            outline: none;
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        .filter-select {
            padding: 10px 14px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            font-size: 14px;
            background: white;
            cursor: pointer;
            min-width: 120px;
        }

        .filter-select:focus {
            outline: none;
            border-color: #3b82f6;
        }

        /* ========== 表格操作按钮 ========== */
        .btn-link {
            background: none;
            border: none;
            color: #3b82f6;
            font-size: 13px;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 4px;
            transition: all 0.2s;
        }

        .btn-link:hover {
            background: #eff6ff;
            color: #2563eb;
        }

        .btn-link.danger {
            color: #ef4444;
        }

        .btn-link.danger:hover {
            background: #fef2f2;
            color: #dc2626;
        }

        /* ========== 消息列表 ========== */
        .message-list {
            max-height: 600px;
            overflow-y: auto;
        }

        .message-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px;
            border-bottom: 1px solid #f1f5f9;
            cursor: pointer;
            transition: background 0.2s;
        }

        .message-item:hover {
            background: #f8fafc;
        }

        .message-item.unread {
            background: #f0f9ff;
        }

        .message-item.unread:hover {
            background: #e0f2fe;
        }

        .unread-dot {
            display: inline-block;
            width: 6px;
            height: 6px;
            background: #ef4444;
            border-radius: 50%;
            margin-left: 8px;
        }

        /* ========== 复选框组 ========== */
        .checkbox-group {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            padding: 8px 0;
        }

        .checkbox-group .checkbox-label {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            background: #f8fafc;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .checkbox-group .checkbox-label:hover {
            background: #eff6ff;
            border-color: #3b82f6;
        }

        .checkbox-group .checkbox-label input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: #3b82f6;
        }

        /* ========== 添加参数按钮 ========== */
        .btn-add-spec {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 8px 16px;
            background: #f1f5f9;
            color: #3b82f6;
            border: 1px dashed #cbd5e1;
            border-radius: 8px;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-add-spec:hover {
            background: #eff6ff;
            border-color: #3b82f6;
        }

        /* ========== 子面板返回按钮 ========== */
        .btn-back {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 16px;
            background: #f1f5f9;
            color: #64748b;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-back:hover {
            background: #e2e8f0;
            color: #1e293b;
        }

        /* ========== 对接详情弹窗 ========== */
        .match-detail-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 16px;
        }

        .match-demand-info h4 {
            font-size: 16px;
            color: #1e293b;
            margin-bottom: 8px;
        }

        .match-tags {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .match-date {
            font-size: 12px;
            color: #94a3b8;
        }

        .match-company-card {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px;
            background: #f8fafc;
            border-radius: 12px;
            margin-bottom: 20px;
        }

        .company-avatar {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, #3b82f6, #8b5cf6);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            flex-shrink: 0;
        }

        .company-info {
            flex: 1;
        }

        .company-name {
            font-size: 15px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 4px;
        }

        .company-meta {
            font-size: 12px;
            color: #94a3b8;
            margin-bottom: 8px;
        }

        .company-tags, .cert-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .company-tag, .cert-tag, .supply-tag {
            padding: 3px 8px;
            background: #eff6ff;
            color: #3b82f6;
            border-radius: 4px;
            font-size: 11px;
        }

        .company-stats {
            display: flex;
            gap: 16px;
        }

        .c-stat {
            text-align: center;
        }

        .c-val {
            font-size: 20px;
            font-weight: 700;
            color: #3b82f6;
        }

        .c-label {
            font-size: 11px;
            color: #94a3b8;
        }

        .match-timeline {
            margin-bottom: 20px;
        }

        .match-timeline h4, .match-chat h4, .detail-section h4 {
            font-size: 14px;
            color: #1e293b;
            margin-bottom: 12px;
        }

        .timeline {
            border-left: 2px solid #e2e8f0;
            padding-left: 20px;
            margin-left: 8px;
        }

        .timeline-item {
            position: relative;
            padding-bottom: 20px;
        }

        .timeline-item:last-child {
            padding-bottom: 0;
        }

        .timeline-dot {
            position: absolute;
            left: -25px;
            top: 2px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #cbd5e1;
        }

        .timeline-item.completed .timeline-dot {
            background: #10b981;
        }

        .timeline-item.active .timeline-dot {
            background: #3b82f6;
            box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
        }

        .timeline-title {
            font-size: 13px;
            font-weight: 500;
            color: #1e293b;
        }

        .timeline-time {
            font-size: 11px;
            color: #94a3b8;
            margin-top: 2px;
        }

        .timeline-desc {
            font-size: 12px;
            color: #64748b;
            margin-top: 4px;
            font-style: italic;
        }

        .match-chat {
            border-top: 1px solid #f1f5f9;
            padding-top: 16px;
        }

        .chat-list {
            max-height: 180px;
            overflow-y: auto;
            margin-bottom: 12px;
        }

        .chat-item {
            display: flex;
            gap: 8px;
            margin-bottom: 12px;
        }

        .chat-item.mine {
            flex-direction: row-reverse;
        }

        .chat-avatar {
            width: 28px;
            height: 28px;
            background: #e0e7ff;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
        }

        .chat-bubble {
            max-width: 75%;
        }

        .chat-sender {
            font-size: 11px;
            color: #64748b;
            margin-bottom: 2px;
        }

        .chat-text {
            padding: 10px 14px;
            background: #f1f5f9;
            border-radius: 12px;
            font-size: 13px;
            color: #1e293b;
            line-height: 1.5;
        }

        .chat-item.mine .chat-text {
            background: #3b82f6;
            color: white;
        }

        .chat-time {
            font-size: 10px;
            color: #94a3b8;
            margin-top: 2px;
        }

        .chat-item.mine .chat-time {
            text-align: right;
        }

        .chat-input-row {
            display: flex;
            gap: 8px;
        }

        .chat-input {
            flex: 1;
            padding: 10px 14px;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
            font-size: 13px;
        }

        .chat-input:focus {
            outline: none;
            border-color: #3b82f6;
        }

        /* ========== 联系对方弹窗 ========== */
        .contact-company-card {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px;
            background: #f8fafc;
            border-radius: 12px;
            margin-bottom: 20px;
        }

        .contact-info-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .contact-info-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid #f1f5f9;
        }

        .contact-label {
            font-size: 13px;
            color: #94a3b8;
            width: 60px;
        }

        .contact-value {
            font-size: 14px;
            color: #1e293b;
            font-weight: 500;
        }

        /* ========== 供给详情弹窗 ========== */
        .supply-detail-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .supply-tags {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .supply-tag {
            padding: 3px 8px;
            background: #f1f5f9;
            color: #64748b;
            border-radius: 4px;
            font-size: 11px;
        }

        .supply-price {
            font-size: 20px;
            font-weight: 700;
            color: #10b981;
            white-space: nowrap;
        }

        .detail-section {
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #f1f5f9;
        }

        .detail-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .feature-list {
            margin: 0;
            padding-left: 20px;
            color: #475569;
            font-size: 13px;
            line-height: 2;
        }

        .case-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .case-item {
            display: flex;
            flex-direction: column;
            gap: 2px;
            padding: 12px;
            background: #f8fafc;
            border-radius: 8px;
        }

        .case-company {
            font-size: 13px;
            font-weight: 500;
            color: #1e293b;
        }

        .case-result {
            font-size: 12px;
            color: #10b981;
        }

        .cert-tag {
            padding: 4px 10px;
            background: #fef3c7;
            color: #b45309;
            border-radius: 4px;
            font-size: 12px;
        }

        /* ========== 详情弹窗 ========== */
        /* 基础弹窗样式统一使用公共 modal.css */

        /* ========== 详情项 ========== */
        .detail-item {
            margin-bottom: 16px;
        }

        .detail-item label {
            display: block;
            font-size: 13px;
            color: #64748b;
            margin-bottom: 6px;
            font-weight: 500;
        }

        .detail-item > div,
        .detail-item .detail-value {
            font-size: 14px;
            color: #1e293b;
        }

        .detail-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            align-items: start;
        }

        .message-detail-sender {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        /* ========== 表单复选框 ========== */
        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            font-size: 14px;
            color: #374151;
        }

        .checkbox-label input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #3b82f6;
        }

        /* ========== 统计卡片颜色变体 ========== */
        .stat-card-icon.red { background: #fef2f2; }
        .stat-card-icon.yellow { background: #fefce8; }
        .stat-card-icon.indigo { background: #eef2ff; }

        /* 响应式 */
        @media (max-width: 1400px) {
            .quick-actions { grid-template-columns: repeat(4, 1fr); }
        }

        @media (max-width: 1200px) {
            .stats-grid { grid-template-columns: repeat(2, 1fr)!important; }
            .quick-actions { grid-template-columns: repeat(3, 1fr); }
            .form-row { grid-template-columns: 1fr; }
            .detail-row { grid-template-columns: 1fr; }
        }

        @media (max-width: 992px) {
            /* 移动端菜单按钮 */
            .workspace-mobile-header {
                display: flex;
            }

            /* 侧边栏改为抽屉模式 */
            .workspace-sidebar {
                display: block !important;
                position: fixed;
                top: 0;
                left: -280px;
                width: 270px;
                height: 100vh;
                z-index: 1100;
                transition: left 0.3s ease;
                max-height: 100vh;
            }

            .workspace-sidebar.open {
                left: 0;
            }

            /* 侧边栏遮罩 */
            .sidebar-backdrop {
                display: none;
                position: fixed;
                inset: 0;
                background: rgba(0, 0, 0, 0.5);
                z-index: 1050;
                transition: opacity 0.3s ease;
            }

            .sidebar-backdrop.active {
                display: block;
            }

            /* 点击导航项后自动关闭侧边栏 */
            .workspace-sidebar .nav-link {
                padding: 12px 16px;
            }

            .workspace-main { padding: 16px; padding-top: 60px; }
            .workspace-grid { grid-template-columns: 1fr; }
            .quick-actions { grid-template-columns: repeat(2, 1fr); }
            .table-toolbar { flex-direction: column; }
        }

        @media (max-width: 768px) {
            /* 弹窗响应式样式统一使用公共 modal.css */

            .workspace-mobile-header {
                padding: 8px 12px;
            }

            .mobile-menu-btn {
                width: 36px;
                height: 36px;
                font-size: 18px;
            }

            .mobile-current-panel {
                font-size: 14px;
            }

            .workspace-main { padding: 12px; padding-top: 66px; }
            .quick-actions { grid-template-columns: repeat(2, 1fr); }

            /* 表格工具栏竖排 */
            .table-toolbar { flex-direction: column; }
            .table-toolbar .search-input,
            .table-toolbar .filter-select { width: 100%; }

            /* 工作台标题适配 */
            .workspace-header h2 { font-size: 18px; }
            .workspace-header p { font-size: 13px; }

            /* 表格区域横向滚动 */
            .form-section {
                padding: 14px 10px;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .data-table {
                min-width: 600px;
            }

            .data-table th,
            .data-table td {
                padding: 8px 10px;
                font-size: 13px;
                white-space: nowrap;
            }

            .data-table th {
                font-size: 12px;
            }

            /* 操作按钮组紧凑化 */
            .data-table .btn-link {
                padding: 2px 6px;
                font-size: 12px;
            }

            /* 统计卡片间距 */
            .stat-card { padding: 14px; }
            .stat-card .value { font-size: 22px; }
        }

        @media (max-width: 576px) {
            .workspace-header h2 { font-size: 16px; }

            /* 弹窗响应式样式统一使用公共 modal.css */

            /* 表格转卡片布局 */
            /* .form-section {
                padding: 0;
                background: transparent;
                box-shadow: none;
                overflow-x: visible;
            } */

            .data-table {
                min-width: 0;
            }

            .data-table thead {
                display: none;
            }

            .data-table tbody tr {
                display: block;
                background: white;
                border-radius: 10px;
                padding: 14px;
                margin-bottom: 10px;
                box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
            }

            .data-table tbody tr:hover {
                background: white;
            }

            .data-table td {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 5px 0;
                font-size: 13px;
                white-space: normal;
                border-bottom: 1px solid #f8fafc;
            }

            .data-table td:last-child {
                border-bottom: none;
                padding-top: 10px;
                justify-content: flex-end;
                gap: 6px;
            }

            .data-table td::before {
                content: attr(data-label);
                font-weight: 600;
                color: #64748b;
                font-size: 12px;
                margin-right: 12px;
                flex-shrink: 0;
            }

            .data-table td:last-child::before {
                display: none;
            }

            .data-table .btn-link {
                padding: 4px 10px;
                font-size: 12px;
            }

            .detail-item {
                margin-bottom: 12px;
            }

            .detail-item label {
                font-size: 12px;
            }
        }

        /* ========== 文件上传 ========== */
        .file-upload-wrapper {
            position: relative;
        }

        .file-input {
            position: absolute;
            width: 0;
            height: 0;
            opacity: 0;
            overflow: hidden;
            z-index: -1;
        }

        .file-upload-area {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: #f8fafc;
            border: 2px dashed #d1d5db;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .file-upload-area:hover {
            border-color: #3b82f6;
            background: rgba(59, 130, 246, 0.05);
        }

        .upload-icon {
            font-size: 32px;
            margin-bottom: 8px;
        }

        .upload-text {
            font-size: 14px;
            color: #374151;
            margin-bottom: 4px;
        }

        .upload-hint {
            font-size: 12px;
            color: #9ca3af;
        }

        .file-preview {
            margin-top: 12px;
            padding: 12px;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 8px;
        }

        .file-preview-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 0;
            border-bottom: 1px solid #f1f5f9;
        }

        .file-preview-item:last-child {
            border-bottom: none;
        }

        .file-name {
            flex: 1;
            font-size: 13px;
            color: #1e293b;
            word-break: break-all;
        }

        .file-remove {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #fef2f2;
            color: #ef4444;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
        }

        .file-remove:hover {
            background: #fee2e2;
        }
