/* ========== 全局样式 ========== */
/* v20260825.33 视觉优化：统一设计变量（阴影/圆角/主色），全站克制质感升级 */
:root {
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05), 0 6px 16px rgba(15, 23, 42, 0.07);
  --shadow-md: 0 4px 10px rgba(15, 23, 42, 0.07), 0 12px 28px rgba(15, 23, 42, 0.10);
  --brand-deep: #16304f;
  --brand: #1e3a5f;
  --brand-bright: #2563eb;
}

* { -webkit-font-smoothing: antialiased; }

::selection { background: rgba(37, 99, 235, 0.16); }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* 防止iOS输入框聚焦缩放 */
input, select, textarea {
  font-size: 16px;
}
@media (min-width: 768px) {
  input, select, textarea {
    font-size: inherit;
  }
}

/* 安全区适配（刘海屏/底部横条） */
.safe-top {
  padding-top: env(safe-area-inset-top, 0);
}
.safe-bottom {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* ========== 首页（导航目录） ========== */
.home-page {
  background: #f8fafc;
}
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a5f 0%, #1e4a7a 40%, #2563eb 100%);
  padding: 28px 20px 24px;
  color: #fff;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 15%, rgba(255,255,255,0.16) 0%, transparent 42%);
  pointer-events: none;
}
.home-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 220' preserveAspectRatio='xMidYMax meet'%3E%3Cg fill='%23ffffff' fill-opacity='0.14'%3E%3Crect x='40' y='120' width='50' height='100' rx='2'/%3E%3Crect x='110' y='90' width='60' height='130' rx='2'/%3E%3Crect x='190' y='130' width='45' height='90' rx='2'/%3E%3Crect x='260' y='70' width='70' height='150' rx='2'/%3E%3Crect x='360' y='110' width='55' height='110' rx='2'/%3E%3Crect x='440' y='50' width='80' height='170' rx='2'/%3E%3Crect x='550' y='100' width='65' height='120' rx='2'/%3E%3Crect x='640' y='80' width='55' height='140' rx='2'/%3E%3Crect x='730' y='140' width='50' height='80' rx='2'/%3E%3Crect x='810' y='110' width='60' height='110' rx='2'/%3E%3Crect x='125' y='105' width='4' height='4'/%3E%3Crect x='135' y='105' width='4' height='4'/%3E%3Crect x='125' y='120' width='4' height='4'/%3E%3Crect x='135' y='120' width='4' height='4'/%3E%3Crect x='280' y='90' width='4' height='4'/%3E%3Crect x='292' y='90' width='4' height='4'/%3E%3Crect x='280' y='108' width='4' height='4'/%3E%3Crect x='292' y='108' width='4' height='4'/%3E%3Crect x='460' y='70' width='5' height='5'/%3E%3Crect x='472' y='70' width='5' height='5'/%3E%3Crect x='460' y='90' width='5' height='5'/%3E%3Crect x='472' y='90' width='5' height='5'/%3E%3Crect x='655' y='95' width='4' height='4'/%3E%3Crect x='667' y='95' width='4' height='4'/%3E%3Crect x='655' y='115' width='4' height='4'/%3E%3Crect x='667' y='115' width='4' height='4'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 900px 110px;
  opacity: 0.55;
  pointer-events: none;
}
.home-hero-date,
.home-hero-title,
.home-hero-sub {
  position: relative;
  z-index: 1;
}
.home-hero-date {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.home-hero-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.12);
}
.home-hero-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  margin-top: 4px;
}
@media (min-width: 768px) {
  .home-hero { padding: 36px 40px 32px; }
  .home-hero::after { height: 140px; background-size: 1100px 140px; }
  .home-hero-title { font-size: 26px; }
}
.home-body {
  padding: 16px 14px 8px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .home-hero { padding: 36px 40px 32px; }
  .home-hero-title { font-size: 26px; }
  .home-body { padding: 24px 28px 12px; }
}
.home-section {
  margin-bottom: 20px;
}
.home-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 10px;
  padding-left: 8px;
  border-left: 3px solid #2563eb;
  line-height: 1.2;
}

/* 项目概览统计卡 */
.home-stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: transform 0.18s, box-shadow 0.18s;
}
.home-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.home-stat-label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.home-stat-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.home-stat-unit {
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  margin-left: 2px;
}
.home-stat-inv {
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
}

/* 功能导航入口 */
.home-module-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) {
  .home-module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .home-module-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.home-module-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(226, 232, 240, 0.6);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  cursor: pointer;
  min-width: 0;
}
.home-module-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #dbeafe;
}
.home-module-card:active {
  transform: scale(0.98);
}
.home-module-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--mbg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.18s;
}
.home-module-card:hover .home-module-icon { transform: scale(1.06); }
.home-module-info {
  flex: 1;
  min-width: 0;
}
.home-module-name {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-module-desc {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-module-count {
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
}

/* 内容卡片（重点动态/最新政策） */
.home-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(226, 232, 240, 0.6);
}
.home-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.home-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e3a5f;
}
.home-card-more {
  font-size: 11px;
  color: #2563eb;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
}

