/* 青芽科创投资管理系统 - 全局样式 v1.0 */
/* Mobile-First 响应式设计 */

:root {
  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-light: #dcfce7;
  --primary-muted: #86efac;
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --gold: #d97706;
  --gold-light: #fef3c7;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --success: #16a34a;
  --text: #111827;
  --text-sec: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg: #f0fdf4;
  --surface: #ffffff;
  --surface-alt: #f9fafb;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --nav-w: 240px;
  --header-h: 56px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ==================== 滚动条 ==================== */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ==================== 登录页 ==================== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #14532d 0%, #166534 40%, #065f46 70%, #0d4f3c 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2316a34a' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.login-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,0.97);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.login-logo {
  text-align: center;
  margin-bottom: 28px;
}
.login-logo .logo-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(22,163,74,.3);
}
.login-logo h1 { font-size: 1.35rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.login-logo p { font-size: .85rem; color: var(--text-muted); }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-sec); margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,163,74,.12); }
.form-input::placeholder { color: var(--text-light); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  border: none;
  transition: all .2s;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22,163,74,.3); }
.btn-secondary { background: var(--surface-alt); color: var(--text-sec); border: 1.5px solid var(--border); }
.btn-secondary:hover:not(:disabled) { background: var(--border-light); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover:not(:disabled) { background: #b91c1c; }
.btn-ghost { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost:hover:not(:disabled) { background: var(--primary-light); }
.btn-sm { padding: 6px 12px; font-size: .8rem; }
.btn-full { width: 100%; }
.btn-icon { padding: 8px; border-radius: var(--radius-xs); }
.error-msg { font-size: .83rem; color: var(--danger); margin-bottom: 10px; display: none; }
.login-footer { text-align: center; font-size: .75rem; color: var(--text-muted); margin-top: 20px; }

/* ==================== 应用布局 ==================== */
.app-layout { display: flex; min-height: 100vh; }

/* 侧边导航 */
.sidebar {
  width: var(--nav-w);
  background: linear-gradient(180deg, #14532d 0%, #166534 60%, #065f46 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  transition: transform .3s ease;
  overflow-y: auto;
  overflow-x: hidden;
}
.sidebar-brand {
  padding: 20px 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.sidebar-brand .brand-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 8px;
}
.sidebar-brand h2 { font-size: .92rem; font-weight: 700; line-height: 1.3; }
.sidebar-brand p { font-size: .7rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.sidebar-user {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.user-avatar {
  width: 34px;
  height: 34px;
  background: var(--primary-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary-dark);
  flex-shrink: 0;
}
.user-info { min-width: 0; }
.user-name { font-size: .85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { font-size: .7rem; color: rgba(255,255,255,.6); }
.sidebar-nav { flex: 1; padding: 8px 0; }
.nav-section { padding: 16px 16px 4px; font-size: .7rem; color: rgba(255,255,255,.4); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: rgba(255,255,255,.75);
  cursor: pointer;
  transition: all .2s;
  font-size: .875rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  -webkit-tap-highlight-color: transparent;
}
.nav-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-item.active { background: rgba(255,255,255,.12); color: #fff; border-left-color: var(--primary-muted); }
.nav-item .nav-icon { font-size: 1.1rem; width: 20px; text-align: center; flex-shrink: 0; }
.sidebar-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 99;
  backdrop-filter: blur(2px);
}

/* 主内容区 */
.main-content {
  flex: 1;
  margin-left: var(--nav-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
.topbar-title { font-size: 1rem; font-weight: 700; color: var(--text); }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--text-sec);
  border-radius: var(--radius-xs);
  font-size: 1.2rem;
}
.content-area { flex: 1; padding: 20px; }

/* ==================== 卡片 ==================== */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.card-title { font-size: 1rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* 统计卡片 */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 60px;
  border-radius: 0 var(--radius) 0 60px;
  opacity: .1;
}
.stat-card.green::before { background: var(--primary); }
.stat-card.blue::before { background: var(--accent); }
.stat-card.gold::before { background: var(--gold); }
.stat-card.red::before { background: var(--danger); }
.stat-icon { font-size: 1.4rem; margin-bottom: 8px; }
.stat-value { font-size: 1.5rem; font-weight: 800; color: var(--text); line-height: 1.2; }
.stat-label { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
.stat-card.green .stat-value { color: var(--primary); }
.stat-card.blue .stat-value { color: var(--accent-dark); }
.stat-card.gold .stat-value { color: var(--gold); }
.stat-card.red .stat-value { color: var(--danger); }

/* ==================== 表格 ==================== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
thead th {
  background: var(--surface-alt);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  font-size: .8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
tbody td { padding: 11px 14px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface-alt); }
.td-wrap { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==================== 徽章 ==================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-green { background: var(--primary-light); color: var(--primary-dark); }
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-gold { background: var(--gold-light); color: var(--gold); }
.badge-red { background: var(--danger-light); color: var(--danger); }
.badge-gray { background: var(--surface-alt); color: var(--text-muted); border: 1px solid var(--border); }
.badge-in { background: #dcfce7; color: #15803d; }
.badge-out { background: #fee2e2; color: #dc2626; }

/* ==================== 项目卡片 ==================== */
.project-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.project-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all .2s;
  overflow: hidden;
}
.project-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--primary-muted); }
.project-card.active-card { border-color: var(--primary); }
.project-card-header {
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #0d9488 100%);
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.project-card-name { font-size: 1rem; font-weight: 700; }
.project-card-org { font-size: .75rem; color: rgba(255,255,255,.8); margin-top: 2px; }
.project-card-body { padding: 14px 16px; }
.project-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-stat { text-align: center; }
.mini-stat-val { font-size: 1rem; font-weight: 700; color: var(--primary); }
.mini-stat-label { font-size: .7rem; color: var(--text-muted); }

/* ==================== 账务类型颜色 ==================== */
.type-invest { color: #7c3aed; background: #f5f3ff; border: 1px solid #ddd6fe; }
.type-income { color: #15803d; background: #dcfce7; border: 1px solid #bbf7d0; }
.type-expense { color: #dc2626; background: #fee2e2; border: 1px solid #fecaca; }
.type-withdraw { color: #d97706; background: #fef3c7; border: 1px solid #fde68a; }
.type-other { color: #6b7280; background: #f3f4f6; border: 1px solid #e5e7eb; }
.amount-in { color: var(--success); font-weight: 700; }
.amount-out { color: var(--danger); font-weight: 700; }

/* ==================== 账务汇总条 ==================== */
.ledger-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.ledger-sum-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  border: 1px solid var(--border-light);
}
.ledger-sum-label { font-size: .75rem; color: var(--text-muted); margin-bottom: 4px; }
.ledger-sum-val { font-size: 1.1rem; font-weight: 800; }

/* ==================== 筛选栏 ==================== */
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-bar select, .filter-bar input {
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: .85rem;
  background: var(--surface);
  color: var(--text);
  outline: none;
  -webkit-appearance: none;
}
.filter-bar select:focus, .filter-bar input:focus { border-color: var(--primary); }
.filter-bar select { min-width: 110px; }
.filter-bar input[type="date"] { min-width: 130px; }

/* ==================== 成员列表 ==================== */
.member-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.member-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.member-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #bfdbfe 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  color: var(--primary-dark);
  flex-shrink: 0;
}
.member-info { flex: 1; min-width: 0; }
.member-name { font-weight: 600; font-size: .9rem; }
.member-meta { font-size: .75rem; color: var(--text-muted); display: flex; gap: 12px; flex-wrap: wrap; }
.member-gmv { font-weight: 700; color: var(--primary); font-size: .9rem; white-space: nowrap; }

/* ==================== GMV 图表区域 ==================== */
.gmv-chart-wrap {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.gmv-bar-list { display: flex; flex-direction: column; gap: 6px; }
.gmv-bar-item { display: flex; align-items: center; gap: 8px; }
.gmv-bar-date { font-size: .75rem; color: var(--text-muted); width: 50px; flex-shrink: 0; }
.gmv-bar-bg { flex: 1; background: var(--border-light); border-radius: 99px; height: 8px; overflow: hidden; }
.gmv-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%); border-radius: 99px; transition: width .5s; }
.gmv-bar-val { font-size: .75rem; font-weight: 600; color: var(--text); width: 70px; text-align: right; flex-shrink: 0; }

/* ==================== 模态框 ==================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  align-items: flex-end;
  justify-content: center;
  backdrop-filter: blur(3px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--surface);
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  border-radius: 20px 20px 0 0;
  overflow-y: auto;
  padding: 0 0 env(safe-area-inset-bottom);
  animation: slideUp .3s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-handle {
  width: 36px;
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  margin: 12px auto 0;
}
.modal-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title { font-size: 1rem; font-weight: 700; }
.modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-body { padding: 16px 20px; }
.modal-footer { padding: 12px 20px 20px; display: flex; gap: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: .75rem; color: var(--text-muted); margin-top: 4px; }

/* ==================== 空状态 ==================== */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; opacity: .5; }
.empty-state p { font-size: .9rem; }

/* ==================== 面包屑 ==================== */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--text-muted); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }

/* ==================== Tab 切换 ==================== */
.tab-bar {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 4px;
  border: 1px solid var(--border-light);
}
.tab-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: none;
  border-radius: var(--radius-xs);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.tab-btn.active {
  background: var(--surface);
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* ==================== 分页 ==================== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 0; }
.page-btn {
  min-width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-sec);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  transition: all .15s;
}
.page-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn:disabled { opacity: .4; cursor: not-allowed; }
.page-info { font-size: .82rem; color: var(--text-muted); }

/* ==================== 加载 ==================== */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--text-muted);
  font-size: .9rem;
  gap: 10px;
}
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== Toast（页面居中展示） ==================== */
#toast-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  width: calc(100% - 32px);
  max-width: 420px;
}
.toast {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: #fff;
  box-shadow: var(--shadow);
  animation: toastIn .3s ease;
  pointer-events: auto;
  text-align: center;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.toast.success { background: var(--primary); }
.toast.error { background: var(--danger); }
.toast.warning { background: var(--warning); color: var(--text); }

/* ==================== 响应式断点 ==================== */
/* 平板 (≥ 640px) */
@media (min-width: 640px) {
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .ledger-summary { grid-template-columns: repeat(4, 1fr); }
  .member-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 桌面 (≥ 1024px) */
@media (min-width: 1024px) {
  .modal-box {
    border-radius: 20px;
    max-width: 560px;
    margin: auto;
    animation: fadeInScale .25s ease;
  }
  @keyframes fadeInScale { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
  .modal-overlay { align-items: center; }
  .project-grid { grid-template-columns: repeat(3, 1fr); }
  .content-area { padding: 24px 32px; }
}

/* 移动端 (< 768px) */
@media (max-width: 767px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .main-content { margin-left: 0; }
  .menu-btn { display: flex; }
  .topbar { padding: 0 12px; }
  .content-area { padding: 12px; }
  .card { padding: 14px; }
  .login-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  /* 表格移动端优化 */
  .hide-mobile { display: none !important; }
  .table-wrap { font-size: .8rem; }
  thead th, tbody td { padding: 8px 10px; }
}

/* 超小屏 (< 375px) */
@media (max-width: 374px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 1.2rem; }
}

/* 项目概况双栏（移动端折叠为单栏） */
@media (max-width: 900px) {
  .ov-2col { grid-template-columns: 1fr !important; }
}
