* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; font-size: 14px; color: #333; background: #f0f2f5; }

/* 登录页 */
.login-page { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8a 100%); }
.login-box { background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); width: 380px; }
.login-box h2 { text-align: center; color: #1a3a5c; margin-bottom: 8px; }
.login-box .subtitle { text-align: center; color: #888; font-size: 13px; margin-bottom: 24px; }
.login-box .form-item { margin-bottom: 16px; }
.login-box .form-label { display: block; margin-bottom: 6px; font-size: 13px; color: #555; }
.login-box .form-input { width: 100%; padding: 10px 12px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 14px; outline: none; }
.login-box .form-input:focus { border-color: #4a90d9; box-shadow: 0 0 0 2px rgba(74,144,217,0.1); }
.login-box .btn-login { width: 100%; padding: 10px; background: #4a90d9; color: #fff; border: none; border-radius: 4px; font-size: 15px; cursor: pointer; margin-top: 8px; }
.login-box .btn-login:hover { background: #3a7bc8; }
.login-box .tips { margin-top: 16px; padding: 10px; background: #f5f9ff; border-radius: 4px; font-size: 12px; color: #666; line-height: 1.8; }

/* 主框架 */
.topbar { height: 50px; background: #1a3a5c; color: #fff; display: flex; align-items: center; padding: 0 20px; position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.topbar .logo { font-size: 16px; font-weight: bold; margin-right: 30px; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 15px; }
.topbar .user-info { font-size: 14px; }
.topbar .user-info .role { background: rgba(255,255,255,0.15); padding: 2px 8px; border-radius: 3px; font-size: 12px; margin-left: 6px; }
.topbar .logout { color: #ccc; cursor: pointer; font-size: 13px; }
.topbar .logout:hover { color: #fff; }

.layout { display: flex; margin-top: 50px; min-height: calc(100vh - 50px); }
.sidebar { width: 180px; background: #2c3e50; color: #bdc3c7; position: fixed; top: 50px; bottom: 0; left: 0; overflow-y: auto; }
.sidebar .menu-group { padding: 10px 0; }
.sidebar .menu-title { padding: 8px 16px; font-size: 12px; color: #7f8c8d; }
.sidebar .menu-item { padding: 10px 16px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.2s; border-left: 3px solid transparent; font-size: 14px; }
.sidebar .menu-item:hover { background: #34495e; color: #fff; }
.sidebar .menu-item.active { background: #34495e; color: #fff; border-left-color: #4a90d9; }

.main { flex: 1; margin-left: 180px; padding: 16px; }
.page { display: none; }
.page.active { display: block; }

/* 多Tab */
.tab-bar { display: flex; gap: 2px; background: #e6eaf0; padding: 6px 8px 0; border-bottom: 1px solid #d0d6de; flex-wrap: wrap; margin-bottom: 14px; border-radius: 4px 4px 0 0; position: sticky; top: 50px; z-index: 30; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.tab-item { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #f2f5f8; border: 1px solid #d0d6de; border-bottom: none; border-radius: 4px 4px 0 0; cursor: pointer; font-size: 13px; color: #555; max-width: 200px; white-space: nowrap; }
.tab-item:hover { background: #fff; color: #1a3a5c; }
.tab-item.active { background: #fff; color: #1a3a5c; font-weight: 600; border-top: 2px solid #4a90d9; }
.tab-item .tab-title { overflow: hidden; text-overflow: ellipsis; }
.tab-item .tab-close { margin-left: 4px; color: #aaa; font-size: 13px; line-height: 1; padding: 1px 4px; border-radius: 2px; }
.tab-item .tab-close:hover { color: #fff; background: #ff4d4f; }
.tab-bar:empty { display: none; }

/* 卡片 */
.card { background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); margin-bottom: 16px; }
.card-header { padding: 12px 16px; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-size: 15px; font-weight: 600; }
.card-body { padding: 16px; }

/* 按钮 */
.btn { padding: 6px 14px; border: 1px solid #d9d9d9; background: #fff; border-radius: 3px; cursor: pointer; font-size: 13px; transition: all 0.2s; display: inline-flex; align-items: center; gap: 4px; }
.btn:hover { border-color: #4a90d9; color: #4a90d9; }
.btn-primary { background: #4a90d9; color: #fff; border-color: #4a90d9; }
.btn-primary:hover { background: #3a7bc8; color: #fff; }
.btn-success { background: #52c41a; color: #fff; border-color: #52c41a; }
.btn-success:hover { background: #45a815; color: #fff; }
.btn-danger { background: #ff4d4f; color: #fff; border-color: #ff4d4f; }
.btn-danger:hover { background: #e64547; color: #fff; }
.btn-warning { background: #faad14; color: #fff; border-color: #faad14; }
.btn-sm { padding: 3px 8px; font-size: 12px; }
.btn-link { border: none; background: none; color: #4a90d9; padding: 2px 4px; cursor: pointer; font-size: 13px; }
.btn-link:hover { text-decoration: underline; }
.btn-link.danger { color: #ff4d4f; }

/* 附件类型标签：项目文件蓝 / 报价文件绿 / 补充附件灰紫 */
.file-tag { display: inline-block; padding: 1px 7px; border-radius: 3px; font-size: 12px; font-weight: 600; margin-right: 4px; white-space: nowrap; }
.file-tag-project { background: #e6f4ff; color: #1677ff; border: 1px solid #91caff; }
.file-tag-quote { background: #f6ffed; color: #389e0d; border: 1px solid #b7eb8f; }
.file-tag-extra { background: #f9f0ff; color: #722ed1; border: 1px solid #d3adf7; }

/* 发布页自动填写提示 */
.field-hint { font-size: 12px; color: #fa8c16; margin-top: 2px; }
/* 20260915：提示与标题同行（位于 label 内） */
.form-label .field-hint { font-size: 11px; font-weight: normal; margin-left: 4px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { background: #fafafa; padding: 10px 8px; text-align: left; font-weight: 600; border-bottom: 2px solid #e8e8e8; white-space: nowrap; }
.table td { padding: 10px 8px; border-bottom: 1px solid #f0f0f0; }
.table tr:hover { background: #f5f9ff; }
.table .empty { text-align: center; padding: 40px; color: #999; }

/* 状态标签 */
.tag { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; white-space: nowrap; }
.tag-pending { background: #fff7e6; color: #fa8c16; border: 1px solid #ffd591; }
.tag-dispatched { background: #e6f7ff; color: #1890ff; border: 1px solid #91d5ff; }
.tag-quoting { background: #f9f0ff; color: #722ed1; border: 1px solid #d3adf7; }
.tag-reviewing { background: #fff0f6; color: #eb2f96; border: 1px solid #ffadd2; }
.tag-approved { background: #f6ffed; color: #52c41a; border: 1px solid #b7eb8f; }
.tag-done { background: #f0f0f0; color: #595959; border: 1px solid #d9d9d9; }
.tag-rejected { background: #fff1f0; color: #ff4d4f; border: 1px solid #ffa39e; }
.tag-returned { background: #fff2e8; color: #fa541c; border: 1px solid #ffbb96; }
.tag-cancelled { background: #f5f5f5; color: #8c8c8c; border: 1px solid #d9d9d9; }
.tag-draft { background: #f0f5ff; color: #2f54eb; border: 1px solid #adc6ff; }

/* 表单 */
.form-row { display: flex; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.form-item { flex: 1; min-width: 180px; }
.form-item.full { flex: 100%; }
.form-label { display: block; margin-bottom: 5px; font-size: 13px; color: #555; }
.form-label .required { color: #ff4d4f; margin-right: 2px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 6px 10px; border: 1px solid #d9d9d9; border-radius: 3px; font-size: 13px; outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: #4a90d9; }
.form-textarea { resize: vertical; min-height: 60px; }

/* 查询栏 */
.search-bar { background: #fff; padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.search-bar .form-row { margin-bottom: 0; }
.search-bar .form-item { min-width: 140px; flex: 0 0 auto; }
.search-bar .form-row + .form-row { margin-top: 12px; }

/* 统计卡片 */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.stats-row.cols-5 { grid-template-columns: repeat(5, 1fr); }
.stat-card { background: #fff; border-radius: 4px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.stat-card .label { font-size: 13px; color: #888; margin-bottom: 6px; }
.stat-card .value { font-size: 23px; font-weight: 600; color: #1a3a5c; }
.stat-card .value.red { color: #ff4d4f; }
.stat-card .value.green { color: #52c41a; }
.stat-card .value.orange { color: #fa8c16; }

/* 快速筛选标签 */
.quick-filters { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.quick-filter { padding: 4px 12px; background: #fff; border: 1px solid #d9d9d9; border-radius: 3px; cursor: pointer; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.quick-filter:hover { border-color: #4a90d9; color: #4a90d9; }
.quick-filter.active { background: #4a90d9; color: #fff; border-color: #4a90d9; }
.quick-filter .count { background: rgba(0,0,0,0.1); padding: 1px 6px; border-radius: 8px; font-size: 11px; }
.quick-filter.active .count { background: rgba(255,255,255,0.2); }
.quick-filter.hot { border-color: #fa8c16; color: #fa8c16; font-weight: 600; background: #fff7e6; }
.quick-filter.hot .count { background: rgba(250,140,22,0.15); color: #fa8c16; }
/* 选中时反色优先（hot 橙色提醒在未选中时显示，选中后统一蓝色反色） */
.quick-filter.active, .quick-filter.active.hot, .quick-filter.hot.active { background: #4a90d9; color: #fff; border-color: #4a90d9; font-weight: 600; }
.quick-filter.active .count, .quick-filter.active.hot .count, .quick-filter.hot.active .count { background: rgba(255,255,255,0.25); color: #fff; }

/* 个人信息设置 */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.wechat-qr-placeholder { border: 2px dashed #d9d9d9; border-radius: 6px; padding: 28px 20px; text-align: center; background: #fafafa; }
.wechat-qr-placeholder .icon { font-size: 36px; color: #bbb; margin-bottom: 8px; }
.wechat-qr-placeholder .text { font-size: 12px; color: #999; }

/* 详情页 */
.detail-section { margin-bottom: 18px; }
.detail-section h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid #eee; color: #1a3a5c; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; }
.detail-item { display: flex; font-size: 13px; }
.detail-item .label { color: #888; min-width: 80px; }
.detail-item .value { color: #333; font-weight: 500; }

/* 时间线 */
.timeline { position: relative; padding-left: 20px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 2px; background: #e8e8e8; }
.timeline-item { position: relative; margin-bottom: 12px; }
.timeline-item::before { content: ''; position: absolute; left: -18px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #4a90d9; }
.timeline-item .time { font-size: 12px; color: #999; }
.timeline-item .content { font-size: 13px; margin-top: 2px; }

/* 弹窗 */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 200; justify-content: center; align-items: center; }
.modal-overlay.show { display: flex; }
.modal { background: #fff; border-radius: 6px; width: 560px; max-height: 85vh; overflow-y: auto; }
.modal.large { width: 760px; }
.modal-header { padding: 14px 20px; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-size: 16px; }
.modal-close { cursor: pointer; font-size: 18px; color: #999; background: none; border: none; }
.modal-body { padding: 20px; }
.modal-footer { padding: 12px 20px; border-top: 1px solid #eee; display: flex; justify-content: flex-end; gap: 8px; }

/* 提示框 */
.note-box { padding: 10px 14px; border-radius: 3px; font-size: 13px; margin-bottom: 12px; }
.note-box.blue { background: #e6f7ff; border: 1px solid #91d5ff; color: #0050b3; }
.note-box.green { background: #f6ffed; border: 1px solid #b7eb8f; color: #237804; }
.note-box.orange { background: #fff7e6; border: 1px solid #ffd591; color: #874d00; }
.note-box.red { background: #fff1f0; border: 1px solid #ffa39e; color: #a8071a; }

/* 金额框 */
.amount-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0; }
.amount-box { padding: 12px; border-radius: 4px; text-align: center; }
.amount-box .label { font-size: 11px; color: #666; margin-bottom: 4px; }
.amount-box .value { font-size: 18px; font-weight: 600; }
.amount-box.receivable { background: #fff1f0; }
.amount-box.receivable .value { color: #ff4d4f; }
.amount-box.payable { background: #e6f7ff; }
.amount-box.payable .value { color: #1890ff; }
.amount-box.profit { background: #f6ffed; }
.amount-box.profit .value { color: #52c41a; }

/* 面包屑 */
.breadcrumb { font-size: 13px; color: #888; margin-bottom: 12px; }
.breadcrumb a { color: #4a90d9; text-decoration: none; cursor: pointer; }
.breadcrumb .sep { margin: 0 6px; }

/* 上传区 */
.upload-area { border: 2px dashed #d9d9d9; border-radius: 4px; padding: 20px; text-align: center; cursor: pointer; background: #fafafa; }
.upload-area:hover { border-color: #4a90d9; background: #f5f9ff; }
.upload-area .icon { font-size: 28px; color: #bbb; margin-bottom: 6px; }
.upload-area .text { font-size: 12px; color: #666; padding: 0 8px; line-height: 1.5; }
.file-item { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; background: #f5f5f5; border-radius: 3px; margin-bottom: 4px; font-size: 13px; }
.file-item .remove { color: #ff4d4f; cursor: pointer; }
.file-item .file-del { margin-left: 8px; color: #ff4d4f; border-color: #ffd6d6; flex-shrink: 0; }

/* 分页 */
.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 6px; padding: 12px 0; }
.pagination .page-btn { width: 28px; height: 28px; border: 1px solid #d9d9d9; background: #fff; border-radius: 3px; cursor: pointer; font-size: 13px; }
.pagination .page-btn.active { background: #4a90d9; color: #fff; border-color: #4a90d9; }
.pagination .page-info { font-size: 13px; color: #666; margin-right: 10px; }

/* toast */
.toast { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); padding: 10px 20px; border-radius: 4px; color: #fff; font-size: 14px; z-index: 9999; display: none; }
.toast.show { display: block; animation: fadeIn 0.3s; }
.toast.success { background: #52c41a; }
.toast.error { background: #ff4d4f; }
.toast.info { background: #4a90d9; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(-50%) translateY(-10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

.hidden { display: none !important; }

/* ===== 发布询价页（居中卡片） ===== */
.pub-wrap { display: flex; justify-content: center; align-items: flex-start; gap: 12px; padding: 8px 12px 32px; }
.pub-card { width: 100%; max-width: 820px; background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); border: 1px solid #e8e8e8; }
.pub-card .pub-header { padding: 16px 24px; border-bottom: 1px solid #f0f0f0; background: #fafcff; border-radius: 8px 8px 0 0; }
.pub-card .pub-header h3 { margin: 0; font-size: 16px; color: #1a3a6b; }
.pub-card .pub-header .sub { font-size: 12px; color: #999; margin-top: 4px; }
.pub-card .pub-body { padding: 20px 24px; }
.pub-section { margin-bottom: 18px; }
.pub-section-title { font-size: 13px; font-weight: 600; color: #1a3a6b; margin-bottom: 12px; padding-left: 8px; border-left: 3px solid #4a90d9; }
/* 20260914：高频区（项目备注+附件）并排 */
.pub-top-row { display: flex; gap: 18px; margin-bottom: 18px; }
.pub-top-left { flex: 0 0 66%; }
.pub-top-right { flex: 1; }
.pub-remark-area { min-height: 132px; resize: vertical; }
/* 20260914/20260915：发布页侧边操作按钮——吸附在卡片（中间操作区）右侧边框，滚动时sticky跟随 */
.pub-side-actions { width: 96px; flex-shrink: 0; position: sticky; top: 103px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 6px; background: rgba(255,255,255,0.95); border: 1px solid #d9d9d9; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.12); z-index: 40; }
.pub-side-actions .btn { min-width: 80px; height: 30px; padding: 0 10px; font-size: 12px; line-height: 30px; white-space: nowrap; }
.pub-side-actions .hint { font-size: 11px; color: #999; max-width: 84px; line-height: 1.5; margin-top: 2px; }
/* 页面过窄：按钮保持吸附卡片右缘（sticky 竖排），锁定按钮自身高度，不变形不增高 */
@media (max-width: 1100px) {
  .pub-wrap { justify-content: flex-start; align-items: flex-start; }
  .pub-side-actions { position: sticky; top: 103px; width: 96px; flex-shrink: 0; flex-direction: column; align-items: center; gap: 8px; }
  .pub-side-actions .btn { height: 30px; min-width: 80px; flex: 0 0 auto; }
  .pub-side-actions .hint { display: none; }
}
/* 20260914：分页每页条数选择 */
.page-size { display: inline-flex; align-items: center; gap: 4px; margin-left: 12px; font-size: 12px; color: #666; }
.page-size select { height: 26px; border: 1px solid #d9d9d9; border-radius: 3px; background: #fff; padding: 0 4px; }
/* 20260914：关联组进度链接 */
.rel-link { color: #4a90d9; cursor: pointer; font-weight: 600; text-decoration: none; border-bottom: 1px dashed #91caff; }
.rel-link:hover { color: #1677ff; }
.rel-link.rel-hot { color: #fa8c16; border-bottom-color: #fa8c16; }
/* 发布页小图标按钮 */
.btn-mini { display: inline-flex; align-items: center; justify-content: center; padding: 5px 10px; border-radius: 4px; border: 1px solid #d9d9d9; background: #fff; cursor: pointer; font-size: 14px; line-height: 1; }
.btn-mini:hover { border-color: #4a90d9; background: #f0f7ff; }
.pub-footer { padding: 14px 24px 20px; border-top: 1px solid #f0f0f0; display: flex; gap: 10px; align-items: center; }
.pub-footer .hint { font-size: 12px; color: #999; margin-left: auto; }


/* ===== Excel 在线预览 ===== */
.preview-modal { width: 92%; max-width: 1100px; }
.preview-modal .modal-body { max-height: 72vh; overflow: auto; }
.sheet-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.sheet-tab { padding: 4px 14px; background: #f5f5f5; border: 1px solid #d9d9d9; border-radius: 3px; cursor: pointer; font-size: 13px; color: #555; }
.sheet-tab.active { background: #4a90d9; color: #fff; border-color: #4a90d9; }
#previewSheetWrap { overflow: auto; max-height: 58vh; border: 1px solid #e8e8e8; border-radius: 4px; }
#previewSheetWrap table { border-collapse: collapse; font-size: 12px; }
#previewSheetWrap td, #previewSheetWrap th { border: 1px solid #d9d9d9; padding: 4px 8px; white-space: nowrap; }
#previewSheetWrap th { background: #f0f5ff; font-weight: 600; position: sticky; top: 0; }
#previewSheetWrap tr:nth-child(even) td { background: #fafafa; }


/* ===== 项目地区快速选择 ===== */
.region-modal { width: 92%; max-width: 920px; }
.region-modal .modal-body { max-height: 70vh; overflow: auto; }
.region-group { margin-bottom: 16px; }
.region-group-title { font-weight: 600; color: #333; margin-bottom: 8px; border-left: 3px solid #4a90d9; padding-left: 8px; font-size: 14px; }
.province-list { display: flex; flex-wrap: wrap; gap: 8px; }
.province-chip { padding: 5px 14px; border: 1px solid #d9d9d9; border-radius: 4px; cursor: pointer; font-size: 13px; background: #fff; color: #333; transition: all .15s; }
.province-chip:hover { border-color: #4a90d9; color: #4a90d9; }
.province-chip.active { background: #4a90d9; color: #fff; border-color: #4a90d9; }
.city-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px 12px; padding: 12px; background: #f7f9fc; border-radius: 6px; }
.city-chip { padding: 4px 12px; border: 1px solid #e0e0e0; border-radius: 4px; cursor: pointer; font-size: 13px; background: #fff; color: #333; transition: all .15s; }
.city-chip:hover { border-color: #52c41a; color: #52c41a; }

/* ===== 附件上传进度条 ===== */
.upload-progress-bar { height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden; margin-top: 4px; }
.upload-progress-inner { height: 100%; background: linear-gradient(90deg,#4a90d9,#52c41a); border-radius: 4px; transition: width .3s; }

/* ===== 20260910 管理页重构：单价设置行 ===== */
.price-item-row { display:flex; align-items:center; gap:10px; padding:7px 12px; margin-bottom:8px; background:#f8fafc; border:1px solid #e5e9f0; border-radius:4px; }
.price-item-label { flex:0 0 60px; font-weight:600; color:#333; }
.price-item-input { width:130px; }
.price-item-unit { color:#888; font-size:13px; }
.price-item-switch { display:flex; align-items:center; font-size:13px; color:#555; cursor:pointer; }
.price-item-switch input { margin-right:4px; }

/* 20260911 增强：城市标色 / 派发平铺 / 分页 */
.city-chip.active { background: #52c41a; color: #fff; border-color: #52c41a; }
.dispatch-quoter-card { border: 1px solid #e0e0e0; border-radius: 6px; padding: 8px 12px; margin-bottom: 6px; cursor: pointer; background: #fff; transition: all .15s; display: flex; justify-content: space-between; align-items: center; }
.dispatch-quoter-card:hover { border-color: #4a90d9; }
.dispatch-quoter-card.active { border-color: #4a90d9; background: #e6f7ff; box-shadow: inset 3px 0 0 #4a90d9; }
.dispatch-quoter-card .name { font-weight: 600; }
.dispatch-quoter-card .studio { color: #888; font-weight: 400; font-size: 12px; margin-left: 8px; }
.dispatch-quoter-card .phone { color: #666; font-size: 13px; }
.page-btn { min-width: 28px; height: 28px; border: 1px solid #d9d9d9; background: #fff; border-radius: 4px; cursor: pointer; font-size: 12px; }
.page-btn:hover { border-color: #4a90d9; color: #4a90d9; }
.page-btn.active { background: #4a90d9; color: #fff; border-color: #4a90d9; }

/* ============================================================
   20260915 整体美化：操作醒目 / 关键信息强调 / 布局修复
   ============================================================ */

/* —— 修复：Tab栏在水平滚动时不再侵入左侧边栏 —— */
.sidebar { z-index: 50; }

/* —— 顶栏 —— */
.topbar { background: linear-gradient(90deg, #16293f 0%, #1a3a5c 55%, #2c5f8a 100%); box-shadow: 0 2px 10px rgba(0,0,0,.28); }

/* —— 侧边栏菜单：更醒目、路径更短 —— */
.sidebar .menu-item { padding: 11px 18px; font-size: 14px; gap: 10px; letter-spacing: .3px; }
.sidebar .menu-item:hover { background: #3d566e; color: #fff; padding-left: 22px; }
.sidebar .menu-item.active { background: #24435f; color: #fff; border-left-color: #4a90d9; }
.sidebar .menu-group { padding: 12px 0; }

/* —— 按钮：更大、带阴影、有按压缩放 —— */
.btn { padding: 7px 16px; font-size: 14px; border-radius: 4px; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(74,144,217,.28); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary { background: linear-gradient(180deg, #4a90d9, #3a7bc8); box-shadow: 0 2px 6px rgba(74,144,217,.35); }
.btn-primary:hover { background: linear-gradient(180deg, #5a9ce0, #4687d2); box-shadow: 0 4px 12px rgba(74,144,217,.45); }
.btn-success { background: linear-gradient(180deg, #52c41a, #45a815); }
.btn-success:hover { background: linear-gradient(180deg, #5ed02a, #4cb81c); }
.btn-danger { background: linear-gradient(180deg, #ff4d4f, #e64547); }
.btn-danger:hover { background: linear-gradient(180deg, #ff6666, #ef4f51); }
.btn-warning { background: linear-gradient(180deg, #faad14, #e8960c); }
.btn-warning:hover { background: linear-gradient(180deg, #ffbb38, #f2a016); }
.btn-sm { padding: 5px 11px; font-size: 12.5px; border-radius: 4px; }
.btn-link { font-weight: 600; }

/* —— 列表行内操作小按钮（ops-group 紧凑排列，鼠标移动路径短） —— */
.ops-group { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.btn-mini { display: inline-flex; align-items: center; gap: 3px; padding: 4px 11px; border-radius: 4px;
  border: 1px solid #d9d9d9; background: #fff; color: #333; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all .15s; }
.btn-mini:hover { border-color: #4a90d9; color: #4a90d9; box-shadow: 0 2px 6px rgba(74,144,217,.25); transform: translateY(-1px); }
.btn-mini-primary { background: #e6f4ff; border-color: #91caff; color: #1677ff; }
.btn-mini-primary:hover { background: #1677ff; color: #fff; border-color: #1677ff; }
.btn-mini-success { background: #f6ffed; border-color: #b7eb8f; color: #389e0d; }
.btn-mini-success:hover { background: #52c41a; color: #fff; border-color: #52c41a; }
.btn-mini-danger { background: #fff1f0; border-color: #ffa39e; color: #ff4d4f; }
.btn-mini-danger:hover { background: #ff4d4f; color: #fff; border-color: #ff4d4f; }
.btn-mini-warn { background: #fff7e6; border-color: #ffd591; color: #fa8c16; }
.btn-mini-warn:hover { background: #fa8c16; color: #fff; border-color: #fa8c16; }

/* —— 关键信息强调：项目地区（橙）/ 品牌（蓝） —— */
.key-tag { display: inline-block; padding: 2px 11px; border-radius: 4px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.key-tag-region { background: #fff7e6; color: #d46b08; border: 1px solid #ffd591; box-shadow: 0 1px 3px rgba(250,173,20,.18); }
.key-tag-brand { background: #e6f4ff; color: #0958d9; border: 1px solid #91caff; box-shadow: 0 1px 3px rgba(22,119,255,.18); }

/* —— 表格：斑马纹、更清晰的表头 —— */
.table { font-size: 13.5px; }
.table th { background: #eef3fa; color: #1a3a5c; padding: 11px 10px; }
.table td { padding: 11px 10px; }
.table tbody tr:nth-child(even) { background: #fafcff; }
.table tbody tr:hover { background: #e8f3ff !important; }
.table a.btn-link { color: #1677ff; font-weight: 600; }
.table a.btn-link:hover { color: #0958d9; text-decoration: underline; }

/* —— 卡片 —— */
.card { border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.card-header { padding: 14px 18px; }
.card-header h3 { font-size: 15px; }

/* —— 统计卡片 —— */
.stat-card { border-radius: 6px; border-left: 4px solid #4a90d9; transition: all .2s; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.stat-card .value { font-size: 26px; }
.stat-card .label { font-size: 13px; letter-spacing: .5px; }

/* —— 快速筛选 —— */
.quick-filter { padding: 6px 14px; font-size: 13.5px; border-radius: 6px; font-weight: 500; }
.quick-filter:hover { transform: translateY(-1px); }
.quick-filter.active { box-shadow: 0 2px 6px rgba(74,144,217,.4); }

/* —— 状态标签 —— */
.tag { padding: 3px 10px; font-size: 12.5px; font-weight: 600; }

/* —— 详情页：网格卡片化、标题带色条 —— */
.detail-grid { background: #f8fafc; border: 1px solid #eef1f5; border-radius: 6px; padding: 12px 16px; }
.detail-item .value { font-weight: 500; }
.detail-section h4 { font-size: 15px; padding-left: 10px; border-left: 3px solid #4a90d9; }

/* —— 表单聚焦 —— */
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: #4a90d9; box-shadow: 0 0 0 3px rgba(74,144,217,.12); }

/* —— 弹窗：柔和入场 —— */
.modal { border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.25); animation: modalIn .18s ease-out; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* —— Tab栏 —— */
.tab-bar { background: #eef2f7; padding-top: 8px; }
.tab-item { font-size: 13.5px; padding: 7px 14px; }
.tab-item.active { border-top-width: 3px; }

/* —— 面包屑 —— */
.breadcrumb { font-size: 13.5px; }

/* —— 发布页卡片 —— */
.pub-card { border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.08); }

/* —— 时间线圆点 —— */
.timeline-item::before { box-shadow: 0 0 0 3px rgba(74,144,217,.18); }

/* ============ 20260918 微信绑定二维码弹窗 ============ */
.wechat-qr-overlay { z-index: 9999 !important; }
.wechat-qr-modal { width: 420px; max-width: 92vw; }
.wechat-qr-modal .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #f0f0f0; font-weight: 600; }
.wechat-qr-modal .modal-close { cursor: pointer; font-size: 20px; color: #999; line-height: 1; }
.wechat-qr-modal .modal-close:hover { color: #ff4d4f; }
.wechat-qr-modal #wechatQrBox canvas, .wechat-qr-modal #wechatQrBox img { display: block; }