/* 动态列表项 */
.home-feed-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 8px;
  transition: background 0.12s;
}
.home-feed-item:hover {
  background: #f8fafc;
}
.home-feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.home-feed-main {
  flex: 1;
  min-width: 0;
}
.home-feed-title {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.home-feed-sub {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}
.home-feed-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========== 优化建议模块（v20260825.36） ========== */
.suggest-panel { animation: slideIn 0.25s ease-out; }
.sug-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 12px;
}
.sug-success-head {
  font-size: 13px;
  font-weight: 700;
  color: #047857;
  margin-bottom: 8px;
}
.sug-copy-text {
  font-size: 12px;
  line-height: 1.6;
  color: #374151;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  padding: 8px 10px;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 220px;
  overflow-y: auto;
}
.sug-mine-item {
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
  margin-bottom: 6px;
}
.sug-mine-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sug-mine-title {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sug-mine-meta {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}
.sug-empty {
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  padding: 12px 0;
}
.sug-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
.sug-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sug-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
}
.sug-card-meta {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 3px;
}
.sug-card-desc {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
  margin-top: 8px;
  background: #f8fafc;
  border-radius: 6px;
  padding: 8px 10px;
}
.sug-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.sug-ver-input { width: 120px; }

/* ========== 项目汇总统计面板 ========== */
/* PC端 — 顶部横条 */
.map-stats-bar {
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
  overflow-x: auto;
}
.map-stats-bar .stats-panel {
  display: flex;
  gap: 12px;
  width: 100%;
}

/* 移动端 — 地图上浮动 */
.map-stats-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  padding: 8px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.map-stats-overlay.mobile .stats-panel {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.map-stats-overlay.mobile .stats-panel::-webkit-scrollbar {
  display: none;
}

/* 统计卡片 */
.stat-card {
  flex: 1;
  min-width: 0;
  background: white;
  border-radius: 10px;
  padding: 8px 12px 10px;
  box-shadow: var(--shadow-xs);
  border: 1px solid #f0f0f0;
  transition: all 0.2s;
  cursor: default;
}
.stat-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.stat-card-total {
  background: #f8fafc;
}

.stat-card-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}
.stat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
}
.stat-card-body {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 4px;
}
.stat-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  font-family: "DIN Alternate", "Helvetica Neue", sans-serif;
}
.stat-unit {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
}
.stat-invest {
  font-size: 10px;
  color: #9ca3af;
  white-space: nowrap;
}
.stat-invest-val {
  font-weight: 700;
  color: #4b5563;
}

/* 移动端卡片缩小 */
.map-stats-overlay.mobile .stat-card {
  min-width: 90px;
  flex-shrink: 0;
  padding: 6px 10px 8px;
}
.map-stats-overlay.mobile .stat-num {
  font-size: 18px;
}
.map-stats-overlay.mobile .stat-label {
  font-size: 10px;
}

/* 移动端 — 项目计数下移避免遮挡统计面板 */
.map-stats-overlay.mobile ~ .absolute[style*="bottom"] {
  bottom: 52px !important;
}

/* ========== 成本测算模型 ========== */
.cm-section {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(226, 232, 240, 0.6);
}
.cm-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 10px;
  padding-left: 8px;
  border-left: 3px solid #0d9488;
  line-height: 1.2;
}
.cm-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 4px;
}
.cm-hint {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 5px;
  line-height: 1.5;
}
.cm-input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 13px;
  color: #374151;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
}
.cm-input:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 2px rgba(13,148,136,0.12);
}
.cm-num { text-align: right; font-variant-numeric: tabular-nums; }
select.cm-input { text-align: left; }

.cm-table {
  border-collapse: collapse;
  font-size: 12px;
}
.cm-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  padding: 4px 6px;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}
.cm-table td {
  padding: 4px 6px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}
