/* ===== 设计令牌 ===== */
:root {
  --primary: #3459e6;
  --primary-dark: #2644c4;
  --primary-light: #eaf0ff;
  --sidebar-bg: #101a31;
  --sidebar-bg2: #16223d;
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #1d2739;
  --text-sub: #6b7689;
  --border: #e8ecf3;
  --shadow: 0 2px 12px rgba(22, 34, 61, .06);
  --shadow-lg: 0 8px 32px rgba(22, 34, 61, .12);
  --radius: 12px;
  --el-color-primary: #3459e6;
  --el-border-radius-base: 8px;
  --el-font-size-base: 14px;
}

* { box-sizing: border-box; }
[v-cloak] { display: none; }
html, body { height: 100%; margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ===== 登录页 ===== */
.login-page {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f1b38 0%, #1a2f5f 45%, #2847a0 100%); overflow: hidden;
}
.login-bg { position: absolute; inset: 0; overflow: hidden; }
.login-shape { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .16; }
.shape-1 { width: 620px; height: 620px; background: #6fa0ff; top: -220px; right: -180px; }
.shape-2 { width: 460px; height: 460px; background: #9d7bff; bottom: -180px; left: -120px; }
.shape-3 { width: 260px; height: 260px; background: #4fd0c0; top: 55%; left: 62%; opacity: .1; }
.login-card {
  position: relative; z-index: 2; width: 420px; padding: 44px 42px 32px;
  background: rgba(255,255,255,.97); border-radius: 20px; box-shadow: 0 24px 80px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}
.login-brand { text-align: center; margin-bottom: 32px; }
.brand-mark { width: 300px; max-width: 100%; margin: 0 auto 18px; }
.brand-mark img { display: block; width: 100%; height: auto; }
.login-brand h1 { font-size: 24px; margin: 0 0 6px; color: #16213b; letter-spacing: .5px; }
.login-brand p { margin: 0; font-size: 11px; color: #94a0b5; letter-spacing: 1px; }
.login-form .el-form-item { margin-bottom: 20px; }
.login-form .el-input__wrapper { padding: 4px 12px; box-shadow: 0 0 0 1px #dfe5ef inset; }
.login-btn { width: 100%; height: 46px; font-size: 16px; letter-spacing: 6px; font-weight: 600;
  background: linear-gradient(90deg, #3a60ea, #2a4bcf); border: none; box-shadow: 0 8px 20px rgba(52,89,230,.3); }
.login-btn:hover { background: linear-gradient(90deg, #2f54e0, #2340bd); }
.login-footer { text-align: center; margin-top: 24px; font-size: 12px; color: #a4adbd; }

/* ===== 主框架 ===== */
.app-shell { height: 100vh; }
.sidebar {
  background: linear-gradient(180deg, var(--sidebar-bg) 0%, var(--sidebar-bg2) 100%);
  transition: width .25s ease; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 2px 0 12px rgba(16,26,49,.12);
}
.sidebar-logo {
  height: 64px; flex: 0 0 64px; display: flex; align-items: center; justify-content: center;
  padding: 0 12px; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.07); overflow: hidden;
}
.sidebar-logo.collapsed { justify-content: center; padding: 0; }
.logo-full-img { display: block; width: auto; max-width: 190px; height: auto; max-height: 58px; object-fit: contain; object-position: center; }
.logo-mark-img { display: block; width: 38px; height: 38px; object-fit: contain; }
.sidebar-menu-wrap { flex: 1; overflow-y: auto; }
.sidebar-menu { border: 0 !important; padding: 12px 8px; }
.sidebar-menu .el-menu-item {
  height: 46px; line-height: 46px; margin: 3px 0; border-radius: 9px; font-size: 14px; font-weight: 500;
}
.sidebar-menu .el-menu-item:hover { background: rgba(255,255,255,.07) !important; }
.sidebar-menu .el-menu-item.is-active {
  background: linear-gradient(90deg, #3459e6, #4368ef) !important; color: #fff !important;
  box-shadow: 0 4px 14px rgba(52,89,230,.4);
}
.sidebar-menu .el-menu-item .el-icon { font-size: 17px; }
.sidebar-bottom { padding: 12px; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; gap: 8px; }
.user-chip { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.avatar { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: linear-gradient(135deg,#4f7cff,#7a5bff); color:#fff; display:flex;align-items:center;justify-content:center;font-weight:600;font-size:15px; }
.avatar.small { width: 30px; height: 30px; flex-basis: 30px; font-size: 13px; border-radius: 8px; }
.user-meta { display: flex; flex-direction: column; min-width: 0; }
.user-meta strong { color: #fff; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-meta span { color: #7186ae; font-size: 11px; margin-top: 2px; }
.collapse-btn { background: rgba(255,255,255,.07); border: 0; color: #9fb0d0; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: 0 0 32px; }
.collapse-btn:hover { background: rgba(255,255,255,.14); color: #fff; }

.main-container { background: var(--bg); }
.topbar {
  height: 64px; background: #fff; border-bottom: 1px solid var(--border); display: flex;
  align-items: center; justify-content: space-between; padding: 0 26px; flex: 0 0 64px;
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-sub); }
.breadcrumb .bc-home { color: #9aa5b6; }
.breadcrumb strong { color: var(--text); font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.topbar-user { display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 5px 10px; border-radius: 9px; transition: background .2s; }
.topbar-user:hover { background: var(--bg); }
.topbar-user span { font-size: 13px; font-weight: 500; }

.content-area { padding: 24px 26px 32px; overflow-y: auto; }
.page { max-width: 1560px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.page-head h2 { margin: 0 0 6px; font-size: 22px; font-weight: 700; letter-spacing: .3px; }
.subtitle { margin: 0; color: var(--text-sub); font-size: 13px; }
.head-actions { display: flex; gap: 10px; }

/* ===== 卡片与面板 ===== */
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-head h3 { margin: 0; font-size: 16px; font-weight: 600; }
.stat-row { margin-bottom: 18px; }
.stat-card {
  position: relative; overflow: hidden; background: #fff; border-radius: var(--radius); padding: 20px;
  display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow); border: 1px solid var(--border);
  box-sizing: border-box; min-height: 96px;
}
.stat-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; background: var(--accent); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); z-index: 1; }
.stat-info { z-index: 1; }
.stat-value { font-size: 28px; font-weight: 700; line-height: 1.1; color: #1b2436; }
.stat-label { font-size: 13px; color: var(--text-sub); margin-top: 5px; }
/* 项目跟踪卡：去掉标题行，两项与其它卡一样「大数字 + 小标签」，保持四卡等高协调 */
.stat-subs { display: flex; gap: 20px; }
.stat-sub { display: flex; flex-direction: column; gap: 4px; }
.stat-sub-label { font-size: 12px; color: var(--text-sub); white-space: nowrap; }
.stat-sub-value { font-size: 24px; font-weight: 700; color: #1b2436; line-height: 1.1; }
.stat-decor { position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 8%, transparent); }
.dash-row { margin-bottom: 4px; }
.dash-row .panel { height: 100%; }
/* ===== 工作台：中标统计 ===== */
.won-year-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.won-year-chip { display: flex; flex-direction: column; gap: 2px; min-width: 120px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); cursor: pointer; text-align: left; transition: all .18s; }
.won-year-chip:hover { border-color: #9db4ff; }
.won-year-chip.active { border-color: #3459e6; background: #eef3ff; box-shadow: 0 2px 8px rgba(52,89,230,.12); }
.won-year-chip strong { font-size: 13px; color: var(--text-main, #1b2436); }
.won-year-chip span { font-size: 11px; color: var(--text-sub); }
.won-year-chip em { font-style: normal; font-size: 11px; color: #f59e0b; }
.won-year-chip em.ok { color: #10b981; }
.won-target-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 9px 12px; margin-bottom: 14px; border: 1px dashed #cbd8f5; border-radius: 8px; background: #fafcff; }
.won-target-title { font-size: 13px; font-weight: 600; color: #344054; }
.won-target-unit { font-size: 12px; color: var(--text-sub); margin-left: -4px; }
.won-target-result { margin-left: 6px; font-size: 12px; color: var(--text-sub); }
.won-target-result b { color: #3459e6; font-size: 14px; }
.won-target-result.muted { color: #98a2b3; }
.won-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.won-kpi { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; padding: 13px 15px; display: flex; flex-direction: column; gap: 3px; background: var(--bg); }
.won-kpi::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--kpi); }
.won-kpi small { font-size: 12px; color: var(--text-sub); }
.won-kpi strong { font-size: 23px; font-weight: 700; line-height: 1.2; color: var(--text-main, #1b2436); }
.won-kpi span { font-size: 11px; color: var(--text-sub); }
.kpi-blue { --kpi: #3459e6; background: #f2f5ff; }
.kpi-amber { --kpi: #f59e0b; background: #fff8ec; }
.kpi-green { --kpi: #10b981; background: #effbf6; }
.kpi-purple { --kpi: #8b5cf6; background: #f6f2ff; }
.won-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.won-breakdown.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.won-year-bar { cursor: pointer; border-radius: 6px; padding: 4px 6px; margin: -4px -6px 8px; transition: background .16s; }
.won-year-bar:hover { background: #f3f6fd; }
.won-year-bar.active { background: #eef3ff; box-shadow: inset 2px 0 0 #3459e6; }
.won-year-bar.active .won-bar-label { color: #3459e6; font-weight: 600; }
.panel-scope { font-size: 12px; color: var(--text-sub); background: var(--bg); border: 1px solid var(--border); border-radius: 99px; padding: 2px 10px; }
.won-subhead { font-size: 13px; font-weight: 600; color: #344054; margin-bottom: 10px; padding-left: 9px; border-left: 3px solid #3459e6; }
.won-bar-row { margin-bottom: 12px; }
.won-bar-label { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text); margin-bottom: 5px; }
.won-bar-label em { font-style: normal; color: var(--text-sub); margin-left: 4px; }
.won-bar { height: 8px; border-radius: 99px; background: #eef2f8; overflow: hidden; }
.won-bar i { display: block; height: 100%; border-radius: 99px; background: #10b981; min-width: 2px; }
.won-donut-wrap { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.won-donut { width: 120px; height: 120px; border-radius: 50%; flex: 0 0 120px; display: flex; align-items: center; justify-content: center; }
.won-donut-hole { width: 78px; height: 78px; border-radius: 50%; background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px var(--border); }
.won-donut-hole strong { font-size: 22px; color: var(--text-main, #1b2436); }
.won-donut-hole small { font-size: 11px; color: var(--text-sub); }
.won-donut-legend { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.won-legend-item { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text); }
.won-legend-item i { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 10px; }
.won-legend-item b { margin-left: auto; color: var(--text-main, #1b2436); }
.won-recent-title { margin-top: 6px; }
.won-recent-list { display: flex; flex-direction: column; gap: 3px; max-height: 210px; overflow-y: auto; overflow-x: hidden; }
.won-recent-item { text-align: left; border: 1px solid transparent; background: transparent; padding: 7px 8px; border-radius: 8px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; width: 100%; max-width: 100%; min-width: 0; }
.won-recent-item:hover { background: var(--bg); border-color: var(--border); }
.won-recent-name { display: block; max-width: 100%; font-size: 12px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.won-recent-meta { display: block; max-width: 100%; font-size: 11px; color: var(--text-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.quick-actions { display: flex; flex-direction: column; gap: 6px; }
.quick-item { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid transparent; background: transparent; border-radius: 10px; cursor: pointer; text-align: left; transition: all .2s; width: 100%; }
.quick-item:hover { background: var(--bg); border-color: var(--border); }
.quick-item > span:last-child { display: flex; flex-direction: column; }
.quick-item strong { font-size: 14px; color: var(--text); }
.quick-item small { font-size: 12px; color: var(--text-sub); margin-top: 2px; }
.qi-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; flex: 0 0 38px; }
.qi-icon.blue { background: linear-gradient(135deg,#4f7cff,#2f5fe0); }
.qi-icon.purple { background: linear-gradient(135deg,#9b6bff,#7549e8); }
.qi-icon.amber { background: linear-gradient(135deg,#ffb443,#f1901a); }
.qi-icon.green { background: linear-gradient(135deg,#3ec99a,#1eab7c); }

/* ===== 过滤栏与表格 ===== */
.filter-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-spacer { flex: 1; }
.muted { color: var(--text-sub); font-size: 13px; }
.muted b { color: var(--primary); }
.batch-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #f7f9fd; border: 1px solid var(--border); border-radius: 9px; padding: 8px 12px; margin-bottom: 14px; }
.batch-count { font-size: 13px; color: var(--text-sub); }
.batch-count::first-letter { color: var(--primary); }
.dialog-tip { background: var(--primary-light); color: #3a55a8; padding: 10px 14px; border-radius: 8px; font-size: 13px; }
.dialog-tip b { color: var(--primary); font-size: 15px; }
.award-date-filters { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #f7f9fd; border: 1px solid var(--border); border-radius: 9px; padding: 8px 12px; margin-bottom: 12px; }
.adf-label { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-sub); font-weight: 600; }
.adf-item { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #4a5568; }
.adf-item input[type=date] { padding: 4px 7px; border: 1px solid #dcdfe6; border-radius: 6px; font-size: 12px; height: 28px; background: #fff; color: var(--text); }
.adf-sep { color: #c0c4cc; }
.award-price-filters { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff9ef; border: 1px solid #ffe0b2; border-radius: 9px; padding: 8px 12px; margin-bottom: 12px; }
.apf-label { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #b7791f; font-weight: 600; }
.apf-item { display: inline-flex; align-items: center; gap: 8px; }
.apf-op { font-size: 16px; font-weight: 600; color: #d97706; }
.apf-unit { font-size: 12px; color: #b7791f; }
.apf-hint { font-size: 12px; color: #c09a5a; }

/* ===== 标书拼装器 ===== */
.assembler-summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #f0f9f4; border: 1px solid #c6ead6; border-radius: 9px; padding: 10px 14px; margin-bottom: 14px; font-size: 13px; }
.assembler-summary strong { color: #1a7f4b; font-size: 15px; }
.assembler-summary > span { color: #4a7a61; }
.assembler-body { max-height: 60vh; overflow-y: auto; }
.assembler-section { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
.as-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f7f9fc; padding: 10px 14px; }
.as-title { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--text); }
.as-count { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-sub); }
.as-empty { padding: 20px; text-align: center; color: #c0c4cc; font-size: 13px; }
.as-items { padding: 6px 14px; }
.as-check-group { display: block; width: 100%; }
.as-item { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f2f6fc; }
.as-item:last-child { border-bottom: 0; }
.as-item .el-checkbox { flex: 0 0 auto; }
.as-item-title { font-size: 13px; color: var(--text); }
.as-item-file { font-size: 12px; color: #67a23a; }
.as-item-date { margin-left: auto; font-size: 12px; color: #a4adbd; white-space: nowrap; }

/* 模板编辑 - 章节卡片 */
.tpl-section-card { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.tsc-header { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #f7f9fc; }
.tsc-no { font-size: 13px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.tsc-content { padding: 8px 14px 12px; }
.tsc-content-head { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-sub); margin-bottom: 6px; }
.tsc-content-head > span:first-child { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: #4a5568; }
.tsc-collapsed { display: flex; align-items: center; gap: 10px; padding: 6px 2px; cursor: pointer; font-size: 13px; }
.tsc-collapsed:hover { color: var(--primary); }
.tsc-col-text { color: var(--text-sub); }
.tsc-col-text b { color: var(--primary); font-size: 15px; }
.pagination { display: flex; justify-content: flex-end; margin-top: 16px; }
.el-table { border-radius: 8px; }
.el-table th.el-table__cell { background: #f7f9fc !important; color: #4a5568; font-weight: 600; }
.el-table .cell { padding-left: 12px; padding-right: 12px; }

/* ===== 获奖业绩布局 ===== */
.award-layout .panel { height: 100%; }
/* 人员档案初始为空库时，保持与有数据时一致的版面高度，避免两块面板塌成一条 */
.award-layout.person-empty .panel { min-height: 420px; }
.tree-panel { padding-bottom: 8px; }
/* 分类树：面板高度不超过视口，树内部滚动。
   分类多到展开后撑破面板时，前端会自动折叠到只剩一级分类。 */
/* 有树状分类的栏目：整行高度只由右侧卡片的内容决定（表格+分页需要多高就多高）。
   左侧分类卡改成绝对定位铺满该高度——脱离文档流后不再参与行高计算，
   避免长分类树把整行撑到 1600px、右卡底部留出几百像素空白；
   树超出部分在左卡内部滚动，右侧不压缩、不卡内滚动。 */
.award-layout .el-col { display: flex; }
.award-layout > .el-col:first-child { position: relative; }
.award-layout .el-col > .panel { width: 100%; }
.award-layout > .el-col:first-child > .tree-panel {
  position: absolute; top: 0; bottom: 0; left: 8px; right: 8px;
  width: auto; height: auto;
}
.award-layout .tree-panel { display: flex; flex-direction: column; overflow: hidden; }
.award-layout .tree-panel .panel-head { flex: 0 0 auto; }
.award-layout .tree-panel .el-tree { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.tree-fold-btn { padding: 0; font-weight: 500; }
.tree-node { display: flex; align-items: center; justify-content: space-between; width: 100%; padding-right: 8px; }
.tree-node > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree-count { font-size: 11px; color: #9aa5b6; background: #f0f3f9; padding: 1px 7px; border-radius: 10px; white-space: nowrap; }
.tree-root { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border-radius: 7px; cursor: pointer; font-size: 14px; color: #4a5568; margin-bottom: 4px; }
.tree-root:hover { background: #f5f8ff; }
.tree-root.active { background: #eaf1ff; color: var(--primary, #409EFF); font-weight: 600; }
/* 级别下钻子节点：缩进 + 左侧细线，视觉上从属于「项目跟踪列表」 */
.tree-sub { display: flex; align-items: center; justify-content: space-between; padding: 5px 10px 5px 22px; margin: 0 0 2px;
  border-left: 2px solid #eef1f7; margin-left: 12px; border-radius: 0 6px 6px 0; cursor: pointer; font-size: 13px; color: #5b6678; }
.tree-sub:hover { background: #f5f8ff; color: #2f6bd8; }
.tree-sub.active { background: #eaf1ff; color: var(--primary, #409EFF); font-weight: 600; border-left-color: var(--primary, #409EFF); }
.tree-sub-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree-node-right { display: flex; align-items: center; gap: 4px; }
/* 分类 / 标签的编辑、删除按钮：常显，不再悬停才出现 */
.tree-ops { display: flex !important; gap: 0; visibility: visible; opacity: 1; }
.tree-node:hover .tree-ops, .tag-nav-item:hover .tree-ops { opacity: 1; }
.tree-ops .el-button { padding: 2px; margin: 0; height: auto; }
.tree-section-title { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 6px; padding-top: 12px; border-top: 1px solid var(--border); }
.tree-section-title h3 { margin: 0; font-size: 15px; font-weight: 600; }
.tag-nav { display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow: auto; }
.tag-nav-item { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 7px; cursor: pointer; font-size: 13px; color: #4a5568; }
.tag-nav-item:hover { background: #f5f8ff; }
.tag-nav-item.active { background: #eaf1ff; color: var(--primary, #409EFF); font-weight: 600; }
.tag-nav-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag-nav-empty { padding: 12px 10px; font-size: 12px; color: #9aa5b6; }
.tree-count.warning { background: #fdf0e6; color: #d97706; font-weight: 600; }
.project-nav { display: flex; flex-direction: column; gap: 2px; max-height: 340px; overflow: auto; }
.project-node { padding: 8px 10px; border-radius: 7px; cursor: pointer; font-size: 13px; color: #4a5568; }
.project-node:hover { background: #f5f8ff; }
.project-node.active { background: #eaf1ff; color: var(--primary, #409EFF); font-weight: 600; }
.project-name { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1; }
.project-name > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-node:hover .tree-ops { display: flex; }
/* 侧栏「区域动态」：仅做数量统计展示，不参与点击筛选 */
.district-stats { display: flex; flex-direction: column; gap: 2px; max-height: 320px; overflow: auto; padding-right: 2px; }
.district-stat { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 7px; font-size: 13px; color: #4a5568; cursor: pointer; }
.district-stat:hover { background: #f7f9fc; color: #2f6bd8; }
.district-stat.active { background: #eaf1ff; color: var(--primary, #409EFF); font-weight: 600; }
.scope-chip { flex: 0 0 auto; }
.district-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 表头筛选下拉：业主单位等长文本限制宽度并省略，避免弹层被撑得过宽 */
.el-table-filter__list-item { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-tip { display: block; margin-top: 4px; font-size: 12px; line-height: 1.5; }
/* 项目追踪：双表 Tab */
/* 项目追踪顶部标签：两组文件夹页签（每组第一个主标签橙色）
   .el-tabs__nav 首元素是 active-bar，页签从 nth-child(2) 开始 */
.track-tabs .el-tabs__header { margin: 0 0 14px; padding: 0 12px; background: transparent; border-radius: 0; }
.track-tabs .el-tabs__nav-wrap { padding: 0; }
.track-tabs .el-tabs__nav-wrap::after { height: 1px; background: #dfe3e9; left: 0; right: 0; }
.track-tabs .el-tabs__active-bar { display: none; }
.track-tabs .el-tabs__nav { display: flex; align-items: flex-end; gap: 6px; height: 40px; }
/* Element Plus 会把首/末页签的内边距置 0，这里用更高优先级统一格子宽度与居中 */
.track-tabs .el-tabs__nav .el-tabs__item.is-top {
  min-width: 100px; padding: 0 20px !important; text-align: center;
}
.track-tabs .el-tabs__item {
  position: relative; height: 38px; line-height: 36px;
  padding: 0 20px; margin: 0;
  font-size: 13px; font-weight: 600; color: #5c6675;
  background: #fff; border: 1px solid #dfe3e9;
  border-radius: 10px 10px 0 0; box-shadow: 0 -1px 2px rgba(23, 35, 60, .03);
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
/* 第二组与前一组留出分隔 */
.track-tabs .el-tabs__item:nth-child(4) { margin-left: 16px; }
/* 每组第一个：橙色主标签 */
.track-tabs .el-tabs__item:nth-child(2),
.track-tabs .el-tabs__item:nth-child(4) {
  color: #fff; background: #f4511e; border-color: #f4511e;
}
/* 悬停 */
.track-tabs .el-tabs__item:hover { color: #f4511e; background: #fff6f1; border-color: #f4c2ab; }
.track-tabs .el-tabs__item:nth-child(2):hover,
.track-tabs .el-tabs__item:nth-child(4):hover { color: #fff; background: #e8430d; border-color: #e8430d; }
/* 选中：普通页签淡橙底 + 底部橙色指示条；主标签深橙 */
.track-tabs .el-tabs__item.is-active {
  z-index: 2; color: #f4511e; background: #fff8f4; border-color: #f4c2ab; border-bottom-color: #fff;
  box-shadow: inset 0 -3px 0 #f4511e;
}
.track-tabs .el-tabs__item.is-active:nth-child(2),
.track-tabs .el-tabs__item.is-active:nth-child(4) {
  color: #fff; background: #e8430d; border-color: #e8430d;
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .75);
}

.track-tabs .el-tabs__content .filter-bar { margin-top: 0; }
/* 项目信息收集列表：选中项目时的项目信息横幅 */
.track-project-banner { padding: 12px 14px; margin-bottom: 12px; background: #edf4ff; border: 1px solid #d5e3fb; border-radius: 8px; }
.banner-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: #1f2d3d; }
.banner-title strong { font-size: 15px; }
.banner-grid { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 8px; font-size: 12px; color: #667085; }
.banner-grid b { color: #344054; font-weight: 600; }
.cell-sub { margin-top: 3px; font-size: 11px; color: #909399; }
/* 项目追踪：完整显示单元格内容，自动换行不缩略 */
.track-detail-table .el-table__cell .cell { white-space: normal !important; overflow: visible; word-break: break-word; overflow-wrap: anywhere; line-height: 1.5; }
.track-detail-table th.el-table__cell .cell { white-space: nowrap !important; }
.track-detail-table .el-table__cell { vertical-align: top; }
/* 列较多（含筛选/排序图标）时压缩单元格左右内边距，避免出现横向滚动条 */
.track-detail-table .el-table__cell .cell { padding-left: 8px; padding-right: 8px; }
/* 关键词列强制单行省略，避免长关键词把行撑高（覆盖上面的换行规则） */
.track-detail-table .kw-ellipsis .cell { white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; word-break: normal !important; overflow-wrap: normal !important; }
/* 概况列按行内最高单元格的高度缩略显示：最多 4 行，超出省略，不单独撑高整行 */
.track-detail-table .overview-ellipsis .cell {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden !important;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.5;
  text-overflow: ellipsis;
}
/* 项目履约三表（投标信息 / 人员信息 / 标后跟踪） */
.stage-panel { margin-bottom: 14px; padding: 12px 14px; background: #fff; border: 1px solid #e4e7ed; border-radius: 8px; }
.stage-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.stage-head h3 { margin: 0; font-size: 14px; font-weight: 600; color: #1f2d3d; }
.stage-tabs .el-tabs__header { margin-bottom: 10px; }
.stage-tabs .el-tabs__item { font-size: 13px; }
.stage-form { padding-top: 6px; }
.stage-form .el-form-item { margin-bottom: 10px; }
.stage-form .el-form-item__label { font-size: 12px; color: #667085; }
/* 履约三表编辑弹窗 */
.stage-edit-project { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #ebeef5; }
.stage-edit-project strong { font-size: 14px; color: #1f2d3d; }
.stage-edit-hint { margin-bottom: 8px; }
/* Excel 复刻：单元格直接编辑 */
.stage-excel-table { font-size: 12px; }
.stage-excel-table .el-table__header th { padding: 4px 0; font-size: 11px; background: #f5f7fa; }
.stage-excel-table .el-table__cell { padding: 3px 4px !important; }
.stage-excel-table .cell { padding: 0 2px; }
.stage-excel-table .cell-input .el-input__inner { height: 24px; line-height: 24px; border-color: transparent; background: transparent; padding: 0 4px; }
.stage-excel-table .cell-input .el-input__inner:hover, .stage-excel-table .cell-input .el-input__inner:focus { border-color: #409eff; background: #fff; }
.stage-excel-table .cell-select .el-select__wrapper { min-height: 24px; box-shadow: none; background: transparent; }
.stage-excel-table .cell-select .el-select__wrapper:hover, .stage-excel-table .cell-select .el-select__wrapper.is-focused { box-shadow: 0 0 0 1px #409eff inset; background: #fff; }
.stage-excel-table .cell-input-with-btn .el-input__inner { height: 24px; line-height: 24px; }
.stage-excel-table .cell-input-with-btn .el-input-group__append { padding: 0 6px; }
.stage-excel-table .el-table__fixed, .stage-excel-table .el-table__fixed-right { z-index: 2; }
/* 固定列文字居中 */
.stage-excel-table .el-table__fixed .cell, .stage-excel-table .el-table__fixed-right .cell { text-align: center; }
.stage-excel-table .el-table__header th .cell { text-align: center; }
/* 履约表滚动条：与项目跟踪表一致，细细的浅灰，存在感低 */
.stage-excel-table .el-scrollbar__bar.is-horizontal { height: 8px; bottom: 2px; opacity: .8; }
.stage-excel-table .el-scrollbar__bar.is-horizontal .el-scrollbar__thumb { background-color: #cdd5e3; border-radius: 4px; opacity: .8; }
.stage-excel-table .el-scrollbar__bar.is-horizontal:hover .el-scrollbar__thumb { background-color: #b6c2d6; opacity: 1; }
.stage-excel-table .el-scrollbar__bar.is-vertical .el-scrollbar__thumb { background-color: #cdd5e3; }
.stage-excel-table .el-scrollbar__wrap { scrollbar-width: thin; scrollbar-color: #cdd5e3 transparent; }
.stage-excel-table .el-scrollbar__wrap::-webkit-scrollbar { width: 8px; height: 8px; }
.stage-excel-table .el-scrollbar__wrap::-webkit-scrollbar-thumb { background: #cdd5e3; border-radius: 4px; }
.stage-excel-table .el-scrollbar__wrap::-webkit-scrollbar-thumb:hover { background: #b6c2d6; }
.stage-excel-table .el-scrollbar__wrap::-webkit-scrollbar-track { background: transparent; }
/* 表头筛选漏斗：紧凑表头下保证可点区域 */
.stage-excel-table .el-table__header .el-table__column-filter-trigger { margin-left: 2px; }
.stage-excel-table .el-table__header .el-table__column-filter-trigger i { color: #4f77bd; font-size: 13px; }


.stage-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.stage-hint { font-size: 12px; color: #909399; }
.stage-link { margin: 2px 0 10px; font-size: 13px; color: #344054; }
.stage-link b { color: #1f2d3d; }
.banner-grid .banner-kw { flex-basis: 100%; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 概况：完整显示，不再单行省略 */
.banner-grid .banner-overview { flex-basis: 100%; display: block; white-space: normal; word-break: break-word; overflow-wrap: anywhere; line-height: 1.6; }
/* 操作列：四个链接按钮按 2×2 排布（归入/原文 上排，编辑/删除 下排），省横向空间 */
.row-ops-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 6px; row-gap: 2px; align-items: center; }
.row-ops-grid .el-button { margin-left: 0 !important; padding: 0 !important; height: 22px; justify-content: flex-start; white-space: nowrap; }
.row-ops-grid .el-button + .el-button { margin-left: 0 !important; }
/* 金额列：单位已放进表头「金额（万元）」，数值本身不再拼接单位且不换行 */
.amount-cell { white-space: nowrap; }
/* 项目跟踪列表：近 7 天有新动态的项目整行浅色高亮（左侧橙色竖条 + 淡黄底），超过 7 天后端标记失效即自动恢复 */
.track-detail-table .el-table__body tr.track-row-recent > td.el-table__cell { background: #fffaf0 !important; }
.track-detail-table .el-table__body tr.track-row-recent > td.el-table__cell:first-child { box-shadow: inset 3px 0 0 #f59e0b; }
.track-detail-table .el-table__body tr.track-row-recent:hover > td.el-table__cell { background: #fdf3e0 !important; }
/* “新”标记 */
.recent-badge {
  display: inline-block; margin-left: 2px; padding: 0 5px; height: 17px; line-height: 17px;
  font-size: 11px; font-weight: 600; color: #b45309; background: #fef3c7;
  border: 1px solid #fcd34d; border-radius: 9px; vertical-align: middle; cursor: default;
}
/* 工具条图例 */
.recent-legend {
  display: inline-flex; align-items: center; gap: 5px; margin-right: 12px;
  padding: 1px 9px; font-size: 12px; color: #b45309;
  background: #fffaf0; border: 1px solid #fcd34d; border-radius: 10px;
}
.recent-legend i { width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; display: inline-block; }
.raw-links { margin-top: 12px; padding: 10px 12px; background: #f0f7ff; border: 1px solid #d9e8fb; border-radius: 8px; font-size: 12px; line-height: 1.9; word-break: break-all; }
/* 动态原文：自绘网格，避免长链接把描述表挤变形 */
.raw-detail {
  display: grid; grid-template-columns: 104px minmax(0, 1fr) 84px minmax(0, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
}
.raw-detail-cell { background: #fff; padding: 8px 12px; font-size: 13px; line-height: 1.65; color: var(--text); word-break: break-all; }
.raw-detail-label { background: #f7f9fc; color: var(--text-sub); font-weight: 500; white-space: nowrap; }
.raw-detail-span3 { grid-column: span 3; }
.raw-detail-link { white-space: normal; word-break: break-all; }
.raw-detail-link .el-link__inner { word-break: break-all; }
.raw-json-title { margin: 18px 0 8px; font-size: 13px; font-weight: 600; color: var(--text-main, #303133); }
.raw-json-hint { margin: 18px 0 4px; font-size: 12px; color: var(--text-sub); }
.raw-json { margin: 0; padding: 14px; background: var(--bg, #f7f9fc); border: 1px solid var(--border); border-radius: 8px; max-height: 320px; overflow: auto; font-size: 12px; line-height: 1.6; white-space: pre-wrap; word-break: break-all; }
.import-step { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.import-step-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: var(--text-main, #303133); }
.mapping-form .el-form-item { margin-bottom: 8px; }
.mapping-form .el-form-item__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mapping-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; padding: 8px 10px; background: #f5f8ff; border: 1px solid #e2eafd; border-radius: 8px; font-size: 12px; }
.mapping-hint-label { color: #4a5b7a; font-weight: 600; }
.mapping-field-tag { margin: 0; background: #fff; border-color: #cfdcfb; color: #3459e6; }
.mapping-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 10px; }
.mapping-summary .el-tag { max-width: 100%; white-space: normal; height: auto; line-height: 1.5; padding: 2px 8px; }
.mapping-unmapped { margin: 0 0 12px; padding: 7px 10px; background: #fdf9ee; border: 1px solid #f2e6c8; border-radius: 8px; font-size: 12px; line-height: 1.75; color: #8a6a1f; }
.mapping-unmapped-title { font-weight: 600; color: #b07d12; margin-right: 2px; }
.mapping-unmapped-names { word-break: break-word; }
.mapping-item.unmapped .el-form-item__label { color: #c45656; }
.mapping-item.unmapped .el-select__wrapper { box-shadow: 0 0 0 1px #e8b4b4 inset; }
.import-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.import-counts { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.empty-hint { padding: 40px 20px; text-align: center; color: #9aa5b6; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.empty-hint.big { flex-direction: column; gap: 12px; font-size: 15px; }
.empty-hint.big .el-icon { font-size: 44px; color: #cfd8e8; }

/* ===== 检索 ===== */
.search-hero { padding: 6px 0 18px; }
.search-hero .el-input__wrapper { box-shadow: 0 0 0 1px #dfe5ef inset; }
.search-opts { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.search-results { margin-top: 6px; border-top: 1px solid var(--border); padding-top: 16px; }
.search-subhead { font-size: 13px; font-weight: 600; color: #3459e6; padding: 6px 0 8px; border-left: 3px solid #3459e6; padding-left: 9px; margin-bottom: 6px; }
.search-award-group { margin-bottom: 18px; }

/* ===== 业绩奖项记录表：列宽按内容比例分配，长内容自动换行完整显示（不省略、不隐藏） ===== */
.award-records-table .el-table__cell { vertical-align: top; }
.award-records-table .el-table__cell .cell {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.award-records-table th.el-table__cell .cell { white-space: nowrap !important; }

/* ===== 标签网格 ===== */
.tag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tag-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; }
.tag-card > div:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.tag-card strong { font-size: 14px; }
.tag-card small { font-size: 11px; color: var(--text-sub); margin-top: 2px; }
.tag-dot { width: 14px; height: 14px; border-radius: 50%; }
.tag-card-ops { display: flex; gap: 2px; }

/* ===== 弹窗内容 ===== */
.view-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; font-size: 12px; color: var(--text-sub); }
.view-content { white-space: pre-wrap; line-height: 1.8; font-size: 14px; max-height: 55vh; overflow-y: auto; background: var(--bg); padding: 18px; border-radius: 8px; }
.view-footer-tip { float: left; font-size: 12px; color: var(--text-sub); line-height: 32px; }
.upload-zone .el-upload-dragger { width: 100%; }
.upload-icon { font-size: 48px; color: #a8c0ff; margin-bottom: 8px; }
.import-section-list { max-height: 420px; overflow-y: auto; border: 1px solid var(--border, #e5e7eb); border-radius: 6px; }
.import-section-item { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-bottom: 1px solid var(--border, #eef0f4); cursor: pointer; }
.import-section-item:last-child { border-bottom: 0; }
.import-section-item:hover { background: var(--primary-light, #f3f6ff); }
.import-section-item .el-checkbox { margin-right: 0; }
.isi-title { flex: 1 1 260px; min-width: 180px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.isi-len { flex: 0 0 72px; text-align: right; color: var(--text-sub, #909399); font-size: 12px; }
.isi-sample { flex: 0 1 280px; color: var(--text-sub, #a8abb2); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.structure-editor { width: 100%; }
.struct-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
/* 分类弹窗：上级分类下拉（只列一级分类，带层级标签与子分类数） */
.cat-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.cat-opt-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-opt-meta { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.cat-opt-count { font-size: 12px; color: var(--text-sub, #909399); }
.el-select-dropdown__item:has(.cat-opt) { height: auto; line-height: 30px; }
.cat-level-hint { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--text-sub, #909399); line-height: 18px; }
.backup-tip { display: flex; align-items: center; gap: 8px; background: var(--primary-light); color: #3a55a8; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.panel-tabs .el-tabs__content { padding: 0; }

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #cdd5e3; border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

@media (max-width: 1100px) {
  .stat-row .el-col { flex: 0 0 50% !important; max-width: 50% !important; }
  .dash-row .el-col { flex: 0 0 100% !important; max-width: 100% !important; }
  .won-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .won-breakdown { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== 质感增强（纯视觉，不影响布局与功能） ===== */
/* 数字等宽对齐：金额、编号、统计值纵向对齐更整齐 */
.stat-value, .won-kpi strong, .amount-cell, .tree-count,
.el-table .cell, .won-bar-label { font-variant-numeric: tabular-nums; }

/* 按钮按压反馈：点击更有手感 */
.el-button:active { transform: translateY(1px); }
.el-button:not(.is-disabled):active { box-shadow: inset 0 2px 6px rgba(0,0,0,.08); }

/* 卡片/面板悬停轻微抬升，增强层次 */
.stat-card, .panel { transition: box-shadow .22s ease, transform .22s ease; }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(22,34,61,.12); }

/* 表格行柔和高亮，密集数据更易跟随 */
.el-table__body tr:hover > td.el-table__cell { background: #f3f7ff !important; }
.el-table__body tr.current-row > td.el-table__cell { background: #eaf1ff !important; }

/* 键盘焦点清晰可见（可访问性） */
.el-button:focus-visible, .el-input__wrapper:focus-within,
.el-menu-item:focus-visible, .collapse-btn:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 2px;
}

/* 空状态更友好 */
.el-table__empty-block { min-height: 180px; }
.el-table__empty-text { color: #9aa5b6; font-size: 13px; }

/* 折叠/展开等图标按钮过渡 */
.tsc-collapsed, .collapse-btn { transition: color .18s ease, background .18s ease; }

/* ===== 小屏自适应（1280/1366 笔记本：优先保证表格可读） ===== */
@media (max-width: 1366px) {
  .content-area { padding: 16px 16px 24px; }
  .page-head { margin-bottom: 14px; }
  .page-head h2 { font-size: 20px; }
  .panel { padding: 14px 14px; }
  .panel-head { margin-bottom: 12px; }

  /* 左树右表改为上下堆叠：分类树在上（限高、可横向滚动），表格占满整行 */
  .award-layout > .el-col { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
  /* 堆叠模式恢复普通文档流：树卡按自身内容高度排在上面，不再绝对定位 */
  .award-layout > .el-col:first-child > .tree-panel {
    position: static; top: auto; bottom: auto; left: auto; right: auto;
    width: 100%; height: auto;
  }
  .award-layout .tree-panel { margin-bottom: 12px; }
  .award-layout .tree-panel .el-tree,
  .award-layout .tree-panel .district-stats,
  .award-layout .tree-panel .tag-nav { max-height: 130px; overflow-y: auto; }

  /* 表格高度改为更充分利用纵向空间 */
  .award-records-table { height: calc(100vh - 300px) !important; }
  .el-table .cell { padding-left: 8px; padding-right: 8px; }
  .el-table th.el-table__cell, .el-table td.el-table__cell { padding: 6px 0; }

  /* 顶部筛选区更紧凑 */
  .filter-bar { margin-bottom: 10px; gap: 8px; }
  .award-date-filters, .award-price-filters { padding: 6px 10px; gap: 10px; }
  .won-breakdown.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .won-breakdown.three > .won-break-col:nth-child(3) { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .content-area { padding: 12px 12px 20px; }
  .head-actions { flex-wrap: wrap; }
  .award-records-table { height: calc(100vh - 280px) !important; }
  .won-breakdown.three { grid-template-columns: 1fr; }
}

/* 结构化条件搜索 */
.search-mode-switch { margin-bottom: 16px; }
.struct-wrap { padding-top: 2px; }
.struct-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px; background: var(--el-fill-color-lighter); border-radius: 8px; margin-bottom: 16px; }
.struct-label { font-size: 13px; color: var(--el-text-color-regular); white-space: nowrap; }
.struct-group { border: 1px solid var(--el-border-color-lighter); border-radius: 8px; margin-bottom: 12px; background: #fff; }
.struct-group-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--el-fill-color-lighter); border-bottom: 1px solid var(--el-border-color-lighter); flex-wrap: wrap; }
.struct-group-index { width: 24px; height: 24px; border-radius: 50%; background: var(--el-color-primary-light-9); color: var(--el-color-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.struct-group-body { padding: 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.struct-cond { display: flex; align-items: center; gap: 8px; width: 100%; flex-wrap: wrap; padding: 6px 0; }
.struct-cond + .struct-cond { border-top: 1px dashed var(--el-border-color-lighter); }
.struct-logic { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px dashed var(--el-border-color); border-radius: 8px; background: var(--el-fill-color-lighter); margin: 4px 0 10px; }
.struct-logic .el-radio-group { flex-wrap: wrap; }
.struct-logic-hint { font-size: 12px; color: var(--el-color-primary); }
.struct-expr { padding: 2px 10px; border-radius: 6px; background: var(--el-color-primary-light-9); border: 1px dashed var(--el-color-primary-light-5); color: var(--el-color-primary); font-size: 12px; font-weight: 600; letter-spacing: .5px; }
.struct-join { display: flex; justify-content: center; align-items: center; gap: 10px; margin: -2px 0 6px; }
.struct-join .el-radio-button__inner { padding: 3px 14px; }
.struct-join-note { font-size: 12px; color: var(--el-text-color-secondary); }
.struct-and-hint { text-align: center; font-size: 12px; color: var(--el-text-color-secondary); margin: 4px 0 12px; }
.struct-cert-filter { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; width: 100%; padding: 6px 10px; border-radius: 8px; background: var(--el-fill-color-lighter); margin-bottom: 8px; }
.struct-cert-filter .el-checkbox { margin-right: 0; }
.struct-date { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; background: var(--el-fill-color-lighter); }
.struct-date .el-date-editor { --el-date-editor-width: 230px; }
.struct-now { padding: 0 2px; height: 24px; font-size: 12px; }
.struct-date-note { width: 100%; margin-top: -4px; font-size: 12px; line-height: 1.6; color: var(--el-color-warning-dark-2); }
.struct-date-hint { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -2px 0 12px; padding: 6px 10px; border: 1px solid var(--el-color-warning-light-5); border-radius: 6px; background: var(--el-color-warning-light-9); font-size: 12px; color: var(--el-color-warning-dark-2); }
.struct-date-hint .el-icon { color: var(--el-color-warning); }
.sdh-text { flex: 1; min-width: 240px; }
.struct-funnel { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -2px 0 12px; font-size: 12px; color: var(--el-text-color-regular); }
.struct-funnel-label { padding: 2px 8px; border-radius: 10px; background: var(--el-color-primary-light-9); color: var(--el-color-primary); font-weight: 600; }
.struct-funnel-step { padding: 2px 8px; border-radius: 6px; background: var(--el-fill-color-light); }
.struct-funnel-step b { margin-left: 4px; color: var(--el-color-primary); }
.struct-funnel-step.dead { background: var(--el-color-danger-light-9); color: var(--el-color-danger); }
.struct-funnel-step.dead b { color: var(--el-color-danger); }
.struct-funnel-arrow { color: var(--el-text-color-placeholder); }
.struct-funnel-tip { color: var(--el-color-danger); }
.struct-combo-hint { margin: 8px 0 4px; padding: 8px 12px; border: 1px solid #fde3a7; border-radius: 6px; background: #fff8e8; color: #a15c00; font-size: 12px; line-height: 1.6; }
/* 组合搜索：预估命中数 / 分类数量 / 分组取数 */
.struct-combo-hint { display: flex; align-items: center; gap: 12px; }
.struct-total { font-size: 12px; white-space: nowrap; }
.struct-est { font-size: 12px; color: #409EFF; background: #ecf5ff; border-radius: 10px; padding: 2px 8px; white-space: nowrap; }
.struct-est.zero { color: #e6a23c; background: #fdf6ec; }
.opt-count { float: right; color: var(--el-text-color-secondary); font-size: 12px; margin-left: 12px; }
.struct-viewbar { display: flex; align-items: center; gap: 12px; margin: 10px 0; flex-wrap: wrap; }
.struct-by-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin: 10px 0 14px; }
.struct-bg-card { border: 1px solid var(--el-border-color-lighter); border-radius: 8px; padding: 12px; background: #fff; }
.struct-bg-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.struct-bg-head span { color: var(--el-color-primary); font-weight: 600; white-space: nowrap; }
.struct-bg-row { display: flex; gap: 8px; align-items: center; padding: 5px 0; border-top: 1px dashed var(--el-border-color-lighter); font-size: 12px; }
.struct-bg-name { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.struct-bg-meta { color: var(--el-text-color-regular); max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.struct-bg-sub { color: var(--el-text-color-secondary); white-space: nowrap; }
.struct-near { border: 1px dashed var(--el-border-color); border-radius: 8px; padding: 10px 12px; background: var(--el-fill-color-lighter); }
.struct-near-head { font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--el-text-color-primary); }
.struct-near-row { display: flex; gap: 10px; align-items: baseline; font-size: 12px; padding: 3px 0; border-top: 1px dashed var(--el-border-color-lighter); }
.struct-near-row:first-of-type { border-top: none; }
.struct-near-name { font-weight: 600; min-width: 84px; }
.struct-near-miss { color: var(--el-color-warning); min-width: 150px; }
.struct-near-meta { color: var(--el-text-color-secondary); }
.struct-actions { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.struct-result { border-top: 1px solid var(--el-border-color-lighter); padding-top: 14px; }
.struct-cards { display: flex; flex-direction: column; gap: 10px; }
.struct-card {
  border: 1px solid var(--el-border-color-lighter); border-radius: 10px; padding: 12px 14px 13px;
  background: #fff; transition: border-color .18s, box-shadow .18s;
}
.struct-card:hover { border-color: var(--el-color-primary-light-5); box-shadow: 0 2px 12px rgba(64, 128, 255, .08); }
.struct-card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.struct-card-idx {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--el-color-primary-light-9); color: var(--el-color-primary);
  font-size: 11px; font-weight: 700;
}
.struct-card-name { font-size: 15px; font-weight: 600; letter-spacing: .3px; }
.struct-card-units {
  font-size: 12px; color: var(--el-text-color-secondary); max-width: 44%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.struct-num-chip {
  font-size: 11px; line-height: 18px; padding: 0 8px; border-radius: 10px;
  background: var(--el-fill-color-light); color: var(--el-text-color-regular); white-space: nowrap;
}
.struct-num-chip.ok { background: var(--el-color-success-light-9); color: var(--el-color-success); }
.struct-detail { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.struct-detail-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; align-items: start; }
.struct-detail-group {
  min-width: 0; padding: 8px 10px 9px; border-radius: 8px;
  background: var(--el-fill-color-lighter); border: 1px solid transparent;
}
.struct-detail-group.miss { background: transparent; border-color: var(--el-border-color-lighter); border-style: dashed; opacity: .78; }
.struct-detail-title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--el-text-color-primary); margin-bottom: 4px; }
.sd-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--el-color-info-light-3); flex: none; }
.sd-dot.on { background: var(--el-color-success); }
.sd-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-count { margin-left: auto; font-size: 11px; font-weight: 400; color: var(--el-text-color-secondary); white-space: nowrap; }
.struct-detail-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--el-text-color-regular); padding: 2px 0; }
.sd-name { font-weight: 500; color: var(--el-text-color-primary); word-break: break-word; }
/* 业绩项目名单独占一行，金额/日期/角色落在下一行，长名字不会和标签挤在一起 */
.struct-detail-row.kind-perf .sd-name { flex: 1 1 100%; }
.struct-detail-row.kind-perf { padding: 3px 0 5px; }
.sd-chip {
  font-size: 11px; line-height: 17px; padding: 0 6px; border-radius: 4px;
  background: var(--el-color-primary-light-9); color: var(--el-color-primary); white-space: nowrap;
}
.sd-chip.soft { background: transparent; color: var(--el-text-color-secondary); padding: 0; }
.sd-meta { font-size: 11px; color: var(--el-text-color-secondary); word-break: break-all; }
.sd-empty { font-size: 11px; color: var(--el-text-color-placeholder); }
.struct-award-count { cursor: default; font-variant-numeric: tabular-nums; }
/* 业绩结果表：窄窗口下只做省略，不让“分类/日期”竖排换行 */
.struct-award-table .el-table__cell .cell { white-space: nowrap; }
.struct-award-table .el-table__cell { padding: 6px 0; }
.struct-award-detail { padding: 6px 16px 10px 36px; background: var(--el-fill-color-lighter); border-radius: 6px; }
.struct-award-detail-head { font-size: 11px; color: var(--el-text-color-secondary); margin-bottom: 4px; }
@media (max-width: 1200px) {
  .struct-detail-rows { grid-template-columns: 1fr; }
}

/* ===== 设备授权 ===== */
.device-gate {
  position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #0d1b3a 0%, #16264a 55%, #0b1730 100%); padding: 24px;
}
.device-gate-card {
  width: 100%; max-width: 520px; background: #fff; border-radius: 16px; padding: 30px 32px 26px;
  box-shadow: 0 24px 60px rgba(4, 12, 30, .45); text-align: center;
}
.device-gate-icon {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff4e6; color: #e08a1e; font-size: 26px;
}
.device-gate-card h3 { margin: 0 0 8px; font-size: 19px; color: #1f2a3d; }
.device-gate-msg { margin: 0 0 14px; font-size: 13px; color: #5b6b85; line-height: 1.7; word-break: break-word; }
.device-gate-code {
  display: inline-block; margin-bottom: 16px; padding: 6px 14px; border-radius: 8px;
  background: #f5f8ff; border: 1px dashed #cfdcfb; color: #3459e6; font-size: 13px;
}
.device-gate-code b { font-size: 16px; letter-spacing: 1px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.device-gate-tips {
  list-style: none; margin: 0 0 20px; padding: 12px 16px; text-align: left;
  background: #fafbfe; border-radius: 10px; font-size: 12px; color: #67758d; line-height: 1.9;
}
.device-gate-tips li { position: relative; padding-left: 14px; }
.device-gate-tips li::before { content: '·'; position: absolute; left: 4px; color: #9aa8bf; }

.device-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.device-mode {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 10px; padding: 10px 12px; background: #f7f9fe; border: 1px solid #e6ecf8; border-radius: 10px;
}
.device-mode-label { font-size: 12px; font-weight: 600; color: #4a5b7a; }
.device-mode-desc { font-size: 12px; color: #8a95a8; }
.device-self {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 10px; font-size: 12px; color: #5b6b85;
}
.device-code { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .5px; color: #3459e6; }
@media (max-width: 900px) { .device-toolbar { width: 100%; } }
.device-table .device-name { font-size: 13px; color: var(--el-text-color-primary); }
.device-table .device-platform { font-size: 11px; color: var(--el-text-color-secondary); }
.device-table .el-table__cell { padding: 7px 0; }
.device-gate-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.device-gate-download {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px;
  color: #3459e6; text-decoration: none;
}
.device-gate-download:hover { text-decoration: underline; }
.device-gate-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 18px; border-radius: 8px;
  border: 1px solid #d5ddf0; background: #fff; color: #34405a; font-size: 13px; text-decoration: none;
  transition: all .18s ease;
}
.device-gate-btn:hover { border-color: #3459e6; color: #3459e6; }
.device-gate-btn.primary { border-color: #3459e6; background: #3459e6; color: #fff; box-shadow: 0 6px 16px rgba(52, 89, 230, .28); }
.device-gate-btn.primary:hover { background: #2b4bd0; color: #fff; }
.device-download {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 10px;
  font-size: 12px; color: var(--el-color-primary); text-decoration: none;
}
.device-download:hover { text-decoration: underline; }
.device-table .device-code, .device-table .device-way { white-space: nowrap; }

/* ===== 经营信息周报（标书生成 > 周报生成） ===== */
.weekly-wrap { padding: 4px 0; }
.weekly-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; padding: 12px 16px; background: #f5f7fa; border-radius: 6px; }
.weekly-label { font-size: 13px; color: #606266; font-weight: 600; }
.weekly-tip { font-size: 12px; color: #909399; margin-left: auto; }
.weekly-paper { width: 210mm; max-width: 100%; margin: 0 auto; padding: 28px 32px 40px; background: #fff; color: #000; box-sizing: border-box; font-family: "SimSun", "宋体", serif; line-height: 1.6; box-shadow: 0 2px 12px rgba(0,0,0,.1); }
.weekly-paper [contenteditable="true"]:hover { outline: 1px dashed #c0c4cc; outline-offset: 2px; }
.weekly-paper [contenteditable="true"]:focus { outline: 1px solid #409eff; outline-offset: 2px; background: #fafcff; }
.wp-title { font-family: "SimHei", "黑体", sans-serif; font-size: 22px; font-weight: bold; text-align: center; margin: 0 0 4px; letter-spacing: 2px; }
.wp-date { text-align: center; font-size: 14px; margin: 0 0 22px; color: #333; }
.wp-h2 { font-family: "SimHei", "黑体", sans-serif; font-size: 15px; font-weight: bold; margin: 20px 0 8px; }
.wp-p { font-size: 14px; margin: 0 0 10px; text-align: justify; text-indent: 0; }
.wp-table { width: 100%; border-collapse: collapse; font-size: 12px; margin: 6px 0 12px; table-layout: fixed; }
.wp-table th, .wp-table td { border: 1px solid #000; padding: 5px 6px; vertical-align: middle; word-break: break-all; text-align: left; }
.wp-table th { font-weight: bold; text-align: center; font-size: 13px; }
.wp-table td:focus { background: #fafcff; }
/* 表格配色严格参照 Word：表1橙黄表头白字 / 表2蓝表头浅蓝数据 / 表3绿表头黑字 */
.wp-tbl-won th { background: #F2BA02; color: #fff; }
.wp-tbl-bid th { background: #4874CB; color: #000; }
.wp-tbl-bid td { background: #B6C8EB; }
.wp-tbl-dyn th { background: #75BD42; color: #000; }
/* 列宽贴近 Word：关键列给足宽度 */
.wp-tbl-won th:nth-child(1), .wp-tbl-won td:nth-child(1) { width: 38%; }
.wp-tbl-bid th:nth-child(1), .wp-tbl-bid td:nth-child(1) { width: 42%; }
.wp-tbl-dyn th:nth-child(1), .wp-tbl-dyn td:nth-child(1) { width: 7%; }
.wp-tbl-dyn th:nth-child(2), .wp-tbl-dyn td:nth-child(2) { width: 13%; }
.wp-tbl-dyn th:nth-child(3), .wp-tbl-dyn td:nth-child(3) { width: 18%; }
.wp-tbl-dyn th:nth-child(7), .wp-tbl-dyn td:nth-child(7) { width: 28%; }
/* 行操作列：屏幕上可见、导出时隐藏 */
.wp-table .wp-act { width: 34px; min-width: 34px; text-align: center; padding: 2px; background: #f5f7fa; }
.wp-mini { border: 1px solid #dcdfe6; background: #fff; color: #f56c6c; border-radius: 3px; cursor: pointer; font-size: 14px; line-height: 1; padding: 2px 5px; }
.wp-mini:hover { background: #f56c6c; color: #fff; }
.wp-rowbar { margin: -8px 0 14px; text-align: right; }
.wp-add { border: 1px dashed #409eff; background: #ecf5ff; color: #409eff; border-radius: 3px; cursor: pointer; font-size: 12px; padding: 3px 10px; }
.wp-add:hover { background: #409eff; color: #fff; }
/* 导出长图时隐藏所有编辑控件（列与按钮），与 Word 版式一致 */
.wp-exporting .wp-act, .wp-exporting .wp-rowbar { display: none !important; }
.wp-exporting [contenteditable="true"]:hover, .wp-exporting [contenteditable="true"]:focus { outline: none !important; background: transparent !important; }

/* 履约三表：年度分页条 + 分页器 */
.stage-year-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; padding: 6px 10px; background: #f4f8fe; border: 1px solid #e0e9f6; border-radius: 6px; }
.stage-year-bar .stage-year-title { font-size: 13px; font-weight: 600; color: #4a5c78; margin-right: 4px; }
.stage-year-bar .el-button { margin-left: 0 !important; }
.stage-excel-table + .stage-pagination, .stage-pagination { display: flex; justify-content: flex-end; margin-top: 8px; }

/* 履约三表：项目名称列左对齐 + 超长自动换行（完整显示，不省略、不弹 tooltip） */
.stage-excel-table .col-project-name .cell {
  text-align: left;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.stage-excel-table .el-table__header th.col-project-name .cell { text-align: left; }
.stage-excel-table .el-table__fixed .col-project-name .cell,
.stage-excel-table .el-table__fixed-right .col-project-name .cell { text-align: left; white-space: normal; }

/* 人员选择：项目人员列（标签 + 加号入口） */
.person-cell { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; min-height: 24px; }
.person-cell .person-tag {
  display: inline-flex; align-items: baseline; gap: 4px; max-width: 100%;
  padding: 1px 8px; border-radius: 10px; background: #eef4ff; color: #1f3b6e;
  font-size: 12px; line-height: 18px; white-space: nowrap;
}
.person-cell .person-tag em { font-style: normal; color: #6b7a99; font-size: 11px; }
.person-cell .person-add { margin-left: 2px; }
.person-dialog-tip { margin: -6px 0 10px; color: #8a94a6; font-size: 12px; }
.person-form .el-form-item { margin-bottom: 10px; }
.person-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }

/* 履约表：压缩单元格内边距与字号，让窄列也能完整显示「未开始」「编制中」等值 */
.stage-excel-table .el-table__header th .cell { padding-left: 6px; padding-right: 6px; font-size: 12px; }
.stage-excel-table .el-table__body td .cell { padding-left: 6px; padding-right: 6px; }
.stage-excel-table td .cell-select .el-select__wrapper { padding-left: 2px; padding-right: 12px; }
.stage-excel-table td .cell-select .el-select__selected-item { font-size: 12px; }
.stage-excel-table td .cell-input .el-input__inner { padding: 0 4px; font-size: 12px; }
.stage-excel-table td .cell-input-with-btn .el-input__inner { font-size: 12px; }

/* 下拉框不显示右侧箭头：整格点击即展开，把宽度让给文字（选择/删除都在下拉里完成） */
.stage-excel-table td .cell-select .el-select__suffix { display: none !important; }
.stage-excel-table td .cell-select .el-select__wrapper { padding-right: 4px; }
.stage-excel-table td .cell-input-with-btn .el-input-group__append { padding: 0 6px; }

/* 人员弹窗：其他人员自定义行 */
.person-extra-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 4px 0 10px; padding-top: 10px; border-top: 1px dashed #e4e8f0;
  color: #4a5568; font-size: 13px; font-weight: 600;
}
.person-extra-list { display: flex; flex-direction: column; gap: 8px; }
.person-extra-row { display: flex; align-items: center; gap: 8px; }
.person-extra-idx {
  flex: 0 0 18px; width: 18px; height: 18px; line-height: 18px; text-align: center;
  border-radius: 50%; background: #eef2f8; color: #8a94a6; font-size: 11px;
}
.person-extra-count { margin-left: 8px; font-style: normal; font-weight: 400; font-size: 12px; color: #8a94a6; }
/* 自定义人员条数不限：条数多时只让弹窗正文滚动，「保存 / 取消」始终可见 */
.person-dialog .el-dialog__body { max-height: 64vh; overflow-y: auto; }
.person-extra-empty { color: #9aa3b2; font-size: 12px; padding: 2px 0 6px; }

/* 下拉框：隐藏箭头后把内边距压到最小，宽度全部让给文字 */
.stage-excel-table td .cell-select .el-select__wrapper {
  min-height: 26px; padding: 0 4px; box-shadow: none; background: transparent;
}
.stage-excel-table td .cell-select .el-select__suffix { display: none !important; }
.stage-excel-table td .cell-select .el-select__placeholder,
.stage-excel-table td .cell-select .el-select__selected-item,
.stage-excel-table td .cell-select .el-select__tags-text { font-size: 12px; white-space: nowrap; }
.stage-excel-table td .cell-select .el-tag { height: 20px; padding: 0 4px; font-size: 12px; }

/* 初检多选：标签更紧凑，折叠后「姓名 + N」能一行放下 */
.stage-excel-table td .cell-select .el-tag {
  height: 19px; line-height: 17px; padding: 0 5px; font-size: 11px; max-width: 100%;
}
.stage-excel-table td .cell-select .el-tag .el-tag__content { font-size: 11px; }
.stage-excel-table td .cell-select .el-tag .el-tag__close { margin-left: 2px; font-size: 11px; }
.stage-excel-table td .cell-select .el-select__tags { gap: 2px; flex-wrap: nowrap; }

/* 初检标签不压缩：姓名完整显示，超出部分交给「+N」提示 */
.stage-excel-table td .cell-select .el-select__tags .el-tag { flex: 0 0 auto; }

/* 履约表：单元格内边距再收紧，把宽度让给内容（便于窄列完整显示日期、单位名称） */
.stage-excel-table .el-table__header th .cell { padding-left: 4px; padding-right: 4px; }
.stage-excel-table .el-table__body td .cell { padding-left: 4px; padding-right: 4px; }
.stage-excel-table td .cell-input .el-input__inner { padding: 0 2px; }
.stage-excel-table td .cell-input .el-input__wrapper { padding: 0 2px; }
.stage-excel-table td .cell-select .el-select__wrapper { padding: 0 2px; }
/* 项目名称列固定宽度后仍保留左对齐与换行 */
.stage-excel-table .col-project-name .cell { white-space: normal; word-break: break-word; }

/* 开标日期列：字号略小一点，17 位日期在窄列里也能完整显示 */
.stage-excel-table .col-bid-date .cell-input .el-input__inner { font-size: 11px; }

/* 履约表表头：文字全部居中、压缩行距；只改表头，表格正文样式不变 */
.stage-excel-table .el-table__header th.el-table__cell {
  padding: 2px 2px !important;
  line-height: 17px;
}
.stage-excel-table .el-table__header th .cell {
  padding: 0 2px;
  line-height: 17px;
  font-size: 12px;
  white-space: nowrap;
  text-align: center !important;
}
.stage-excel-table .el-table__header th.col-project-name .cell { text-align: center !important; }
.stage-excel-table .el-table__header .el-table__column-filter-trigger { margin-left: 0; line-height: 1; }
.stage-excel-table .el-table__header .el-table__column-filter-trigger i { font-size: 11px; width: 11px; height: 11px; }

/* 履约表整行按「投标结果 → 进度」着色：投标中淡黄 / 中标中绿 / 未中标浅灰（一眼可辨） */
.stage-excel-table .el-table__body tr.stage-row-bidding > td.el-table__cell,
.stage-excel-table .el-table__body tr.stage-row-bidding.el-table__row--striped > td.el-table__cell {
  background: #fdf2c7 !important; color: #5a420a;
}
.stage-excel-table .el-table__body tr.stage-row-bidding:hover > td.el-table__cell,
.stage-excel-table .el-table__body tr.stage-row-bidding.el-table__row--striped:hover > td.el-table__cell { background: #fbeab0 !important; }
.stage-excel-table .el-table__body tr.stage-row-won > td.el-table__cell,
.stage-excel-table .el-table__body tr.stage-row-won.el-table__row--striped > td.el-table__cell {
  background: #b7e6c6 !important; color: #0f3d22;
}
.stage-excel-table .el-table__body tr.stage-row-won:hover > td.el-table__cell,
.stage-excel-table .el-table__body tr.stage-row-won.el-table__row--striped:hover > td.el-table__cell { background: #a6ddb8 !important; }
.stage-excel-table .el-table__body tr.stage-row-lost > td.el-table__cell,
.stage-excel-table .el-table__body tr.stage-row-lost.el-table__row--striped > td.el-table__cell {
  background: #e7eaef !important; color: #3f4856;
}
.stage-excel-table .el-table__body tr.stage-row-lost:hover > td.el-table__cell,
.stage-excel-table .el-table__body tr.stage-row-lost.el-table__row--striped:hover > td.el-table__cell { background: #dfe4ea !important; }
/* 左侧状态色条：只画首列（项目名称），随固定列一起固定 */
.stage-excel-table .el-table__body tr.stage-row-bidding > td.el-table__cell:first-child { box-shadow: inset 4px 0 0 #e0a800; }
.stage-excel-table .el-table__body tr.stage-row-won > td.el-table__cell:first-child { box-shadow: inset 4px 0 0 #128a41; }
.stage-excel-table .el-table__body tr.stage-row-lost > td.el-table__cell:first-child { box-shadow: inset 4px 0 0 #94a3b8; }

/* 列对齐：非豁免列居中（纯文本 / 下拉 / 输入框 / 人员标签） */
.stage-excel-table td.stage-cell-center .cell { text-align: center; }
.stage-excel-table td.stage-cell-center .el-input__inner { text-align: center; }
.stage-excel-table td.stage-cell-center .el-select__wrapper { justify-content: center; }
.stage-excel-table td.stage-cell-center .el-select__selection { justify-content: center; }
.stage-excel-table td.stage-cell-center .el-select__selected-item { text-align: center; }
.stage-excel-table td.stage-cell-center .cell-multi .el-select__selection { align-items: center; }
.stage-excel-table td.stage-cell-center .cell-multi .el-select__selected-item { width: 100%; }
.stage-excel-table td.stage-cell-center .person-cell { justify-content: center; }

/* ==========================================================================
   Premium 视觉增强层 — 企业级质感打磨（纯 CSS，不改任何 DOM / JS / 功能）
   回滚方式：删除本段即可恢复原样
   ========================================================================== */
:root {
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ink-900: #0d1b2f;
  --ink-800: #1b2a41;
  --ink-600: #4a5a72;
  --ink-400: #8592a6;
  --hairline: #e9edf4;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --shadow-1: 0 1px 2px rgba(16,26,49,.04);
  --shadow-2: 0 2px 6px rgba(16,26,49,.05), 0 1px 2px rgba(16,26,49,.03);
  --shadow-3: 0 8px 24px rgba(16,26,49,.08), 0 2px 6px rgba(16,26,49,.04);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
}
body { font-family: var(--font-ui); text-rendering: optimizeLegibility; }

/* 侧栏：更深的蓝黑层次 + 克制的品牌描边 */
.sidebar {
  background: linear-gradient(180deg, #0d1730 0%, #101d38 55%, #142344 100%) !important;
  box-shadow: 1px 0 0 rgba(255,255,255,.04), 4px 0 24px rgba(8,15,32,.22) !important;
}
.sidebar-logo { height: 68px; flex-basis: 68px; }
.sidebar-menu { padding: 16px 10px; }
.sidebar-menu .el-menu-item {
  height: 44px; line-height: 44px; margin: 4px 0;
  border-radius: 9px; font-size: 13.5px; letter-spacing: .2px;
  color: #9fb0cc;
}
.sidebar-menu .el-menu-item .el-icon { font-size: 17px; opacity: .9; }
.sidebar-menu .el-menu-item:hover { background: rgba(255,255,255,.06) !important; color: #e6edfb !important; }
.sidebar-menu .el-menu-item.is-active {
  background: linear-gradient(90deg, rgba(52,89,230,.95), rgba(76,113,240,.9)) !important;
  box-shadow: 0 4px 14px rgba(52,89,230,.28) !important;
  color: #fff !important;
}
.sidebar-bottom { padding: 14px 12px; }
.user-meta span { color: #7d90b4; }

/* 顶栏与页面标题：克制、留白、层级 */
.topbar {
  height: 66px; flex-basis: 66px; padding: 0 28px;
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--hairline);
}
.breadcrumb { font-size: 13px; letter-spacing: .2px; }
.breadcrumb strong { font-weight: 600; color: var(--ink-900); }
.content-area { padding: 26px 28px 36px; }
.page-head { margin-bottom: 22px; }
.page-head h2 {
  font-size: 23px; font-weight: 600; letter-spacing: -.3px; color: var(--ink-900);
}
.subtitle { color: var(--ink-400); }

/* 卡片与面板：双层细腻阴影 + 统一圆角 */
.panel, .stat-card {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  border: 1px solid var(--hairline);
}
.panel { padding: 20px 22px; }
.panel-head h3 { font-size: 15px; font-weight: 600; color: var(--ink-900); }

/* 工作台统计卡：悬浮反馈 + 数字等宽对齐 */
.stat-card {
  padding: 20px 22px; min-height: 104px;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); }
.stat-icon {
  width: 50px; height: 50px; border-radius: 13px; font-size: 22px;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--accent) 28%, transparent);
}
.stat-value, .stat-sub-value, .won-kpi strong, .won-donut-hole strong {
  font-variant-numeric: tabular-nums; letter-spacing: -.5px; color: var(--ink-900);
}
.stat-label, .stat-sub-label { color: var(--ink-400); }
.stat-decor { opacity: .8; }

/* 工作台：年度 chip / KPI / 条形图 */
.won-year-chip { border-radius: 9px; padding: 9px 13px; border-color: var(--hairline); }
.won-year-chip strong { color: var(--ink-900); font-weight: 600; }
.won-year-chip.active { box-shadow: var(--shadow-1); }
.won-kpi { border-radius: 11px; padding: 14px 16px; }
.won-kpi small { font-weight: 500; }
.won-bar { height: 7px; }
.won-subhead { color: var(--ink-800); }
.won-donut-hole { box-shadow: inset 0 0 0 1px var(--hairline); }
.won-recent-item { border-radius: 9px; }

/* 履约标签：保留橙色主标签，仅提升精致度（不动内边距/文字居中） */
.track-tabs .el-tabs__nav { height: 42px; gap: 7px; }
.track-tabs .el-tabs__item {
  height: 40px; line-height: 38px;
  border-radius: 11px 11px 0 0; font-weight: 500; letter-spacing: .2px;
}

/* 履约表：浏览态视觉——控件默认融入行底色，交互时浮现 */
.stage-excel-table { border-radius: var(--r-md); font-variant-numeric: tabular-nums; }
.stage-excel-table td .cell-input .el-input__wrapper {
  background: transparent !important;
  box-shadow: 0 0 0 1px transparent inset !important;
  border-radius: var(--r-sm);
  transition: background .16s var(--ease-out), box-shadow .16s var(--ease-out);
}
.stage-excel-table td .cell-input .el-input__wrapper:hover,
.stage-excel-table td .cell-input .el-input__wrapper.is-focus {
  background: #fff !important;
  box-shadow: 0 0 0 1px var(--primary) inset, 0 1px 3px rgba(16,26,49,.08) !important;
}
.stage-excel-table td .cell-select .el-select__wrapper {
  border-radius: var(--r-sm);
  transition: background .16s var(--ease-out), box-shadow .16s var(--ease-out);
}
.stage-excel-table td .cell-select .el-select__wrapper:hover,
.stage-excel-table td .cell-select .el-select__wrapper.is-focused {
  background: #fff !important;
  box-shadow: 0 0 0 1px var(--primary) inset, 0 1px 3px rgba(16,26,49,.08) !important;
}
.stage-excel-table tbody tr { transition: background .15s var(--ease-out); }

/* 按钮：统一圆角与字重 */
.el-button { border-radius: 8px !important; font-weight: 500; }
/* 仅实心主按钮加渐变；text / plain 按钮保留原文字样式，避免文字按钮被涂成蓝块 */
.el-button--primary:not(.is-text):not(.is-plain):not(.is-link) {
  background: linear-gradient(180deg, #4067ec, #3459e6) !important;
  border-color: #3459e6 !important;
  box-shadow: 0 2px 6px rgba(52,89,230,.22);
}
.el-button--primary:not(.is-text):not(.is-plain):not(.is-link):hover { box-shadow: 0 4px 12px rgba(52,89,230,.3); }

/* 分页与树：统一圆角、数字对齐、平滑过渡 */
.pagination { margin-top: 18px; }
.el-pagination, .tree-count { font-variant-numeric: tabular-nums; }
.tree-count { border-radius: 99px !important; }
.tree-root, .project-node, .district-stat, .tag-nav-item {
  border-radius: 8px;
  transition: background .15s var(--ease-out), color .15s var(--ease-out);
}

/* 滚动条：浅灰细条，融入界面 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #cdd5e3; border-radius: 99px;
  border: 2px solid transparent; background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: #b3bed1; background-clip: padding-box; }

/* 焦点态：键盘可达性 */
.el-button:focus-visible, .el-input__wrapper:focus-within {
  outline: 2px solid rgba(52,89,230,.45); outline-offset: 2px;
}

/* ==========================================================================
   Million-Grade Finish — 企业级精品质感收尾层
   纯 CSS，零 DOM / 零 JS / 零业务逻辑改动。
   回滚：删除本段即可恢复上一版视觉。
   ========================================================================== */
:root {
  --brand-blue: #3459e6;
  --brand-blue-deep: #2443bd;
  --brand-orange: #f4511e;
  --brand-orange-deep: #e24310;
  --surface-soft: #fbfcfe;
  --line-soft: rgba(16,26,49,.08);
  --shadow-focus: 0 0 0 3px rgba(52,89,230,.12);
  --radius-card: 14px;
  --radius-control: 9px;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body, input, button, textarea, select,
.el-table, .el-button, .el-input__inner, .el-select__wrapper {
  font-family: var(--font-ui);
}

/* 主内容区：极淡的品牌光晕，只在远角落出现，不干扰数据阅读 */
.main-container {
  background:
    radial-gradient(900px 320px at 88% -10%, rgba(52,89,230,.055), transparent 70%),
    var(--bg);
}

/* 顶栏：增加品牌细线与图标按钮的“可点击”暗示 */
.topbar {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fcfdff 100%);
}
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, rgba(52,89,230,.22), rgba(52,89,230,.04) 32%, transparent 70%);
  pointer-events: none;
}
.topbar .el-button.is-circle {
  color: #5b6b85; background: #fff; border: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(16,26,49,.04);
}
.topbar .el-button.is-circle:hover {
  color: var(--brand-blue); background: #f5f8ff; border-color: #c9d6fb;
}
.topbar-user {
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 1px transparent;
}
.topbar-user:hover { border-color: var(--hairline); box-shadow: var(--shadow-1); }

/* 页面标题：统一品牌引导线；不改动文字与布局宽度 */
.page-head h2 {
  display: flex; align-items: center; gap: 10px;
}
.page-head h2::before {
  content: ""; flex: 0 0 3px; width: 3px; height: 20px;
  border-radius: 99px;
  background: linear-gradient(180deg, #5b7cff, var(--brand-blue));
  box-shadow: 0 2px 6px rgba(52,89,230,.28);
}
.page-head .subtitle { padding-left: 13px; letter-spacing: .1px; }

/* 卡片：统一顶部高光线与更细腻的阴影层次 */
.panel {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fdfefe 100%);
  border-radius: var(--radius-card);
}
.panel::after {
  content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52,89,230,.16), transparent);
  pointer-events: none;
}

/* 左侧分类树：更清晰的选中态与计数层级 */
.tree-panel .panel-head h3 { letter-spacing: .03em; }
.tree-root, .tree-sub, .district-stat { transition: background .16s var(--ease-out), color .16s var(--ease-out), box-shadow .16s var(--ease-out); }
.tree-root.active {
  background: linear-gradient(90deg, #eaf1ff, #f7faff);
  box-shadow: inset 3px 0 0 var(--brand-blue);
}
.tree-sub.active {
  background: linear-gradient(90deg, #edf3ff, #f8fbff);
  border-left-color: var(--brand-blue);
  box-shadow: inset 2px 0 0 rgba(52,89,230,.35);
}
.district-stat.active { background: linear-gradient(90deg, #eaf1ff, #f7faff); box-shadow: inset 3px 0 0 var(--brand-blue); }
.tree-count {
  border: 1px solid rgba(16,26,49,.05);
  background: #f4f7fc; color: #65748c;
  font-weight: 600;
}
.tree-root.active .tree-count,
.tree-sub.active .tree-count,
.district-stat.active .tree-count {
  background: #fff; color: var(--brand-blue-deep); border-color: #cddafa;
}
.tree-section-title h3 { color: #3d4b62; font-size: 14px; letter-spacing: .04em; }

/* 履约页签：保留原有橙色分组与结构，只增加精密感 */
.track-tabs .el-tabs__header { padding: 0 10px; }
.track-tabs .el-tabs__item {
  box-shadow: 0 -1px 0 rgba(255,255,255,.75) inset, 0 -2px 8px rgba(16,26,49,.035);
}
.track-tabs .el-tabs__item:nth-child(2),
.track-tabs .el-tabs__item:nth-child(4),
.track-tabs .el-tabs__item.is-active:nth-child(2),
.track-tabs .el-tabs__item.is-active:nth-child(4) {
  background: linear-gradient(180deg, #ff6a35, var(--brand-orange));
  border-color: var(--brand-orange);
  box-shadow: 0 2px 8px rgba(244,81,30,.22), inset 0 1px 0 rgba(255,255,255,.25);
}
.track-tabs .el-tabs__item.is-active:nth-child(2),
.track-tabs .el-tabs__item.is-active:nth-child(4) {
  background: linear-gradient(180deg, #e8551f, var(--brand-orange-deep));
  box-shadow: 0 3px 10px rgba(244,81,30,.26), inset 0 1px 0 rgba(255,255,255,.2);
}
.track-tabs .el-tabs__item.is-active {
  box-shadow: inset 0 -3px 0 var(--brand-orange), 0 -2px 10px rgba(16,26,49,.05);
}

/* 筛选区与年度条：控件更立体，信息层级更明确 */
.filter-bar .el-input__wrapper,
.filter-bar .el-select__wrapper {
  border-radius: var(--radius-control);
  box-shadow: 0 0 0 1px #dfe5ef inset, 0 1px 1px rgba(16,26,49,.02);
}
.filter-bar .el-button:not(.is-text) {
  border-radius: var(--radius-control);
  box-shadow: 0 1px 2px rgba(16,26,49,.05);
}
.stage-year-bar {
  background: linear-gradient(90deg, #f4f8ff, #fbfdff);
  border-color: #e1e9f8; border-radius: var(--radius-control);
}
.stage-year-bar .stage-year-title { color: #2d4370; letter-spacing: .02em; }
.stage-year-bar .el-button.is-primary {
  box-shadow: 0 2px 8px rgba(52,89,230,.2);
}

/* 履约表：细腻外框、清晰表头、柔和分隔线；行色与列宽保持不变 */
.stage-excel-table {
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16,26,49,.04), 0 8px 22px rgba(16,26,49,.045);
}
.stage-excel-table .el-table__header-wrapper,
.stage-excel-table th.el-table__cell {
  background: linear-gradient(180deg, #f9fbfd, #f1f5f9) !important;
}
.stage-excel-table th.el-table__cell {
  color: #42536e; font-weight: 600;
  border-bottom: 1px solid #dbe3ee !important;
}
.stage-excel-table .el-table__body td.el-table__cell {
  border-bottom: 1px solid rgba(16,26,49,.06) !important;
}
.stage-excel-table .el-table__body tr:last-child td.el-table__cell {
  border-bottom-color: transparent !important;
}
.stage-excel-table .col-project-name .cell { font-weight: 500; color: var(--ink-900); }

/* 分页：做成贴合表格底部的轻工具条 */
.stage-pagination {
  padding: 8px 10px;
  background: linear-gradient(180deg, #fcfdff, #f8fafc);
  border: 1px solid var(--hairline); border-top: 0;
  border-radius: 0 0 12px 12px;
}

/* 弹窗：统一圆角、层级和留白，保持所有表单内容不变 */
.el-dialog {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(12,22,43,.22), 0 4px 12px rgba(12,22,43,.08);
}
.el-dialog__header { padding: 20px 24px 12px; border-bottom: 1px solid var(--hairline); }
.el-dialog__title { font-size: 16px; font-weight: 600; color: var(--ink-900); }
.el-dialog__body { padding: 20px 24px; }
.el-dialog__footer { padding: 12px 24px 20px; border-top: 1px solid var(--hairline); }

/* 登录页：在既有品牌形象上增加玻璃卡片质感 */
.login-card { border: 1px solid rgba(255,255,255,.7); }
.login-brand h1 { letter-spacing: .5px; }

/* 焦点可达性：覆盖更多交互元素 */
.el-button:focus-visible,
.el-input__wrapper:focus-within,
.el-select__wrapper:focus-within,
.el-tabs__item:focus-visible,
.tree-root:focus-visible, .tree-sub:focus-visible, .district-stat:focus-visible {
  outline: 2px solid rgba(52,89,230,.5); outline-offset: 2px;
}

/* 尊重系统“减少动态效果”偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 2.1.38 表格可读性微调：长表头分行完整显示，保持其他表头紧凑 */
.stage-excel-table .el-table__header th.col-bid-status-change .cell {
  white-space: normal !important;
  line-height: 14px !important;
  word-break: break-word;
  text-align: center !important;
}
.stage-excel-table .el-table__header th.col-bid-status-change .el-table__column-filter-trigger {
  vertical-align: middle;
}


/* ===================================================================
   2.1.39 履约表单元格下拉统一：多选纯文字分行 + 面板底部「清除」
   —— 只改观感，取值 / 保存 / 筛选逻辑全部沿用原有实现
   =================================================================== */

/* 多选单元格：与单选一致的纯文字观感，多人各占一行，不再挤成标签 */
.stage-excel-table td .cell-select.cell-multi .el-select__wrapper {
  height: auto !important;
  min-height: 26px;
  align-items: center;
  overflow: hidden;
}
.stage-excel-table td .cell-select.cell-multi .el-select__selection {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  /* EP 默认 margin-left:-6px（给标签外框让位），标签已无外框，负边距会把首字挤出容器被裁掉 */
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.stage-excel-table td .cell-select.cell-multi .el-select__selected-item {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  line-height: 17px;
  overflow: hidden;
}
/* 未聚焦时收起输入行，避免多占一行高度；点开后才出现，用于输入筛选/新增 */
.stage-excel-table td .cell-select.cell-multi .el-select__input-wrapper {
  height: 0;
  overflow: hidden;
}
.stage-excel-table td .cell-select.cell-multi .el-select__wrapper.is-focused .el-select__input-wrapper {
  height: 18px;
}
.stage-excel-table td .cell-select.cell-multi .el-tag {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100% !important;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: inherit;
  font-size: 12px;
  line-height: 17px;
  overflow: hidden;
}
.stage-excel-table td .cell-select.cell-multi .el-tag__content {
  display: block;
  width: 100%;
  color: inherit;
  font-size: 12px;
  line-height: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage-excel-table td .cell-select.cell-multi .el-select__tags-text {
  color: inherit;
  font-size: 12px;
}
/* 去掉标签后的 ×：清除统一放到面板底部，单元格里只留干净的名字 */
.stage-excel-table td .cell-select.cell-multi .el-tag__close { display: none !important; }

/* 下拉面板底部：固定一条「清除」操作区 */
.cell-select-footer {
  margin-top: 4px;
  padding: 5px 6px 2px;
  border-top: 1px solid var(--el-border-color-lighter, #ebeef5);
}
.cell-select-footer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: #f3f6fb;
  color: #4a5568;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.cell-select-footer-btn:hover { background: #e9f0ff; color: #2d4bd8; }
.cell-select-footer-btn:active { background: #dde7ff; }
.cell-select-footer-ico { font-size: 10px; opacity: .7; }

/* 履约表下拉面板：选项行略收紧，与表格密度保持一致 */
.el-select-dropdown__item { font-size: 13px; }

/* 面板底部清除区：占满宽度、与选项列表之间有分隔线 */
.el-select-dropdown__footer { padding: 0 8px 6px !important; }

/* 单元格内的下拉：聚焦时不要再叠一层描边（白色底 + 内描边已经足够），避免表格里出现双框 */
.stage-excel-table td .cell-select .el-select__wrapper:focus-within,
.stage-excel-table td .cell-select .el-select__wrapper.is-focused {
  outline: none !important;
}
/* 多选单元格聚焦时出现的输入行：压低高度，紧贴姓名下方，不撑出多余空白 */
.stage-excel-table td .cell-select.cell-multi .el-select__input-wrapper { height: 0; overflow: hidden; }
.stage-excel-table td .cell-select.cell-multi .el-select__wrapper.is-focused .el-select__input-wrapper { height: 16px; }
.stage-excel-table td .cell-select.cell-multi .el-select__input {
  height: 16px; line-height: 16px; font-size: 12px; color: inherit;
}

/* 项目经理列的「查」按钮：固定占位，不再被输入框挤成一条缝 */
.stage-excel-table td .cell-input-with-btn .el-input-group__append {
  flex: 0 0 auto;
  width: 26px;
  padding: 0 !important;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.stage-excel-table td .cell-input-with-btn .el-input-group__append .el-button {
  width: 100%;
  min-width: 0;
  padding: 0 !important;
  font-size: 11px;
}

/* 跟踪列表的金额列：等宽数字，位数多也不挤在一起 */
.amount-cell { font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.2px; }

/* ===================================================================
   履约页签分组配色：第一组（项目跟踪/信息收集）橙，第二组（标前→标后）绿
   —— 仅调整第二组配色，结构、尺寸、居中与交互全部沿用原有规则
   =================================================================== */
.track-tabs .el-tabs__item:nth-child(n+4) { color: #4a6b58; }
.track-tabs .el-tabs__item:nth-child(n+4):hover {
  color: #15803d; background: #f2fbf5; border-color: #b7e4c7;
}
/* 第二组普通页签选中：淡绿底 + 绿色底部指示条 */
.track-tabs .el-tabs__item:nth-child(n+4).is-active {
  color: #15803d; background: #f2fbf5; border-color: #b7e4c7; border-bottom-color: #fff;
  box-shadow: inset 0 -3px 0 #17a34a, 0 -2px 10px rgba(16,26,49,.05);
}
/* 第二组主标签（标前信息）：实心绿，和第一组的橙色主标签呼应但不混淆 */
.track-tabs .el-tabs__item:nth-child(4) {
  color: #fff; background: linear-gradient(180deg, #25b364, #14974d);
  border-color: #14974d;
  box-shadow: 0 2px 8px rgba(20,151,77,.22), inset 0 1px 0 rgba(255,255,255,.25);
}
.track-tabs .el-tabs__item:nth-child(4):hover {
  color: #fff; background: linear-gradient(180deg, #1fa257, #0f8442); border-color: #0f8442;
}
.track-tabs .el-tabs__item:nth-child(4).is-active {
  color: #fff; background: linear-gradient(180deg, #14924a, #0d7a3c); border-color: #0d7a3c;
  box-shadow: 0 3px 10px rgba(13,122,60,.26), inset 0 1px 0 rgba(255,255,255,.2);
}

/* 标前信息「操作」列：管理员删除项目（固定右列，窄列居中，hover 变实心红） */
.stage-excel-table .col-stage-del .cell { display: flex; align-items: center; justify-content: center; padding: 0; }
.stage-excel-table .stage-del-btn {
  font-size: 12px; padding: 0 2px; height: 22px; line-height: 22px; color: #d9534f;
}
.stage-excel-table .stage-del-btn:hover { color: #b52b27; text-decoration: underline; }
.stage-excel-table .el-table-fixed-column--right.is-scrolling-left { box-shadow: -6px 0 8px -6px rgba(16,26,49,.18); }

/* 中标概览：投标中项目列表（与「最近中标」上下并列，各自独立滚动） */
.won-bid-title { margin-top: 12px; border-left-color: #e0a800; }
.won-won-list { max-height: 148px; }
.won-bid-list { max-height: 246px; }
.won-bid-list .won-recent-item:hover { background: #fffbf0; border-color: #f2e2b8; }
.won-bid-list .won-recent-meta { color: #8a6a1c; }
