* { margin: 0; padding: 0; box-sizing: border-box; }
html, body, #app { height: 100%; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; }
body { background: #f1f5f9; }

/* ========== 登录页 ========== */
.login-page { position: relative; width: 100%; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.login-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%); }
.login-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 50%); }
.login-box { position: relative; z-index: 1; width: 420px; background: rgba(255,255,255,0.98); border-radius: 24px; padding: 48px 40px; box-shadow: 0 25px 60px rgba(0,0,0,0.25); backdrop-filter: blur(10px); }
.login-header { text-align: center; margin-bottom: 36px; }
.login-header .logo { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 20px; background: linear-gradient(135deg, #667eea, #764ba2); display: flex; align-items: center; justify-content: center; font-size: 34px; color: #fff; box-shadow: 0 10px 25px rgba(102,126,234,0.4); }
.login-header h1 { font-size: 26px; color: #1e293b; font-weight: 700; }
.login-header p { color: #94a3b8; margin-top: 8px; font-size: 14px; }
.login-form .el-input__wrapper { border-radius: 12px; padding: 4px 12px; box-shadow: 0 0 0 1px #e2e8f0 inset !important; }
.login-form .el-input__wrapper:hover, .login-form .el-input__wrapper.is-focus { box-shadow: 0 0 0 1px #667eea inset !important; }
.input-icon { color: #94a3b8; margin-right: 6px; }
.login-btn { width: 100%; height: 48px; border-radius: 12px; font-size: 16px; font-weight: 600; background: linear-gradient(135deg, #667eea, #764ba2) !important; border: none !important; margin-top: 8px; }
.login-btn:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(102,126,234,0.4); }
.login-tips { text-align: center; margin-top: 20px; color: #94a3b8; font-size: 13px; }
.wecom-login-divider { display: flex; align-items: center; margin: 18px 0 12px; color: #cbd5e1; font-size: 13px; }
.wecom-login-divider::before, .wecom-login-divider::after { content: ''; flex: 1; height: 1px; background: #e2e8f0; }
.wecom-login-divider span { padding: 0 12px; }
.wecom-login-btn { width: 100%; height: 46px; border-radius: 12px; font-size: 15px; font-weight: 600; background: linear-gradient(135deg, #07c160, #06ad56) !important; border: none !important; color: #fff !important; }
.wecom-login-btn:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(7,193,96,0.35); }
.wecom-login-btn i { margin-right: 8px; font-size: 18px; }
.wecom-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; border-radius: 8px; padding: 10px 14px; margin-bottom: 12px; font-size: 13px; line-height: 1.5; }
.wecom-error i { margin-right: 6px; }
.wecom-config-head { display: flex; align-items: center; cursor: pointer; padding: 4px 0; user-select: none; }
.wecom-config-title { font-size: 16px; font-weight: 600; color: #1e293b; margin-left: 10px; }
.wecom-config-toggle { margin-left: auto; color: #94a3b8; font-size: 13px; }
.wecom-config-body { margin-top: 16px; padding-top: 16px; border-top: 1px solid #f1f5f9; }
.wecom-callback-box { margin-top: 16px; padding: 14px 16px; background: #f8fafc; border-radius: 8px; border: 1px solid #e2e8f0; }
.wecom-callback-label { font-size: 13px; color: #475569; font-weight: 600; margin-bottom: 8px; }
.wecom-callback-row { display: flex; gap: 8px; }
.wecom-callback-row .el-input { flex: 1; }
.wecom-tip { font-size: 12px; color: #94a3b8; margin-top: 8px; line-height: 1.6; }

/* ========== 主布局 ========== */
.main-container { height: 100vh; }
.sidebar { background: #1e293b; transition: width 0.3s; overflow: hidden; }
.sidebar-logo { height: 64px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; font-size: 18px; font-weight: 700; border-bottom: 1px solid #334155; }
.sidebar-logo i { font-size: 24px; color: #38bdf8; }
.logo-text { white-space: nowrap; }
.sidebar-menu { border-right: none !important; height: calc(100vh - 64px); }
.sidebar-menu .el-menu-item { height: 52px; line-height: 52px; }
.sidebar-menu .el-menu-item.is-active { background: rgba(56,189,248,0.15) !important; }
.menu-icon { margin-right: 10px; font-size: 16px; }
.menu-badge { margin-left: 8px; }

.topbar { background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); height: 64px !important; }
.topbar-left { display: flex; align-items: center; gap: 16px; }
.collapse-btn { font-size: 18px; color: #475569; }
.page-title { font-size: 20px; font-weight: 600; color: #1e293b; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.bell-btn { font-size: 20px; color: #475569; position: relative; }
.bell-badge :deep(.el-badge__content) { background: #ef4444; }
.user-info { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.user-avatar { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; font-weight: 600; }
.user-name { color: #334155; font-weight: 500; }
.role-tag { margin-left: 4px; }

.main-content { background: #f1f5f9; padding: 24px; overflow-y: auto; }

/* ========== 卡片通用 ========== */
.page-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.stat-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); position: relative; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.stat-card .stat-icon { position: absolute; right: 20px; top: 20px; font-size: 48px; opacity: 0.12; }
.stat-card .stat-label { color: #64748b; font-size: 14px; margin-bottom: 12px; }
.stat-card .stat-value { font-size: 36px; font-weight: 700; color: #1e293b; }
.stat-card.blue { border-left: 4px solid #3b82f6; }
.stat-card.blue .stat-value { color: #3b82f6; }
.stat-card.orange { border-left: 4px solid #f59e0b; }
.stat-card.orange .stat-value { color: #f59e0b; }
.stat-card.green { border-left: 4px solid #10b981; }
.stat-card.green .stat-value { color: #10b981; }
.stat-card.red { border-left: 4px solid #ef4444; }
.stat-card.red .stat-value { color: #ef4444; }
.stat-card.purple { border-left: 4px solid #8b5cf6; }
.stat-card.purple .stat-value { color: #8b5cf6; }

/* ========== 破损登记 ========== */
.damage-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-section { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.section-title { font-size: 18px; font-weight: 600; color: #1e293b; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.section-title i { color: #3b82f6; }
.today-list { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); max-height: 70vh; overflow-y: auto; }
.today-item { padding: 16px; border-radius: 12px; background: #f8fafc; margin-bottom: 12px; border-left: 3px solid #3b82f6; }
.today-item .ti-head { display: flex; justify-content: space-between; align-items: center; }
.today-item .ti-supplier { font-weight: 600; color: #1e293b; }
.today-item .ti-boxes { background: #3b82f6; color: #fff; padding: 2px 10px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.today-item .ti-meta { color: #64748b; font-size: 13px; margin-top: 6px; }
.today-item .ti-remark { color: #475569; font-size: 13px; margin-top: 6px; padding-top: 6px; border-top: 1px dashed #e2e8f0; }

/* ========== 退货处理卡片 ========== */
.return-card { background: #fff; border-radius: 14px; padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 6px rgba(0,0,0,0.05); border-left: 4px solid #94a3b8; transition: all 0.2s; position: relative; }
.return-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.1); transform: translateX(2px); }
.return-card.overdue { border-left-color: #ef4444; background: linear-gradient(90deg, #fef2f2 0%, #fff 40%); }
.return-card.soon { border-left-color: #f59e0b; background: linear-gradient(90deg, #fffbeb 0%, #fff 40%); }
.return-card.completed { border-left-color: #10b981; opacity: 0.85; }
.rc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.rc-supplier { font-size: 17px; font-weight: 700; color: #1e293b; }
.rc-count-badge { background: #3b82f6; color: #fff; padding: 4px 14px; border-radius: 20px; font-weight: 600; }
.rc-meta { display: flex; gap: 16px; margin-top: 10px; color: #64748b; font-size: 13px; flex-wrap: wrap; }
.rc-meta i { margin-right: 4px; }
.rc-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid #f1f5f9; }
.rc-remark { color: #475569; font-size: 13px; flex: 1; }
.rc-actions { display: flex; align-items: center; gap: 12px; }
.countdown { font-family: 'Courier New', monospace; font-weight: 700; font-size: 15px; padding: 4px 12px; border-radius: 8px; }
.countdown.normal { background: #ecfeff; color: #0891b2; }
.countdown.soon { background: #fef3c7; color: #d97706; animation: pulse 1.5s infinite; }
.countdown.overdue { background: #fee2e2; color: #dc2626; animation: pulse 0.8s infinite; }
.countdown.done { background: #d1fae5; color: #059669; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }

/* ========== 仪表盘 ========== */
.chart-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.chart-title { font-size: 16px; font-weight: 600; color: #1e293b; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.overdue-list { max-height: 320px; overflow-y: auto; }
.overdue-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 10px; background: #fef2f2; margin-bottom: 10px; border-left: 3px solid #ef4444; }
.overdue-item .oi-name { font-weight: 600; color: #991b1b; }
.overdue-item .oi-meta { color: #b91c1c; font-size: 13px; margin-top: 2px; }

/* ========== 弹窗美化 ========== */
.el-dialog { border-radius: 16px !important; }
.el-dialog__header { padding: 20px 24px; border-bottom: 1px solid #f1f5f9; }
.el-dialog__body { padding: 24px; }

/* ========== 表格美化 ========== */
.el-table { border-radius: 12px; overflow: hidden; }
.el-table th.el-table__cell { background: #f8fafc !important; color: #475569; font-weight: 600; }

/* ========== 通知弹窗 ========== */
.alert-dialog .el-dialog__body { padding: 12px 24px; }
.alert-item { display: flex; justify-content: space-between; align-items: center; padding: 14px; border-radius: 10px; background: #fef2f2; margin-bottom: 10px; border-left: 3px solid #ef4444; }
.alert-supplier { font-weight: 600; color: #991b1b; }
.alert-meta { color: #b91c1c; font-size: 13px; margin-top: 4px; }
.alert-right { text-align: right; }
.alert-time { display: block; color: #b91c1c; font-size: 12px; margin-top: 4px; }
.empty-tip { text-align: center; color: #94a3b8; padding: 40px 0; }
.mb24 { margin-bottom: 24px; }

/* ========== 破损记录面板 ========== */
.record-panel { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); display: flex; flex-direction: column; max-height: 78vh; }
.record-count { margin-left: auto; font-size: 13px; font-weight: 400; color: #94a3b8; }
.record-panel .section-title { margin-bottom: 16px; }
.record-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #f1f5f9; margin-bottom: 14px; }
.record-list { flex: 1; overflow-y: auto; padding-right: 4px; }
.record-item { padding: 14px 16px; border-radius: 12px; background: #f8fafc; border-left: 3px solid #f59e0b; margin-bottom: 12px; transition: all 0.2s; overflow: hidden; }
.record-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.record-item.is-done { border-left-color: #10b981; opacity: 0.95; }
.ri-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ri-supplier { flex: 1; min-width: 0; font-weight: 600; color: #1e293b; font-size: 14px; line-height: 1.45; word-break: break-all; }
.ri-code { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 400; color: #64748b; background: #e2e8f0; padding: 1px 7px; border-radius: 7px; vertical-align: 1px; }
.ri-right { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; }
.ri-boxes { background: #3b82f6; color: #fff; padding: 2px 10px; border-radius: 10px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ri-meta { display: flex; flex-wrap: wrap; gap: 14px; color: #64748b; font-size: 13px; margin-top: 8px; }
.ri-meta i { margin-right: 3px; }
.ri-remark { color: #475569; font-size: 13px; margin-top: 6px; }
.ri-handle { color: #059669; font-size: 13px; margin-top: 6px; }
.ri-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e2e8f0; }
.ri-print-info { color: #94a3b8; font-size: 12px; }

/* ========== 供应商可搜索下拉 ========== */
.supplier-picker { position: relative; width: 100%; }
.sp-trigger { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid #dcdfe6; border-radius: 8px; background: #fff; cursor: pointer; transition: all 0.2s; }
.sp-trigger:hover, .sp-trigger.open { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.12); }
.sp-value { flex: 1; min-width: 0; overflow: hidden; color: #1e293b; font-size: 14px; line-height: 1; display: flex; align-items: center; gap: 8px; }
.sp-name { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sp-placeholder { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #a8abb2; font-size: 14px; }
.sp-code { flex-shrink: 0; white-space: nowrap; font-size: 12px; color: #64748b; background: #eef2f7; padding: 2px 8px; border-radius: 8px; }
.sp-arrow { flex-shrink: 0; color: #a8abb2; font-size: 12px; transition: transform 0.2s; }
.sp-arrow.rotated { transform: rotate(180deg); }
.sp-dropdown { position: absolute; z-index: 2000; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(15,23,42,0.16); border: 1px solid #eef2f7; overflow: hidden; }
.sp-search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #f1f5f9; }
.sp-search i { color: #94a3b8; font-size: 13px; }
.sp-search input { flex: 1; border: none; outline: none; font-size: 14px; color: #1e293b; background: transparent; }
.sp-options { max-height: 220px; overflow-y: auto; }
.sp-option { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; color: #334155; cursor: pointer; }
.sp-opt-name { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sp-option:hover { background: #f1f5f9; }
.sp-option.active { background: #eff6ff; color: #1d4ed8; font-weight: 600; }
.sp-empty { padding: 16px; text-align: center; color: #94a3b8; font-size: 13px; }
.sp-create { padding: 11px 14px; border-top: 1px solid #f1f5f9; color: #2563eb; font-size: 13px; font-weight: 600; cursor: pointer; background: #f8fafc; }
.sp-create:hover { background: #eff6ff; }

/* ========== 退货处理筛选卡 ========== */
.filter-card { padding: 18px 22px; }
.filter-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid #eef2f7; }
.limit-chip { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #fff7ed; color: #c2410c; font-size: 12.5px; font-weight: 600; border: 1px solid #fed7aa; white-space: nowrap; }
.limit-chip i { font-size: 12px; }
.filter-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #94a3b8; white-space: nowrap; }
.filter-label i { font-size: 11.5px; color: #cbd5e1; }
.filter-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; }
.filter-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.filter-field .el-select, .filter-field .el-date-editor { width: 100% !important; }
.filter-field .filter-label { color: #475569; }
.filter-field .filter-label i { color: #6366f1; }

/* ========== 仪表盘处理率 ========== */
.trend-chart { height: 320px; }
.rate-card { display: flex; flex-direction: column; }
.rate-ring-wrap { display: flex; justify-content: center; padding: 4px 0 16px; }
.rate-ring { width: 190px; height: 190px; border-radius: 50%; padding: 14px; }
.rate-inner { width: 100%; height: 100%; background: #fff; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rate-value { font-size: 40px; font-weight: 700; color: #10b981; line-height: 1; }
.rate-value span { font-size: 20px; margin-left: 2px; }
.rate-sub { color: #94a3b8; font-size: 13px; margin-top: 8px; }
.rate-detail { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.rate-item { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #64748b; padding: 8px 12px; background: #f8fafc; border-radius: 8px; }
.rate-item b { color: #1e293b; font-weight: 600; }
.rd-green { color: #059669 !important; }
.rd-orange { color: #d97706 !important; }

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
  .damage-layout { grid-template-columns: 1fr; }
  .record-panel { max-height: none; }
}

@media (max-width: 768px) {
  .main-content { padding: 12px; }
  .page-card, .stat-card, .chart-card, .form-section, .record-panel { padding: 16px; border-radius: 12px; }
  .stat-card .stat-value { font-size: 28px; }
  .stat-card .stat-icon { font-size: 36px; right: 12px; top: 12px; }
  .mb24 { margin-bottom: 14px; }
  .topbar { padding: 0 12px; height: 56px !important; }
  .page-title { font-size: 16px; }
  .user-name, .role-tag { display: none; }
  .topbar-right { gap: 12px; }
  .trend-chart { height: 240px; }
  .rate-ring { width: 150px; height: 150px; }
  .rate-value { font-size: 32px; }
  .return-card { padding: 14px; }
  .rc-top { gap: 8px; }
  .rc-supplier { font-size: 15px; }
  .rc-meta { gap: 8px; font-size: 12px; }
  .rc-bottom { flex-wrap: wrap; gap: 10px; }
  .rc-actions { width: 100%; justify-content: space-between; }
  .countdown { font-size: 13px; padding: 4px 8px; display: inline-block; }
  .filter-grid { grid-template-columns: 1fr; gap: 12px; }
  .filter-top { gap: 10px; }
  .filter-top .el-radio-group { flex-wrap: wrap; }
  .limit-chip { margin-left: 0; }
  .filter-grid .el-select, .filter-grid .date-range { width: 100% !important; }
  .record-filters .el-radio-group { width: 100%; }
  .record-filters .el-input, .record-filters .el-select { width: 100% !important; flex: 1 1 100%; }
  .record-filters .el-button { flex: 1 1 100%; }
  .ri-top, .ri-bottom { flex-wrap: wrap; gap: 8px; }
  .sp-trigger { height: 44px; }
  .overdue-item { flex-wrap: wrap; gap: 6px; }
  .el-dialog { width: 92vw !important; }
  .login-box { width: 92vw !important; padding: 32px 20px; }
  .sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 3001; height: 100vh; width: 220px !important; transform: translateX(-100%); transition: transform 0.28s; }
  .sidebar.mobile-open { transform: translateX(0); box-shadow: 8px 0 30px rgba(0,0,0,0.3); }
  .sidebar-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 3000; }
}

/* ==================================================================
   精致化视觉升级（覆盖层）
   ================================================================== */
:root {
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #eef2f7;
  --card-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 12px 32px -14px rgba(15,23,42,0.22);
  --soft-shadow: 0 1px 2px rgba(15,23,42,0.03), 0 8px 20px -12px rgba(15,23,42,0.18);
}

body { background: #f5f7fb; color: var(--ink); }
html, body, #app { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; -webkit-font-smoothing: antialiased; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
::-webkit-scrollbar-track { background: transparent; }

/* 登录页 */
.login-bg { background:
  radial-gradient(900px 600px at 12% 18%, rgba(99,102,241,0.55) 0%, transparent 60%),
  radial-gradient(800px 600px at 88% 82%, rgba(236,72,153,0.35) 0%, transparent 60%),
  linear-gradient(135deg, #0b1220 0%, #172554 52%, #2e1065 100%); }
.login-bg::after { content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 28px 28px; opacity: 0.35; }
.login-box { border-radius: 26px; border: 1px solid rgba(255,255,255,0.65); box-shadow: 0 40px 90px -30px rgba(2,6,23,0.75), 0 0 0 1px rgba(255,255,255,0.12) inset; }
.login-header .logo { border-radius: 22px; background: linear-gradient(135deg, #6366f1, #a855f7); box-shadow: 0 14px 34px -10px rgba(124,58,237,0.65); }
.login-header h1 { letter-spacing: 2px; }
.login-btn { border-radius: 14px; background: linear-gradient(135deg, #4f46e5, #7c3aed) !important; box-shadow: 0 12px 26px -10px rgba(79,70,229,0.7); }
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(79,70,229,0.8); }

/* 侧边栏 */
.sidebar { background: linear-gradient(180deg, #0b1220 0%, #101a2e 55%, #0b1220 100%) !important; box-shadow: 6px 0 28px -12px rgba(2,6,23,0.55); }
.sidebar-logo { border-bottom: 1px solid rgba(148,163,184,0.14); letter-spacing: 2px; }
.sidebar-logo i { background: linear-gradient(135deg, #67e8f9, #818cf8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sidebar-menu { border-right: none !important; padding: 8px 0; }
.sidebar-menu .el-menu-item { margin: 4px 10px; border-radius: 12px; height: 46px; line-height: 46px; color: #94a3b8 !important; transition: all 0.2s; }
.sidebar-menu .el-menu-item:hover { background: rgba(148,163,184,0.1) !important; color: #e2e8f0 !important; }
.sidebar-menu .el-menu-item.is-active { background: linear-gradient(135deg, rgba(56,189,248,0.2), rgba(129,140,248,0.14)) !important; color: #7dd3fc !important; box-shadow: inset 0 0 0 1px rgba(56,189,248,0.22); }
.sidebar-menu .el-menu-item.is-active i { color: #7dd3fc; }
.menu-icon { width: 18px; text-align: center; }

/* 顶栏与内容区 */
.topbar { background: rgba(255,255,255,0.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(15,23,42,0.06), 0 10px 30px -24px rgba(15,23,42,0.6); position: relative; z-index: 10; }
.page-title { letter-spacing: 0.5px; }
.main-content { background:
  radial-gradient(1100px 460px at 8% -8%, #e9eefb 0%, transparent 60%),
  radial-gradient(900px 420px at 100% 0%, #f6ecfb 0%, transparent 55%),
  #f5f7fb; }

/* 卡片统一 */
.page-card, .form-section, .record-panel, .chart-card, .today-list { border-radius: 18px; box-shadow: var(--card-shadow); border: 1px solid rgba(226,232,240,0.7); }
.stat-card { border-radius: 18px; background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%); box-shadow: var(--card-shadow); border: 1px solid rgba(226,232,240,0.6); padding: 22px 24px; }
.stat-card::after { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 6px 6px 0; }
.stat-card.blue::after { background: linear-gradient(180deg, #60a5fa, #2563eb); }
.stat-card.orange::after { background: linear-gradient(180deg, #fbbf24, #d97706); }
.stat-card.green::after { background: linear-gradient(180deg, #34d399, #059669); }
.stat-card.red::after { background: linear-gradient(180deg, #fb7185, #dc2626); }
.stat-card.blue { border-left: none; }
.stat-card.orange { border-left: none; }
.stat-card.green { border-left: none; }
.stat-card.red { border-left: none; }
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,23,42,0.05), 0 20px 44px -18px rgba(15,23,42,0.3); }
.stat-card .stat-icon { position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 19px; opacity: 1; }
.stat-card.blue .stat-icon { background: #eef4ff; color: #2563eb; }
.stat-card.orange .stat-icon { background: #fff7e8; color: #d97706; }
.stat-card.green .stat-icon { background: #ecfdf5; color: #059669; }
.stat-card.red .stat-icon { background: #fef2f2; color: #dc2626; }
.stat-card .stat-value { font-size: 34px; letter-spacing: -0.5px; }
.stat-card .stat-label { font-size: 13px; letter-spacing: 0.5px; }

/* 区块标题 */
.section-title { font-size: 17px; letter-spacing: 0.4px; }

/* 按钮与表单控件 */
.el-button { border-radius: 10px; font-weight: 500; transition: all 0.18s; }
.el-button--primary { background: linear-gradient(135deg, #4f46e5, #7c3aed); border: none; box-shadow: 0 8px 18px -10px rgba(79,70,229,0.7); }
.el-button--primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(79,70,229,0.8); }
.el-button--primary.is-plain { background: #eef2ff; color: #4f46e5; box-shadow: none; border: 1px solid #c7d2fe; }
.el-button--primary.is-plain:hover { background: #e0e7ff; color: #4338ca; }
.el-input__wrapper, .el-textarea__inner, .el-select__wrapper { border-radius: 10px !important; }
.el-dialog { border-radius: 18px !important; box-shadow: 0 40px 90px -30px rgba(2,6,23,0.6); }
.el-table { border-radius: 12px; overflow: hidden; }
.el-table th.el-table__cell { background: #f8fafc !important; }

/* 仪表盘补充 */
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.chart-title { margin-bottom: 0; letter-spacing: 0.3px; }
.overall-chip { background: linear-gradient(135deg, #ecfdf5, #f0fdfa); color: #047857; border: 1px solid #a7f3d0; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.alert-chip { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }

.purchaser-list { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.purchaser-row { display: flex; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #f8fafc; border: 1px solid #eef2f7; transition: all 0.2s; }
.purchaser-row:hover { background: #f5f9ff; border-color: #dbeafe; transform: translateY(-1px); box-shadow: 0 10px 24px -16px rgba(37,99,235,0.4); }
.pr-avatar { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; color: #fff; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px -10px rgba(15,23,42,0.55); }
.pr-main { flex: 1; min-width: 0; }
.pr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.pr-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.pr-off { margin-left: 6px; font-size: 11px; font-weight: 400; color: #94a3b8; background: #f1f5f9; border: 1px solid #e2e8f0; padding: 1px 7px; border-radius: 6px; }
.pr-rate { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; }
.pr-rate small { font-size: 12px; margin-left: 1px; font-weight: 600; }
.pr-meta { display: flex; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: #94a3b8; margin-top: 9px; }
.pr-meta b { color: #475569; font-weight: 600; }
.pr-overdue { color: #dc2626; }
.dot { margin: 0 5px; color: #cbd5e1; }
.purchaser-row .el-progress-bar__outer { background: #e8eef7 !important; border-radius: 8px; }
.purchaser-row .el-progress-bar__inner { border-radius: 8px; transition: width 0.6s ease; }

.overdue-list { margin-top: 16px; max-height: 340px; }
.overdue-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(90deg, #fff1f2, #ffffff); border: 1px solid #fee2e2; border-left: 3px solid #ef4444; margin-bottom: 10px; transition: all 0.2s; }
.overdue-item:hover { transform: translateX(2px); box-shadow: 0 8px 20px -14px rgba(220,38,38,0.6); }
.oi-main { flex: 1; min-width: 0; }
.oi-name { font-weight: 600; color: #991b1b; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.oi-code { font-size: 11px; font-weight: 400; color: #b91c1c; background: #fee2e2; padding: 1px 7px; border-radius: 6px; }
.oi-meta { color: #b91c1c; font-size: 12.5px; margin-top: 4px; }
.oi-meta i { margin-right: 3px; }

/* 退货处理 / 破损记录细节 */
.return-card { border-radius: 16px; box-shadow: var(--soft-shadow); }
.return-card.overdue { box-shadow: 0 10px 26px -18px rgba(220,38,38,0.55); }
.record-item { border: 1px solid #eef2f7; }
.record-item:hover { border-color: #dbeafe; }
.countdown { letter-spacing: 0.3px; }

/* 移动端补充 */
@media (max-width: 768px) {
  .pr-avatar { width: 38px; height: 38px; flex: 0 0 38px; font-size: 15px; }
  .pr-rate { font-size: 17px; }
  .purchaser-row { padding: 12px; gap: 10px; }
  .card-head { flex-wrap: wrap; }
  .stat-card .stat-icon { width: 38px; height: 38px; font-size: 16px; }
  .stat-card .stat-value { font-size: 28px; }
}

/* ==================================================================
   跑马灯公告
   ================================================================== */
.marquee-bar {
  display: flex; align-items: center; gap: 14px;
  height: 46px; padding: 0 18px; flex: 0 0 46px;
  background: linear-gradient(90deg, #0b1220 0%, #172554 42%, #3b0764 100%);
  color: #e2e8f0; position: relative; overflow: hidden; z-index: 11;
  box-shadow: 0 2px 14px -8px rgba(2,6,23,0.8);
}
.marquee-bar::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(251,191,36,0.22), transparent 18%, transparent 82%, rgba(129,140,248,0.22));
  mix-blend-mode: screen;
}
.mq-badge {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 10px 22px -10px rgba(245,158,11,0.9); z-index: 1;
}
.mq-badge i { font-size: 13px; }
.mq-viewport { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; overflow: hidden; z-index: 1; }
.mq-track { display: flex; white-space: nowrap; animation: marquee-scroll 34s linear infinite; will-change: transform; }
.mq-group { display: flex; flex: 0 0 auto; }
.mq-item { font-size: 14px; letter-spacing: 0.4px; color: #e2e8f0; }
.mq-sep { color: #fbbf24; margin: 0 18px; font-size: 10px; vertical-align: middle; }
.mq-empty { font-size: 13px; color: #94a3b8; padding-left: 4px; }
.mq-publish {
  flex: 0 0 auto; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px; border-radius: 999px; font-size: 13px; cursor: pointer;
  color: #fde68a; background: rgba(251,191,36,0.12); border: 1px solid rgba(251,191,36,0.36);
  transition: all 0.2s;
}
.mq-publish:hover { background: rgba(251,191,36,0.22); border-color: rgba(251,191,36,0.65); transform: translateY(-1px); }
.marquee-bar:hover .mq-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==================================================================
   仪表盘：超时倒计时 + 登记员统计
   ================================================================== */
.oi-timer {
  flex: 0 0 auto; text-align: right; padding: 6px 10px; border-radius: 10px;
  background: #fff1f2; border: 1px solid #fecaca;
}
.oi-timer-label { display: block; font-size: 10.5px; letter-spacing: 0.5px; color: #dc2626; }
.oi-timer-value {
  display: block; font-family: 'SFMono-Regular', Consolas, 'Courier New', monospace;
  font-size: 14px; font-weight: 700; letter-spacing: 0.4px; color: #b91c1c; white-space: nowrap;
}

.receiver-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 18px; }
.receiver-chip {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(135deg, #f8fafc, #ffffff); border: 1px solid #eef2f7; transition: all 0.2s;
}
.receiver-chip:hover { border-color: #dbeafe; transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(37,99,235,0.55); }
.rv-avatar { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px -12px rgba(15,23,42,0.6); }
.rv-info { flex: 1; min-width: 0; }
.rv-name { font-weight: 600; font-size: 14.5px; color: var(--ink); display: flex; align-items: center; }
.rv-meta { font-size: 12.5px; color: #64748b; margin-top: 3px; }
.rv-count { display: flex; align-items: baseline; gap: 2px; color: #4f46e5; }
.rv-count b { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; }
.rv-count small { font-size: 11px; color: #94a3b8; }

.ri-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ==================================================================
   记事本
   ================================================================== */
.note-compose { margin-bottom: 20px; }
.note-compose-head { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.note-compose-head i { color: #7c3aed; }
.note-tip { margin-left: auto; font-size: 12px; font-weight: 400; color: #94a3b8; display: inline-flex; align-items: center; gap: 5px; }
.note-title-input { margin-bottom: 10px; }
.note-compose-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.note-total { font-size: 12.5px; color: #94a3b8; }
.note-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.note-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 18px 18px 12px; border-radius: 16px; border: 1px solid rgba(226,232,240,0.8);
  box-shadow: var(--soft-shadow); transition: all 0.2s;
}
.note-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.tone-0 { background: linear-gradient(180deg, #fffdf5, #fff8e6); }
.tone-0::before { background: #f59e0b; }
.tone-1 { background: linear-gradient(180deg, #f7fbff, #eef6ff); }
.tone-1::before { background: #3b82f6; }
.tone-2 { background: linear-gradient(180deg, #f6fffb, #eafbf3); }
.tone-2::before { background: #10b981; }
.tone-3 { background: linear-gradient(180deg, #fdf7ff, #f8eefe); }
.tone-3::before { background: #a855f7; }
.note-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -22px rgba(15,23,42,0.5); }
.note-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.note-card-title { font-weight: 700; font-size: 15px; color: var(--ink); }
.note-time { font-size: 11.5px; color: #94a3b8; white-space: nowrap; }
.note-card-body { flex: 1; min-height: 48px; font-size: 13.5px; line-height: 1.7; color: #475569; white-space: pre-wrap; word-break: break-word; }
.note-card-foot { display: flex; justify-content: flex-end; gap: 4px; margin-top: 8px; padding-top: 6px; border-top: 1px dashed rgba(148,163,184,0.3); }

/* ==================================================================
   工具栏
   ================================================================== */
.tool-nav { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.tool-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 6px;
  border-radius: 14px; background: #fff; border: 1px solid #eef2f7; cursor: pointer;
  transition: all 0.2s; box-shadow: var(--soft-shadow);
}
.tool-nav-item i { font-size: 18px; color: #64748b; transition: all 0.2s; }
.tool-nav-item span { font-size: 12.5px; color: #64748b; }
.tool-nav-item:hover { transform: translateY(-2px); border-color: #c7d2fe; }
.tool-nav-item.active { background: linear-gradient(135deg, #4f46e5, #7c3aed); border-color: transparent; box-shadow: 0 14px 28px -14px rgba(79,70,229,0.7); }
.tool-nav-item.active i, .tool-nav-item.active span { color: #fff; }
.tool-panel { background: #fff; border-radius: 18px; padding: 26px; box-shadow: var(--card-shadow); border: 1px solid rgba(226,232,240,0.7); }
.tool-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid #f1f5f9; }
.tool-ico { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #4f46e5; background: linear-gradient(135deg, #eef2ff, #e9d5ff); }
.tool-head-text h3 { margin: 0 0 4px; font-size: 17px; color: var(--ink); }
.tool-head-text p { margin: 0; font-size: 12.5px; color: #94a3b8; }
.tool-field { margin-bottom: 16px; }
.tool-field label { display: block; margin-bottom: 7px; font-size: 13px; color: #64748b; }
.tool-result { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 8px; padding: 18px; border-radius: 14px; background: linear-gradient(135deg, #f8fafc, #f1f5ff); border: 1px solid #e8eefb; }
.tr-item { display: flex; flex-direction: column; gap: 4px; }
.tr-item span { font-size: 12px; color: #94a3b8; }
.tr-item b { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; color: var(--ink); }
.tr-ok { color: #059669 !important; }
.tr-warn { color: #dc2626 !important; }
.unit-result { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 26px; }
.unit-eq { font-size: 14px; color: #64748b; }
.unit-answer { font-size: 30px; font-weight: 700; letter-spacing: -0.5px; color: #4f46e5; text-align: center; word-break: break-all; }

/* 公告弹窗 */
.announce-recent { margin-top: 16px; padding-top: 12px; border-top: 1px solid #f1f5f9; }
.announce-recent-title { margin-bottom: 8px; font-size: 12.5px; color: #94a3b8; }
.announce-recent-item { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; margin-bottom: 6px; border-radius: 8px; background: #f8fafc; }
.ari-text { font-size: 13px; color: #334155; word-break: break-word; }
.ari-meta { font-size: 11.5px; color: #94a3b8; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

/* ==================================================================
   实验室（群消息检测）
   ================================================================== */
.lab-hero {
  display: flex; align-items: center; gap: 16px; padding: 22px 26px; margin-bottom: 20px;
  border-radius: 18px; color: #fff;
  background: linear-gradient(120deg, #1e293b 0%, #334155 55%, #4338ca 130%);
  box-shadow: 0 18px 36px -24px rgba(15, 23, 42, 0.9); position: relative; overflow: hidden;
}
.lab-hero::after {
  content: ''; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.45), transparent 65%);
}
.lab-hero-icon {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 16px; display: flex;
  align-items: center; justify-content: center; font-size: 22px; color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.06));
  border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); position: relative; z-index: 1;
}
.lab-hero-text { flex: 1; position: relative; z-index: 1; }
.lab-hero-text h3 { margin: 0 0 6px; font-size: 19px; font-weight: 700; letter-spacing: -0.2px; }
.lab-hero-text p { margin: 0; font-size: 13px; color: rgba(226, 232, 240, 0.86); }
.lab-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.lab-card {
  background: #fff; border-radius: 18px; padding: 22px 24px;
  box-shadow: var(--card-shadow, 0 2px 8px rgba(0,0,0,0.06)); border: 1px solid rgba(226,232,240,0.7);
}
.lab-hint { font-size: 12px; color: #94a3b8; }
.lab-actions { display: flex; gap: 10px; margin-top: 14px; }
.lab-result { margin-top: 18px; padding-top: 16px; border-top: 1px dashed #e2e8f0; }
.lab-result-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 13px; color: #475569; }
.lab-item { display: flex; gap: 12px; padding: 12px 14px; margin-bottom: 10px; border-radius: 12px; background: #f8fafc; border: 1px solid #eef2f7; }
.lab-check { margin-top: 2px; }
.lab-item-body { flex: 1; min-width: 0; }
.lab-item-raw { font-size: 12.5px; color: #64748b; margin-bottom: 8px; word-break: break-all; }
.lab-tip { margin: 0 0 12px; font-size: 12.5px; line-height: 1.7; color: #94a3b8; }
.lab-field-label { margin: 14px 0 6px; font-size: 12.5px; font-weight: 600; color: #475569; }
.lab-copy-row { display: flex; gap: 8px; }
.lab-switch-row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid #f1f5f9; }
.lab-regen { margin-top: 14px; }
.lab-code {
  margin: 8px 0 0; padding: 12px 14px; border-radius: 12px; background: #0f172a; color: #cbd5e1;
  font-size: 11.5px; line-height: 1.7; white-space: pre-wrap; word-break: break-all; font-family: 'Courier New', monospace;
}
.card-head-actions { display: flex; gap: 8px; }

/* 破损登记：采购处理结果确认 */
.ri-confirm { margin-top: 8px; padding: 8px 12px; border-radius: 10px; background: #ecfdf5; color: #047857; font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.ri-actions { flex-wrap: wrap; }
.ri-confirm-timer {
  margin-top: 8px; padding: 8px 12px; border-radius: 10px; font-size: 12.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.ri-confirm-timer.normal { background: #ecfeff; color: #0e7490; }
.ri-confirm-timer.soon { background: #fffbeb; color: #b45309; }
.ri-confirm-timer.overdue { background: #fef2f2; color: #b91c1c; }
.ri-confirm-timer .ct-clock { font-family: 'Courier New', monospace; font-weight: 700; letter-spacing: 0.3px; }
.ri-confirm-timer.overdue .ct-clock { animation: pulse 0.9s infinite; }

/* ========== 意见反馈 ========== */
.fb-compose { margin-bottom: 20px; }
.fb-head { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; color: #1e293b; margin-bottom: 18px; }
.fb-head i { color: #6366f1; }
.fb-tip { margin-left: auto; font-size: 12.5px; font-weight: 400; color: #94a3b8; display: flex; align-items: center; gap: 5px; }
.fb-form-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.fb-label { font-size: 13.5px; color: #475569; font-weight: 500; }
.fb-person-group { display: inline-flex; flex-wrap: wrap; }
.fb-person-group .el-radio-button__inner { padding: 6px 14px; font-size: 12.5px; }
.fb-empty-person { font-size: 12.5px; color: #b45309; background: #fffbeb; padding: 4px 10px; border-radius: 8px; }
.fb-unread-chip { font-size: 12px; color: #fff; background: #6366f1; padding: 1px 8px; border-radius: 8px; }
.fb-compose-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; gap: 12px; flex-wrap: wrap; }
.fb-total { font-size: 12.5px; color: #94a3b8; }
.fb-list-card { padding: 20px 24px; }
.fb-tabs { display: flex; align-items: center; gap: 22px; border-bottom: 1px solid #f1f5f9; padding-bottom: 12px; margin-bottom: 16px; }
.fb-tab { font-size: 15px; color: #64748b; cursor: pointer; padding-bottom: 10px; margin-bottom: -13px; border-bottom: 2px solid transparent; font-weight: 500; }
.fb-tab.active { color: #4f46e5; border-bottom-color: #4f46e5; font-weight: 600; }
.fb-readall { margin-left: auto; }
.fb-item { padding: 14px 16px; border-radius: 12px; background: #f8fafc; margin-bottom: 12px; border-left: 3px solid #cbd5e1; transition: all 0.2s; cursor: default; }
.fb-item.unread { background: #eef2ff; border-left-color: #6366f1; cursor: pointer; }
.fb-item.unread:hover { box-shadow: 0 4px 12px rgba(99,102,241,0.18); }
.fb-item-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.fb-who { display: flex; align-items: center; gap: 8px; }
.fb-name { font-weight: 600; color: #1e293b; font-size: 14px; }
.fb-role { font-size: 11.5px; color: #64748b; background: #e2e8f0; padding: 1px 7px; border-radius: 7px; }
.fb-dot { font-size: 11px; color: #fff; background: #6366f1; padding: 1px 7px; border-radius: 7px; }
.fb-time { font-size: 12px; color: #94a3b8; flex-shrink: 0; }
.fb-content { margin-top: 8px; color: #334155; font-size: 13.5px; line-height: 1.65; white-space: pre-wrap; word-break: break-all; }
.fb-confirm-row { margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fb-confirmed { font-size: 12.5px; color: #047857; background: #ecfdf5; padding: 4px 10px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
.fb-pending { font-size: 12.5px; color: #b45309; background: #fffbeb; padding: 4px 10px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }

/* 通知弹窗内反馈条目 */
.alert-section-title { font-size: 13px; font-weight: 600; color: #475569; margin: 4px 0 10px; display: flex; align-items: center; gap: 6px; }
.alert-section-title i { color: #6366f1; }
.fb-alert-item { background: #eef2ff; border-left-color: #6366f1; cursor: pointer; }
.fb-alert-item:hover { box-shadow: 0 4px 12px rgba(99,102,241,0.18); }
.fb-alert-item .alert-supplier { color: #3730a3; }
.fb-alert-item .alert-meta { color: #4338ca; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 响应式补齐 */
@media (max-width: 1200px) {
  .tool-nav { grid-template-columns: repeat(4, 1fr); }
  .lab-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .marquee-bar { height: 42px; flex: 0 0 42px; padding: 0 10px; gap: 9px; }
  .mq-badge { padding: 4px 9px; font-size: 12px; }
  .mq-item { font-size: 12.5px; }
  .mq-sep { margin: 0 10px; }
  .mq-publish { padding: 5px 9px; font-size: 12px; }
  .overdue-item { flex-wrap: wrap; }
  .oi-timer { width: 100%; display: flex; align-items: center; justify-content: space-between; }
  .receiver-grid { grid-template-columns: 1fr; }
  .tool-nav { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tool-panel { padding: 16px; }
  .tool-result { grid-template-columns: repeat(2, 1fr); padding: 14px; }
  .tool-head { gap: 10px; }
  .unit-answer { font-size: 24px; }
  .note-grid { grid-template-columns: 1fr; }
  .lab-hero { padding: 16px; gap: 12px; }
  .lab-hero-icon { width: 42px; height: 42px; flex: 0 0 42px; font-size: 18px; }
  .lab-hero-text h3 { font-size: 16px; }
  .lab-card { padding: 16px; }
}