.cm-table th:nth-child(2), .cm-table th:nth-child(3),
.cm-table td:nth-child(2), .cm-table td:nth-child(3) { min-width: 88px; }
.cm-cell-val {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #1e3a5f;
  font-weight: 600;
  white-space: nowrap;
}
.cm-cell-del { width: 28px; text-align: center; }
.cm-del-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: #f3f4f6;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s;
}
.cm-del-btn:hover { background: #fee2e2; color: #dc2626; }

.cm-add-btn {
  margin-top: 8px;
  font-size: 12px;
  color: #0d9488;
  background: #f0fdfa;
  border: 1px dashed #99f6e4;
  border-radius: 6px;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.cm-add-btn:hover { background: #ccfbf1; }

.cm-ratio-cell { width: 76px; }
.cm-ratio-label {
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 3px;
  text-align: center;
}

/* 结果区 */
.cm-total-card {
  background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 45%, #0d9488 100%);
  border-radius: 12px;
  padding: 18px 20px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.22);
}
.cm-total-label {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
}
.cm-total-num {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.cm-total-unit {
  font-size: 13px;
  font-weight: 500;
  margin-left: 5px;
  color: rgba(255,255,255,0.8);
}
.cm-total-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
}
.cm-res-table .cm-res-name {
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
}
.cm-res-val {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #1e3a5f;
  white-space: nowrap;
}
.cm-res-pct {
  text-align: right;
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
}
.cm-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 7px;
}
.cm-expr-row td { padding: 0 6px 6px 21px; border-bottom: 1px solid #f3f4f6; }
.cm-expr {
  font-size: 11px;
  color: #9ca3af;
}
.cm-total-row td {
  border-top: 2px solid #1e3a5f;
  font-weight: 700;
  color: #1e3a5f;
  padding-top: 8px;
}

/* 占比条 */
.cm-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.cm-bar-label {
  width: 78px;
  font-size: 11px;
  color: #6b7280;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cm-bar-track {
  flex: 1;
  height: 10px;
  background: #f1f5f9;
  border-radius: 5px;
  overflow: hidden;
}
.cm-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.3s ease-out;
}
.cm-bar-pct {
  width: 42px;
  font-size: 11px;
  color: #6b7280;
  text-align: right;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* 明细小行 */
.cm-mini-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 2px;
  border-bottom: 1px dashed #f3f4f6;
  font-size: 12px;
  color: #4b5563;
}
.cm-mini-row span:last-child {
  color: #1e3a5f;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cm-mini-total {
  border-bottom: none;
  border-top: 1px solid #e5e7eb;
  margin-top: 2px;
  padding-top: 8px;
}
.cm-mini-total span { font-weight: 700; color: #1e3a5f; }

/* 其他费科目备注（费率参考口径） */
.cm-fee-note {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.4;
  color: #9ca3af;
}
/* 18版定额公式说明（绿系） */
.cm-fee-formula {
  color: #047857;
  background: #f0fdf9;
  border-radius: 4px;
  padding: 3px 6px;
  margin-top: 4px;
}
/* 公式科目徽标 */
.cm-fee-badge {
  display: inline-block;
  font-size: 10px;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 4px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  white-space: nowrap;
}
/* 公式徽标可点击态（v20260825.35） */
.cm-fee-badge-clickable {
  cursor: pointer;
  user-select: none;
  transition: background 0.12s, border-color 0.12s;
}
.cm-fee-badge-clickable:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
}
.cm-fee-badge-clickable:active { background: #a7f3d0; }
.cm-fee-arrow {
  display: inline-block;
  margin-left: 3px;
  font-size: 9px;
  transition: transform 0.15s;
  color: #047857;
}
/* 公式说明折叠容器（v20260825.35） */
.cm-fee-detail {
  display: none;
  margin-top: 4px;
}
.cm-fee-detail.open {
  display: block;
  animation: feeDetailIn 0.2s ease-out;
}
@keyframes feeDetailIn {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 200px; }
}
.cm-fee-badge-sm { font-size: 9px; margin-left: 4px; vertical-align: 1px; }
/* 公式科目「切为按费率」链接 */
.cm-fee-mode-switch {
  margin-top: 4px;
  font-size: 10px;
  color: #2563eb;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.cm-fee-mode-switch:hover { text-decoration: underline; }
/* 按费率科目「切回公式定额」链接（v20260825.31） */
.cm-fee-back-formula { color: #047857; }
.cm-fee-amt { width: 86px; text-align: right; padding-right: 6px; }
.cm-fee-manual-tag {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 4px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  vertical-align: middle;
}
.cm-cell-del .cm-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: none;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  margin-right: 4px;
}
.cm-cell-del .cm-reset-btn:hover { background: #bae6fd; }
.cm-finance-upload {
  margin-top: 14px;
  padding: 14px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
}
.cm-finance-upload-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cm-finance-file-name {
  font-size: 13px;
  color: #374151;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cm-finance-clear {
  font-size: 12px;
  color: #dc2626;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
}
.cm-finance-clear:hover { text-decoration: underline; }
/* 业态建安单方建议值（v20260825.31） */
.cm-unitcell { min-width: 130px; }
.cm-suggest {
  margin-top: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  line-height: 1.35;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  padding: 4px 6px;
}
.cm-suggest-label { color: #0369a1; font-weight: 600; white-space: nowrap; }
.cm-suggest-src {
  color: #64748b;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: help;
}
.cm-suggest-more { color: #94a3b8; white-space: nowrap; }
.cm-suggest-ref {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 4px;
  padding: 1px 5px;
  white-space: nowrap;
  cursor: help;
}
/* 业态建安单方建议区间列（v20260825.34：县→市→省三级回退区间） */
.cm-unitcell { min-width: 130px; }
.cm-suggest-cell { min-width: 150px; }
.cm-suggest-cell-inner { min-width: 130px; }
.cm-suggest-range {
  font-size: 13px;
  font-weight: 700;
  color: #0369a1;
  white-space: nowrap;
  cursor: help;
  font-variant-numeric: tabular-nums;
}
.cm-suggest-range-none {
  font-size: 12px;
  color: #cbd5e1;
  cursor: help;
  text-align: center;
}
/* 建议区间案例依据（v4.2.0：数据夯实后直接展示案例来源，两行省略、悬浮看全文） */
.cm-suggest-note {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.5;
  margin-top: 2px;
  cursor: help;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
}
/* 业态输入下拉面板（v20260825.39：点击输入框弹出全部业态选项，自定义下拉兼容内置 WebView） */
.cm-type-panel {
  position: fixed;
  z-index: 9999;
  background: #fff;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, .14);
  max-height: 300px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px;
}
.cm-type-panel.hidden { display: none; }
.cm-type-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 10px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 13px;
  color: #1e293b;
}
.cm-type-opt:hover { background: #eff6ff; }
.cm-type-opt-name { font-weight: 500; white-space: nowrap; }
.cm-type-opt-val { color: #64748b; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cm-type-panel-empty { padding: 10px 12px; font-size: 12px; color: #94a3b8; }
.cm-suggest-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  flex-wrap: wrap;
}
.cm-suggest-level {
  font-size: 10px;
  color: #64748b;
  background: #f1f5f9;
  border-radius: 4px;
  padding: 1px 5px;
  cursor: help;
  white-space: nowrap;
}
.cm-suggest-btn {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  border: none;
  background: #0284c7;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}
.cm-suggest-btn:hover { background: #0369a1; }
/* 项目所在地来源说明 */
.cm-muni-source {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 6px 8px;
  margin-top: 2px;
}
.cm-finance-plan { margin-top: 10px; }
.cm-finance-plan-title {
  font-size: 13px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 8px;
}
.cm-action-sm {
  padding: 6px 12px;
  font-size: 12px;
}
/* 已有项目参考面板 */
.cm-ref-panel {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fafafa;
  padding: 8px 10px;
}
.cm-ref-summary {
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
  user-select: none;
}
.cm-ref-summary:hover { color: #1e3a5f; }
.cm-ref-panel .cm-table th { font-size: 11px; }
.cm-ref-panel .cm-table td { font-size: 11px; padding: 4px 8px; }
.cm-mini-fee {
  display: block;
  padding: 6px 2px;
  border-bottom: 1px dashed #f3f4f6;
  font-size: 12px;
  color: #4b5563;
}
.cm-mini-fee .cm-mini-fee-main {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.cm-mini-fee .cm-mini-fee-main span:last-child {
  color: #1e3a5f;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 说明 */
.cm-notes { background: #f8fafc; }
.cm-note-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cm-note-list li {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.7;
  padding-left: 12px;
  position: relative;
}
.cm-note-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9ca3af;
}

/* 顶部操作按钮 */
.cm-action-btn {
  font-size: 12px;
  font-weight: 500;
  color: #0d9488;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 6px;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.cm-action-btn:hover { background: #ccfbf1; }
.cm-action-danger {
  color: #dc2626;
  background: #fef2f2;
  border-color: #fecaca;
}
.cm-action-danger:hover { background: #fee2e2; }

.cm-warn {
  font-size: 11px;
  color: #d97706;
  margin-top: 6px;
}

/* 移动端：结果区卡片随文档流 */
@media (max-width: 1023px) {
  .cm-total-num { font-size: 26px; }
}

/* ========== 顶栏（v20260825.33 渐变 + 底部高光） ========== */
.app-header {
  position: relative;
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 55%, #24466e 100%) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 2px 10px rgba(15,23,42,0.18) !important;
}
.app-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(37,99,235,0) 0%, rgba(96,165,250,0.55) 50%, rgba(37,99,235,0) 100%);
  pointer-events: none;
}

/* ========== 登录页（v20260825.33） ========== */
.login-bg {
  background-image:
    radial-gradient(circle at 18% 22%, rgba(37, 99, 235, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(13, 148, 136, 0.18) 0%, transparent 40%),
    linear-gradient(135deg, #14273f 0%, var(--brand) 55%, #0f1e30 100%) !important;
}
.login-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 220' preserveAspectRatio='xMidYMax slice'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Crect x='40' y='120' width='50' height='100' rx='2'/%3E%3Crect x='110' y='90' width='60' height='130' rx='2'/%3E%3Crect x='190' y='130' width='45' height='90' rx='2'/%3E%3Crect x='260' y='70' width='70' height='150' rx='2'/%3E%3Crect x='360' y='110' width='55' height='110' rx='2'/%3E%3Crect x='440' y='50' width='80' height='170' rx='2'/%3E%3Crect x='550' y='100' width='65' height='120' rx='2'/%3E%3Crect x='640' y='80' width='55' height='140' rx='2'/%3E%3Crect x='730' y='140' width='50' height='80' rx='2'/%3E%3Crect x='810' y='110' width='60' height='110' rx='2'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 1100px 160px;
  pointer-events: none;
}
.login-btn {
  background: linear-gradient(135deg, var(--brand) 0%, #2b5aa0 100%);
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.35);
}
.login-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(30, 58, 95, 0.42); }
.login-btn:active { transform: translateY(0); }

/* ========== 导航项 ========== */
.nav-item {
  color: #4b5563;
  position: relative;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.nav-item:hover {
  background: #eff6ff;
  color: #2563eb;
  transform: translateX(2px);
}
.nav-item.active {
  background: linear-gradient(135deg, var(--brand-deep) 0%, #2b5aa0 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.28);
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 20%;
  bottom: 20%;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #60a5fa, var(--brand-bright));
}
.nav-item.active svg {
  color: #93c5fd;
}
.nav-item:hover svg { color: #2563eb; }
.nav-item.active:hover { transform: none; }

/* 移动端底部导航 */
.mnav-item {
  color: #9ca3af;
  transition: color 0.15s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.mnav-item.active {
  color: var(--brand);
}
.mnav-item.active svg {
  stroke-width: 2.5;
}
.mnav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2.5px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--brand-bright), #60a5fa);
}

/* ========== 模块切换过渡（v20260825.33） ========== */
.module-enter {
  animation: moduleFadeIn 0.28s ease-out;
}
@keyframes moduleFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== 模块加载占位（v20260825.37 导航优化） ========== */
.module-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 55vh;
  color: #6b7280;
  font-size: 14px;
}
.module-loading-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid #e5e7eb;
  border-top-color: #1e3a5f;
  border-radius: 50%;
  animation: moduleSpin 0.7s linear infinite;
}
@keyframes moduleSpin {
  to { transform: rotate(360deg); }
}

/* ========== 全局轻量 Toast（v20260825.38 导出反馈） ========== */
.urp-toast {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translate(-50%, -8px);
  z-index: 9999;
  max-width: 86vw;
  padding: 9px 18px;
  border-radius: 8px;
  background: rgba(30, 58, 95, 0.94);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.urp-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.urp-toast.ok {
  background: rgba(6, 122, 89, 0.94);
}
.urp-toast.warn {
  background: rgba(180, 83, 9, 0.95);
}

/* ========== 滚动条 ========== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ========== 地图 ========== */
#map-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}

/* ========== 图层控制面板 ========== */
.layer-panel {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1000;
}
.layer-panel-btn {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  padding: 8px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}
.layer-panel-btn:hover {
  background: #f8fafc;
}
.layer-panel-content {
  position: absolute;
  top: 44px;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  padding: 12px 14px;
  min-width: 160px;
  display: none;
  animation: layerFadeIn 0.15s ease-out;
}
.layer-panel-content.open {
  display: block;
}
@keyframes layerFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.layer-option {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  font-size: 12px;
  color: #4b5563;
  transition: color 0.1s;
}
.layer-option:hover {
  color: #1e3a5f;
}
.layer-option input[type="radio"],
.layer-option input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #1e3a5f;
  cursor: pointer;
}
.layer-divider {
  border-top: 1px solid #f0f0f0;
  margin: 8px 0;
}

/* 城市名称标签 */
.city-label-icon {
  pointer-events: none !important;
  background: transparent !important;
  border: none !important;
}
.city-label-text {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  text-shadow: 1px 1px 2px white, -1px -1px 2px white, 1px -1px 2px white, -1px 1px 2px white, 0 0 4px white;
  white-space: nowrap;
  letter-spacing: 1px;
  opacity: 0.85;
}

/* 行政区划悬停tooltip */
.boundary-tooltip {
  background: rgba(30, 58, 95, 0.9) !important;
  border: none !important;
  border-radius: 4px !important;
  color: white !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}
.boundary-tooltip::before {
  display: none;
}
.leaflet-container {
  font-family: inherit;
  font-size: 13px;
}
.project-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.project-marker:hover {
  transform: scale(1.12);
  z-index: 1000;
}
.project-marker span {
  font-weight: bold;
  color: white;
  line-height: 1;
}

/* 等级: 已落地 — 更大、绿色外环 */
.project-marker.level-landed {
  border: 3px solid #059669;
  box-shadow: 0 0 0 2px white, 0 2px 8px rgba(5,150,105,0.4);
}

/* 等级: 重点跟进 — 中等、红色光环 */
.project-marker.level-key {
  border: 2px solid white;
  box-shadow: 0 0 0 2px #dc2626, 0 2px 8px rgba(220,38,38,0.35);
}

/* 等级: 一般跟进 — 较小、半透明 */
.project-marker.level-general {
  border: 2px solid white;
  opacity: 0.85;
}

/* 等级标签 */
.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
}
.level-badge .level-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.project-popup .leaflet-popup-content-wrapper {
  border-radius: 8px;
  padding: 0;
}
.project-popup .leaflet-popup-content {
  margin: 0;
  width: 260px;
}

/* ========== 卡片 ========== */
.info-card {
  transition: all 0.2s;
  cursor: pointer;
}
.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
.info-card:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ========== 标签 ========== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

/* ========== 弹窗动画 ========== */
.modal-slide-in {
  animation: slideIn 0.25s ease-out;
}
/* 弹窗根容器层级：必须高于地图统计面板(1000)、地图抽屉(1001)、图层面板(1000) */
.modal-wrapper {
  z-index: 1100;
}
/* 修改密码等系统弹窗再上一级 */
.modal-wrapper-system {
  z-index: 1200;
}
@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* 弹窗面板 — PC端侧滑 */
.modal-panel {
  transition: transform 0.25s ease-out;
}

/* ========== 筛选按钮 ========== */
.filter-btn {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  background: white;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.filter-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}
.filter-btn.active {
  background: #1e3a5f;
  color: white;
  border-color: #1e3a5f;
}

/* ========== 状态徽章 ========== */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}
.status-active { background: #dcfce7; color: #16a34a; }
.status-progress { background: #fef3c7; color: #d97706; }
.status-early { background: #e0e7ff; color: #4f46e5; }
.status-done { background: #f1f5f9; color: #64748b; }

/* ========== 文本截断 ========== */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== 移动端筛选栏滚动 ========== */
.mobile-filter-scroll {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mobile-filter-scroll::-webkit-scrollbar {
  display: none;
}

/* ========================================== */
/* ========== 移动端响应式（<768px） ========== */
/* ========================================== */
@media (max-width: 767px) {

  /* 弹窗全屏化 */
  .modal-panel {
    width: 100vw !important;
    max-width: 100vw !important;
    bottom: 0 !important;
    top: 0 !important;
    border-radius: 0;
  }
  .modal-slide-in {
    animation: slideUp 0.25s ease-out;
  }
  @keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  /* 弹窗内容内边距调整 */
  .modal-panel .p-6 {
    padding: 1rem;
  }

  /* 全屏弹窗头部适配 iOS 独立模式状态栏：Web Clip/桌面快捷方式全屏下状态栏覆盖页面顶部，
     右上关闭按钮被盖住点不到；头部色块补 safe-area 顶部内边距，把按钮推到状态栏下方 */
  .modal-panel .modal-slide-in > :first-child {
    padding-top: calc(env(safe-area-inset-top, 0px) + 1.25rem) !important;
  }
  /* 弹窗右上关闭按钮热区放大至 44px（iOS 最小触控标准），视觉不变 */
  .modal-panel .modal-slide-in > :first-child button {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: -6px -6px 0 0;
  }

  /* 筛选栏横向滚动 */
  .filter-bar-mobile {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
  }

  /* 地图底部抽屉：fixed 定位在底部导航之上，z-index 低于底部导航(z-40)，避免遮挡导航点击；collapsed 只露出 40px 把手 */
  #content-area {
    padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0));
  }
  #map-list-drawer {
    position: fixed;
    bottom: calc(3.5rem + env(safe-area-inset-bottom, 0));
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 39;
    transition: max-height 0.3s ease-out;
    max-height: 50vh;
    overflow: hidden;
  }
  #map-list-drawer.collapsed {
    max-height: 40px;
  }
  #map-list-drawer.expanded {
    max-height: 50vh;
  }
  #map-list-drawer.expanded .drawer-chevron {
    transform: rotate(180deg);
  }

  /* 地图弹窗适配 */
  .project-popup .leaflet-popup-content {
    width: 220px;
  }

  /* 项目详情指标网格单列 */
  .modal-panel .grid-cols-2 {
    grid-template-columns: 1fr 1fr;
  }

  /* 政策级别统计卡片 */
  .modal-panel .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== 平板适配（768px-1024px） ========== */
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-item span {
    font-size: 13px;
  }
}

/* ========== 公司简介模块 ========== */
.about-scroll { background: #f8fafc; }
.about-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 28px 20px;
}
.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}
.about-hero-slogan {
  font-size: 13px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
.about-hero-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.about-hero-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  margin-top: 10px;
}
.about-section {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(226, 232, 240, 0.55);
}
.about-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e7eb;
  position: relative;
}
.about-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 2px;
  background: #2563eb;
}
.about-intro {
  font-size: 14px;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 16px;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.about-stat-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border: 1px solid #e0f2fe;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.about-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #2563eb;
  font-variant-numeric: tabular-nums;
}
.about-stat-label {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}
.about-strength-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.about-strength-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 18px;
  border-left: 4px solid #2563eb;
}
.about-strength-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.about-strength-icon svg { width: 22px; height: 22px; }
.about-strength-title {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
}
.about-strength-desc {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.7;
}
.about-qual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.about-qual-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
}
.about-qual-level {
  font-size: 18px;
  font-weight: 700;
  color: #dc2626;
  margin-bottom: 4px;
}
.about-qual-name {
  font-size: 12px;
  color: #374151;
  line-height: 1.4;
}
.about-biz-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-biz-row {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px;
}
.about-biz-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.about-biz-name {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}
.about-biz-count {
  font-size: 22px;
  font-weight: 700;
}
.about-biz-count span { font-size: 12px; font-weight: 400; color: #6b7280; }
.about-biz-track {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.about-biz-fill {
  height: 100%;
  border-radius: 4px;
  min-width: 2px;
}
.about-biz-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.55;
}
/* v20260825.33：组织架构展示已移除（about-org-* 样式随之删除，数据保留在 about.js ABOUT.org） */
.about-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.about-project-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.about-project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: #dbeafe;
}
.about-project-img {
  height: 180px;
  background: #f3f4f6;
  overflow: hidden;
}
.about-project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.about-project-card:hover .about-project-img img { transform: scale(1.03); }
.about-project-body {
  padding: 14px;
}
.about-project-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #eff6ff;
  color: #2563eb;
  margin-bottom: 8px;
}
.about-project-name {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
  line-height: 1.35;
}
.about-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}
.about-project-scale {
  font-size: 12px;
  color: #4b5563;
  margin-bottom: 8px;
}
.about-project-highlight {
  font-size: 12px;
  color: #059669;
  background: #f0fdf4;
  padding: 8px 10px;
  border-radius: 6px;
  line-height: 1.5;
}
.about-honor-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-honor-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.about-honor-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f8fafc;
  padding: 12px;
  border-radius: 10px;
}
.about-honor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  margin-top: 6px;
  flex-shrink: 0;
}
.about-honor-title { font-size: 14px; font-weight: 700; color: #1f2937; }
.about-honor-desc { font-size: 12px; color: #6b7280; margin-top: 2px; }
.about-honor-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.about-honor-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-honor-group-title {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-align: center;
  padding: 8px 10px;
  background: #f8fafc;
  border-radius: 6px;
  border-left: 3px solid #f59e0b;
  line-height: 1.4;
}
.about-honor-group-pics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.about-honor-pic {
  aspect-ratio: 0.72;
  border-radius: 6px;
  overflow: hidden;
  background: #f3f4f6;
  cursor: pointer;
  border: 1px solid #e5e7eb;
}
.about-honor-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-future {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  color: #fff;
}
.about-future .about-section-title {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.2);
}
.about-future .about-section-title::after { background: #fbbf24; }
.about-future p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.92); }
.about-preview {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.about-preview img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
}
.about-preview-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
@media (min-width: 640px) {
  .about-hero { min-height: 280px; padding: 40px 28px; }
  .about-hero-slogan { font-size: 14px; }
  .about-hero-title { font-size: 34px; }
  .about-hero-sub { font-size: 14px; }
  .about-section { padding: 28px; }
  .about-section-title { font-size: 18px; }
  .about-stats-grid { grid-template-columns: repeat(4, 1fr); }
  .about-strength-grid { grid-template-columns: repeat(3, 1fr); }
  .about-qual-grid { grid-template-columns: repeat(3, 1fr); }
  .about-projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-honor-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .about-hero { min-height: 300px; }
  .about-hero-title { font-size: 40px; }
  .about-projects-grid { grid-template-columns: repeat(3, 1fr); }
  .about-honor-gallery { grid-template-columns: repeat(3, 1fr); }
  .about-honor-main { flex-direction: row; }
  .about-honor-list { flex: 0 0 260px; }
  .about-honor-gallery { flex: 1; }
}

/* ========== v5.0.0 投资测算（页签壳 / 营收预测 / 投资效益 KPI·敏感性·现金流） ========== */
/* v5.2.0 页签强化：灰底胶囊容器 + 序号徽标 + 激活态白底绿框浮起，
   一眼可辨「投资估算→营收预测→投资效益」三个可切换步骤模块 */
.cm-invest-tabs {
  display: flex;
  gap: 8px;
  padding: 5px;
  /* v5.2.5 页签栏与内容列对齐：此前铺满模块全宽、与下方 max-w-6xl 居中内容列错位显变形；
     宽度跟随内容卡片（内容列 72rem 减两侧内边距），上下外边距与内容顶部 padding 对齐 */
  width: calc(100% - 2rem);
  max-width: calc(72rem - 2rem);
  margin: 16px auto;
  background: #eef1f4;
  border: 1px solid #e2e6ea;
  border-radius: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
@media (min-width: 640px) {
  .cm-invest-tabs { width: calc(100% - 3rem); max-width: calc(72rem - 3rem); }
}
.cm-invest-tabs::-webkit-scrollbar { display: none; }
.cm-invest-tab {
  flex: 1;
  min-width: 168px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1.5px solid transparent;
  background: transparent;
  padding: 9px 13px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.cm-invest-tab:hover { background: rgba(255, 255, 255, 0.72); }
.cm-invest-tab-num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #c3cbd4;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.cm-invest-tab-body { min-width: 0; }
.cm-invest-tab-name { display: block; font-size: 14px; font-weight: 700; color: #4b5563; }
.cm-invest-tab-desc { display: block; font-size: 11px; color: #9ca3af; margin-top: 1px; white-space: nowrap; }
.cm-invest-tab:hover .cm-invest-tab-name { color: #0d9488; }
.cm-invest-tab:hover .cm-invest-tab-num { background: #5eead4; }
.cm-invest-tab-active {
  background: #fff;
  border-color: #0d9488;
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.16);
}
.cm-invest-tab-active .cm-invest-tab-num { background: #0d9488; }
.cm-invest-tab-active .cm-invest-tab-name { color: #0d9488; }
.cm-invest-tab-active .cm-invest-tab-desc { color: #6b7280; }
/* v5.2.4 修复测算页无法下拉：#module-cost 设为纵向 flex，pane 占满剩余高度并允许收缩，
   使内部 .h-full.overflow-y-auto 获得确定高度、恢复滚动（v5.0.0 起页签壳无高度约束的遗留缺陷）。
   !important 用于压过 app.js navigateTo() 给模块容器设的内联 display:block */
#module-cost { display: flex !important; flex-direction: column; }
.cm-invest-pane { flex: 1 1 auto; min-height: 0; }

.cm-unit { font-size: 11px; color: #9ca3af; white-space: nowrap; }
.cm-unit-sm { font-size: 10px; }
.cm-invest-mini { min-width: 62px; }
.cm-static-val {
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
  color: #374151;
}
.cm-neg { color: #dc2626; font-variant-numeric: tabular-nums; }
.cm-action-primary { color: #fff; background: #0d9488; border-color: #0d9488; }
.cm-action-primary:hover { background: #0f766e; color: #fff; }

.cm-kpi {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: var(--shadow-xs);
}
.cm-kpi-label { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #6b7280; margin-bottom: 6px; white-space: nowrap; }
.cm-kpi-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex: none; }
.cm-kpi-val { font-size: 18px; font-weight: 700; color: #16304f; font-variant-numeric: tabular-nums; line-height: 1.2; }
.cm-kpi-unit { font-size: 11px; font-weight: 400; color: #9ca3af; }
.cm-kpi-ok { background: #f0fdf4; border-color: #bbf7d0; }
.cm-kpi-bad { background: #fef2f2; border-color: #fecaca; }

.cm-verdict-ok { color: #16a34a; font-weight: 600; }
.cm-verdict-bad { color: #dc2626; font-weight: 600; }
.cm-verdict-line { margin-top: 8px; font-size: 13px; line-height: 1.6; }

.cm-stage-build { color: #dc2626; font-weight: 600; }
.cm-stage-ramp { color: #d97706; font-weight: 600; }
.cm-stage-op { color: #16a34a; font-weight: 600; }
.cm-cf-net { color: #16304f; font-weight: 700; font-variant-numeric: tabular-nums; }
.cm-cf-scroll thead th { position: sticky; top: 0; background: #fff; z-index: 1; }

.cm-impact { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.cm-impact-ext { background: #fecaca; color: #b91c1c; }
.cm-impact-high { background: #fed7aa; color: #c2410c; }
.cm-impact-mid { background: #fef9c3; color: #a16207; }
.cm-impact-low { background: #dcfce7; color: #15803d; }
.cm-impact-base { background: #f3f4f6; color: #6b7280; }
.cm-sensi-grp td {
  background: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  color: #0f766e;
  padding-top: 7px;
  border-bottom: none;
}

/* ========== v5.1.0 便捷与准确平衡（经济参数折叠 / 参考预填徽标 / 就绪提示条） ========== */
.cm-ready {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.cm-ready-ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.cm-ready-warn { background: #fffbeb; border: 1px solid #fde68a; color: #b45309; }
.cm-ready-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; }
.cm-ready span { flex: 1; min-width: 0; }

.cm-ref-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 10px;
  line-height: 16px;
  vertical-align: middle;
  white-space: nowrap;
  cursor: help;
}

.cm-param-bar {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.cm-param-bar:hover { background: #ccfbf1; }
.cm-param-bar .arrow { color: #0d9488; font-size: 12px; margin-top: 3px; flex: none; }
.cm-param-summary { flex: 1; min-width: 0; font-size: 12px; color: #134e4a; line-height: 1.8; }
.cm-param-summary b { font-weight: 700; }
.cm-param-open-hint { color: #0d9488; font-weight: 600; font-size: 11px; flex: none; margin-top: 3px; }
.cm-param-body { display: none; margin-top: 12px; padding-top: 2px; }
.cm-param-body.open { display: block; }
.cm-param-grp {
  font-size: 11px;
  font-weight: 700;
  color: #0f766e;
  margin: 10px 0 6px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cm-param-grp:first-child { margin-top: 0; }
.cm-param-grp::after { content: ''; flex: 1; height: 1px; background: #e6f4f1; }
