* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Roboto, sans-serif; background: #f0f2f5; color: #333; min-height: 100vh; overflow-y: scroll; }

.site-footer {
  padding: 24px 20px 30px;
  color: #8b93a7;
  font-size: 12px;
  text-align: center;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #283593; }

/* ===== 全站浮动提示统一主题 ===== */
.app-tooltip.app-tooltip {
  background: rgba(31,35,41,.96);
  color: #e5e7eb;
  border: 1px solid #4b5563;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15,23,42,.24);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
}
.app-tooltip.app-tooltip strong { color: #fff; }
.app-tooltip.app-tooltip p,
.app-tooltip.app-tooltip span { color: #e5e7eb; }
.app-tooltip.app-tooltip .tooltip-muted,
.app-tooltip.app-tooltip .bond-cycle-disclaimer { color: #cbd5e1; }

/* ===== 导航栏 ===== */
.nav { background: linear-gradient(135deg, #1a237e 0%, #283593 100%); color: #fff; padding: 0; display: block; position: sticky; top: 0; z-index: 100; height: 52px; box-shadow: 0 2px 8px rgba(26,35,126,.25); overflow: hidden; }
.nav-inner { max-width: 1240px; margin: 0 auto; padding: 0 20px; height: 52px; display: flex; align-items: center; gap: 12px; }
.nav-left { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav h1 { font-size: 16px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.nav-right { display: flex; align-items: center; gap: 2px; margin-left: auto; height: 100%; }

/* 账户选择器 */
.nav-account { display: flex; align-items: center; gap: 3px; }
.nav-account select { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; padding: 4px 8px; font-size: 12px; cursor: pointer; outline: none; min-width: 80px; max-width: 120px; }
.nav-account select option { background: #283593; color: #fff; }
.btn-account-add { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; width: 24px; height: 24px; font-size: 14px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s; flex-shrink: 0; }
.btn-account-add:hover { background: rgba(255,255,255,.25); }

/* 刷新按钮 */
.btn-refresh { padding: 4px 12px; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; cursor: pointer; font-size: 12px; transition: .2s; white-space: nowrap; flex-shrink: 0; }
.btn-refresh:hover { background: rgba(255,255,255,.22); }

/* 用户信息 */
.nav-user { font-size: 12px; color: rgba(255,255,255,.7); white-space: nowrap; flex-shrink: 0; }
.nav-logout { font-size: 12px; padding: 3px 8px; background: transparent; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.15); border-radius: 4px; cursor: pointer; transition: .2s; flex-shrink: 0; }
.nav-logout:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Tab切换 */
.nav-tabs { display: flex; gap: 2px; height: 100%; align-items: stretch; flex-shrink: 0; }
.nav-tab { padding: 0 14px; border: none; background: transparent; color: rgba(255,255,255,.65); cursor: pointer; font-size: 13px; transition: .2s; position: relative; display: flex; align-items: center; white-space: nowrap; }
.nav-tab:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-tab.active { color: #fff; }
.nav-tab.active::after { content: ''; position: absolute; bottom: 0; left: 10px; right: 10px; height: 3px; background: #ffc107; border-radius: 3px 3px 0 0; }

/* ===== 页面容器 ===== */
.feature-page-shell, .page { width: 100%; max-width: 1240px; margin: 0 auto; }
.feature-page-shell { padding: 20px; }
.page { display: none; padding: 20px; }
.page.active { display: block; }

/* ===== 统计卡片 ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card { background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: box-shadow .2s; display: flex; flex-direction: column; }
.stat-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.stat-card .stat-top { display: flex; justify-content: space-between; align-items: flex-start; }
.stat-card .bar-wrap { height: 4px; background: #f0f0f0; border-radius: 2px; margin-top: auto; overflow: hidden; }
.stat-card .label { font-size: 12px; color: #8c8c8c; margin-bottom: 2px; line-height: 1.4; }
.stat-card .value { font-size: 22px; font-weight: 700; color: #1a1a2e; line-height: 1.2; }
.stat-card .sub { font-size: 12px; color: #999; margin-top: 4px; }
.stat-card .stat-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.stat-card .bar-fill { height: 100%; border-radius: 2px; transition: width .5s; }
.stat-card .tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; margin-top: 4px; }
.icon-bg-blue { background: #e8f0fe; color: #1a73e8; }
.icon-bg-red { background: #fce8e6; color: #d93025; }
.icon-bg-orange { background: #fef3e2; color: #e37400; }
.icon-bg-green { background: #e6f4ea; color: #137333; }
.color-positive { color: #d93025; }
.color-negative { color: #137333; }
.tag-over { background: #fce8e6; color: #d93025; }
.tag-under { background: #e6f4ea; color: #137333; }
.tag-ok { background: #e8f0fe; color: #1a73e8; }

/* ===== 图表 ===== */
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.chart-box { background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.chart-box .chart-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.chart-box h3 { font-size: 14px; font-weight: 600; color: #1a1a2e; }
.chart-box .chart-total { font-size: 12px; color: #8c8c8c; }
.chart-canvas-wrap { position: relative; height: 260px; }

/* ===== 表格 ===== */
.table-wrap { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.05); overflow: hidden; margin-bottom: 18px; }
.table-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #f0f0f0; flex-wrap: wrap; gap: 8px; }
.table-header h3 { font-size: 14px; font-weight: 600; color: #1a1a2e; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 10px 12px; text-align: left; font-weight: 700; color: #555; border-bottom: 1px solid #f0f0f0; white-space: nowrap; background: #fafbfc; font-size: 12px; text-transform: uppercase; letter-spacing: .3px; }
td { padding: 10px 12px; border-bottom: 1px solid #f5f5f5; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #f8f9ff; }
td.positive { color: #d93025; font-weight: 600; }
td.negative { color: #137333; font-weight: 600; }
.positive { color: #d93025; font-weight: 600; }
.negative { color: #137333; font-weight: 600; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.positions-data-table th,
.positions-data-table td { text-align: center !important; }
.earnings-pager { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 0 4px; flex-wrap: wrap; }
.earnings-pager .pager-info { font-size: 12px; color: #888; white-space: nowrap; }
.earnings-pager .pager-jump { font-size: 12px; color: #888; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.earnings-pager .pager-jump input { width: 52px; padding: 4px 6px; border: 1px solid #ddd; border-radius: 6px; font-size: 12px; text-align: center; }

/* ===== 标签 ===== */
.tag { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 500; }
.tag-equity { background: #fce8e6; color: #d93025; }
.tag-debt { background: #e8f0fe; color: #1a73e8; }
.tag-cash { background: #e6f4ea; color: #137333; }
.tag-a { background: #fce8e6; color: #d93025; }
.tag-hk { background: #f3e5f5; color: #7b1fa2; }
.tag-us { background: #e8eaf6; color: #283593; }
.tag-cb { background: #e0f7fa; color: #00838f; }
.tag-bond { background: #e8eaf6; color: #3f51b5; }
.tag-etf { background: #fce4ec; color: #c62828; }
.tag-kcb { background: #f3e5f5; color: #7b1fa2; }

/* ===== 按钮 ===== */
.btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border: none; border-radius: 6px; cursor: pointer; font-size: 12px; transition: .2s; font-weight: 500; }
.btn-sm { padding: 4px 10px; font-size: 11px; }
.btn-primary { background: #1a237e; color: #fff; }
.btn-primary:hover { background: #283593; }
.btn-ghost { background: transparent; color: #1a237e; border: 1px solid #d3d8ee; }
.btn-ghost:hover { background: #eef1fb; }
.btn-danger { background: #d93025; color: #fff; }
.btn-danger:hover { background: #b71c1c; }
.btn-outline { background: transparent; border: 1px solid #ddd; color: #666; }
.btn-outline:hover { background: #f5f5f5; border-color: #ccc; }
.btn-success { background: #358E5E; color: #fff; }
.btn-success:hover { background: #2d7a4e; }
.btn-warning { background: #e37400; color: #fff; }
.btn-warning:hover { background: #c66200; }
.btn-info { background: #1a73e8; color: #fff; }
.btn-info:hover { background: #1557b0; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ===== 表单 ===== */
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 12px; }
.form-group label { display: block; font-size: 12px; color: #888; margin-bottom: 4px; font-weight: 500; }
.form-group input, .form-group select { width: 100%; padding: 8px 10px; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 13px; outline: none; transition: border-color .2s; }
.form-group input:focus, .form-group select:focus { border-color: #1a237e; box-shadow: 0 0 0 2px rgba(26,35,126,.08); }
.form-group { margin-bottom: 14px; }
.form-group:last-child { margin-bottom: 0; }

/* 定时任务说明卡片 */
.job-help { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 16px 18px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.job-help-title { font-size: 15px; font-weight: 700; color: #1a1a2e; margin-bottom: 4px; }
.job-help-sub { font-size: 12px; color: #888; margin-bottom: 12px; }
.job-help-group { margin-bottom: 10px; }
.job-help-group > b { display: block; font-size: 13px; color: #4f6ef7; margin-bottom: 6px; }
.job-help-item { display: flex; gap: 10px; font-size: 12.5px; color: #555; line-height: 1.6; padding: 4px 0; border-top: 1px dashed #f0f0f0; }
.job-help-item:first-child { border-top: none; }
.job-help-name { flex: 0 0 150px; font-weight: 600; color: #333; }
.job-help-item i { color: #999; font-style: normal; }

/* 休市日历（日历视图） */
.holiday-calendar { margin-top: 4px; }
.holiday-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.holiday-month { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 10px 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.holiday-month-title { font-size: 13px; font-weight: 700; color: #1a1a2e; text-align: center; margin-bottom: 8px; }
.holiday-week { display: grid; grid-template-columns: repeat(7, 1fr); font-size: 11px; color: #999; text-align: center; margin-bottom: 4px; }
.holiday-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.holiday-cell { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; font-size: 12px; border-radius: 6px; cursor: pointer; color: #444; user-select: none; position: relative; }
.holiday-cell.empty { visibility: hidden; cursor: default; }
.holiday-cell:hover { background: #f0f2f5; }
.holiday-weekend { color: #bbb; }
.holiday-on { background: #fff3e0; color: #e08800; font-weight: 600; border: 1px solid #ffd9a0; }
.holiday-on:hover { background: #ffe6c2; }
.holiday-x { position: absolute; top: -2px; right: 1px; font-style: normal; font-size: 11px; line-height: 1; }

/* ===== 弹窗 ===== */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1000; align-items: center; justify-content: center; backdrop-filter: blur(2px); }
.modal-overlay.show { display: flex; }
.modal { background: #fff; border-radius: 12px; padding: 24px; width: 520px; max-width: 92vw; max-height: 85vh; overflow-y: auto; box-shadow: 0 12px 40px rgba(0,0,0,.15); position: relative; }
.modal h2 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: #1a1a2e; padding-right: 28px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border: none; background: none; cursor: pointer; font-size: 22px; line-height: 1; color: #999; display:flex; align-items:center; justify-content:center; border-radius: 6px; transition: .15s; }
.modal-close:hover { color: #333; background: #f0f0f0; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.project-dialog-overlay { z-index: 3000; }
.project-dialog-overlay .hidden { display: none !important; }
.project-dialog-box { width: 400px; }
.project-dialog-message { color: #5f6673; font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
.project-dialog-input { width: 100%; height: 38px; margin-top: 14px; padding: 7px 10px; border: 1px solid #d9dde5; border-radius: 7px; font-family: inherit; font-size: 13px; outline: none; }
.project-dialog-input:focus { border-color: #7986cb; box-shadow: 0 0 0 3px rgba(63,81,181,.1); }

/* ===== 账户管理弹窗 ===== */
.acct-section { margin-top: 4px; margin-bottom: 20px; }
.acct-section:last-child { margin-bottom: 0; }
.acct-section-title {
  font-size: 12px; font-weight: 600; color: #888;
  margin-bottom: 10px; padding-bottom: 6px; letter-spacing: .5px;
  border-bottom: 1px solid #f0f0f0;
}
.acct-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border: 1px solid #eee; border-radius: 10px;
  margin-bottom: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.acct-card:last-child { margin-bottom: 0; }
.acct-card:hover { border-color: #d6d6e0; box-shadow: 0 2px 8px rgba(26,35,126,.05); }
.acct-card.is-current { border-color: #1a237e; background: #f6f7ff; }
.acct-avatar {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg,#283593,#1a237e);
}
.acct-card.is-current .acct-avatar { background: linear-gradient(135deg,#1a237e,#0d1640); }
.acct-body { flex: 1; min-width: 0; }
.acct-name-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.acct-name {
  font-size: 14px; font-weight: 600; color: #1a1a2e;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.acct-badge {
  font-size: 11px; font-weight: 600; color: #1a237e;
  background: #e8f0fe; padding: 2px 9px; border-radius: 20px; flex-shrink: 0;
}
.acct-broker { display: flex; align-items: center; gap: 8px; }
.acct-broker label { font-size: 12px; color: #888; white-space: nowrap; }
.acct-broker select {
  flex: 1; min-width: 0; padding: 5px 8px; font-size: 12px;
  border: 1px solid #e0e0e0; border-radius: 6px; background: #fff; color: #333;
  outline: none; transition: border-color .2s, box-shadow .2s; cursor: pointer;
}
.acct-broker select:focus { border-color: #1a237e; box-shadow: 0 0 0 2px rgba(26,35,126,.08); }
.acct-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.acct-empty { color: #999; font-size: 13px; text-align: center; padding: 16px 0; }
.acct-add { display: flex; gap: 8px; align-items: stretch; }
.acct-add input {
  flex: 1; min-width: 0; padding: 8px 10px; font-size: 13px;
  border: 1px solid #e0e0e0; border-radius: 6px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.acct-add input:focus { border-color: #1a237e; box-shadow: 0 0 0 2px rgba(26,35,126,.08); }
.acct-add-hint { font-size: 11px; color: #aaa; margin-top: 8px; line-height: 1.5; }
.acct-idle {
  border: 1px dashed #ddd; border-radius: 10px;
  padding: 18px; text-align: center; color: #bbb;
  background: #fafbfc; cursor: pointer; transition: .15s;
}
.acct-idle:hover { border-color: #c0c0cc; color: #999; background: #f0f2f5; }
.acct-idle-icon { font-size: 20px; margin-bottom: 6px; }
.acct-idle-text { font-size: 13px; font-weight: 500; }
/* 税费设置 Tab 切换 */
.fee-tabs { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px; }
.fee-tab { padding:6px 14px; border:1px solid #ddd; border-radius:20px; background:#fff; font-size:13px; cursor:pointer; color:#555; transition:.15s; }
.fee-tab:hover { border-color:#1a237e; color:#1a237e; }
.fee-tab.active { background:#1a237e; border-color:#1a237e; color:#fff; }
.fee-panel { display:none; }
.fee-panel.active { display:block; }
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }

/* ===== 交易列表 ===== */
.trade-list { max-height: 300px; overflow-y: auto; }
.trade-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.trade-item:last-child { border-bottom: none; }
.trade-buy { color: #d93025; }
.trade-sell { color: #137333; }

/* ===== OCR ===== */
.ocr-zone { border: 2px dashed #d0d0d0; border-radius: 10px; padding: 32px; text-align: center; cursor: pointer; transition: .2s; margin-bottom: 14px; background: #fafbfc; }
.ocr-zone:hover, .ocr-zone.dragover { border-color: #1a237e; background: #f0f1ff; }
.ocr-zone p { color: #888; font-size: 14px; }
.ocr-zone .icon { font-size: 36px; margin-bottom: 8px; }
.ocr-result { background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.05); margin-bottom: 14px; }
.ocr-result h3 { font-size: 14px; margin-bottom: 8px; color: #1a1a2e; }
.ocr-result pre { background: #f5f5f5; padding: 10px; border-radius: 6px; font-size: 12px; white-space: pre-wrap; word-break: break-all; max-height: 180px; overflow-y: auto; }

.empty-state { text-align: center; padding: 40px 20px; color: #bbb; }
.empty-state .icon { font-size: 40px; margin-bottom: 10px; }
.hidden-input { display: none; }

/* ===== Toast ===== */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #323232; color: #fff; padding: 10px 22px; border-radius: 8px; font-size: 13px; z-index: 9999; opacity: 0; transition: opacity .35s; pointer-events: none; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.toast.show { opacity: 1; }

/* ===== 进度条 ===== */
.refresh-bar { height: 3px; background: #f0f0f0; border-radius: 2px; overflow: hidden; margin: 6px 0; }
.refresh-bar-fill { height: 100%; background: linear-gradient(90deg, #1a73e8, #137333); border-radius: 2px; width: 0; transition: width .3s; }

.auto-hint { font-size: 11px; color: #999; padding: 2px 6px; background: #f0f2f5; border-radius: 3px; }

/* ===== 筛选栏 ===== */
.filter-bar { display: flex; gap: 8px; padding: 10px 18px; border-bottom: 1px solid #f0f0f0; background: #fafbfc; font-size: 13px; align-items: center; flex-wrap: wrap; }
.filter-bar select { padding: 4px 8px; border: 1px solid #e0e0e0; border-radius: 5px; font-size: 12px; outline: none; background: #fff; }
.filter-bar .filter-label { color: #999; }

.confirm-box { background: #fff8e1; border: 1px solid #ffd54f; border-radius: 6px; padding: 12px; margin-bottom: 12px; font-size: 13px; color: #795548; }

.loading { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200px 100%; animation: shimmer 1.5s infinite; border-radius: 4px; }
@keyframes shimmer { 0% { background-position: -200px 0; } 100% { background-position: 200px 0; } }

.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(26, 35, 126, 0.15);
  border-top-color: #1a237e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 排序 ===== */
.sortable { cursor: pointer; user-select: none; }
.sortable:hover { color: #1a237e; }

/* ===== 周期/对比按钮 ===== */
.period-btn { font-size: 12px; padding: 4px 12px; border-radius: 16px; border: 1px solid #ddd; background: #fff; color: #666; cursor: pointer; transition: .2s; }
.period-btn:hover { border-color: #1a73e8; color: #1a73e8; }
.period-btn.active { background: #1a237e; color: #fff; border-color: #1a237e; }

/* ===== 现金流按钮 ===== */
.cashflow-btn { font-size: 11px; padding: 2px 8px; border-radius: 4px; border: 1px solid #d0d0d0; background: #fafbfc; color: #666; cursor: pointer; margin-left: 8px; }
.cashflow-btn:hover { background: #e8f0fe; border-color: #1a73e8; color: #1a73e8; }

/* ===== 交易模式切换按钮 ===== */
.trade-mode-btn {
  padding: 8px 20px;
  font-size: 13px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}
.trade-mode-btn.active {
  background: #1a73e8;
  color: #fff;
  border-color: #1a73e8;
}
.trade-mode-btn:hover:not(.active) {
  background: #f0f7ff;
  color: #1a73e8;
}

/* ===== AI视觉上传区 ===== */
.vision-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.vision-zone {
  flex: 1;
  border: 2px dashed #e0e0e0;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: .2s;
  background: #fafbfc;
}
.vision-zone:hover, .vision-zone.dragover {
  border-color: #1a237e;
  background: #f0f1ff;
}
.vision-zone .icon { font-size: 40px; margin-bottom: 8px; }
.vision-zone .hidden-input { display: none; }
.vision-qr {
  width: 180px;
  flex-shrink: 0;
  border: 2px dashed #e0e0e0;
  border-radius: 12px;
  padding: 20px 10px;
  text-align: center;
  background: #fafbfc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.vision-qr img {
  width: 140px;
  height: 140px;
  display: block;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .chart-grid { grid-template-columns: 1fr; }
  .nav { padding: 0 12px; gap: 8px; }
  .form-row { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; height: auto; padding: 8px 12px; gap: 6px; }
  .nav-right { margin-left: 0; width: 100%; overflow-x: auto; }
  .nav-right::-webkit-scrollbar { display: none; }
  .nav-tab { padding: 0 10px; font-size: 12px; }
}
}

/* ===== 一级导航（首页/持仓管理/个人中心）===== */
.main-page { display: none; }
.main-page.active { display: block; }
#main-home, #main-profile, #main-changelog { max-width: 1240px; margin: 0 auto; padding: 20px; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: 16px; }
.main-tab {
  padding: 0 14px; border: none; background: transparent; color: rgba(255,255,255,.65);
  cursor: pointer; font-size: 13px; transition: .2s; position: relative;
  display: flex; align-items: center; white-space: nowrap; height: 52px;
}
.main-tab:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-tab.active { color: #fff; }
.main-tab.active::after {
  content: ''; position: absolute; bottom: 0; left: 10px; right: 10px;
  height: 3px; background: #ffc107; border-radius: 3px 3px 0 0;
}
/* 持仓管理：二级导航（全宽铺满，紧贴一级栏下方，实色中靛蓝与一级深蓝强对比） */
#main-holdings { /* 全宽容器，内部元素各自按 1240 居中 */ }
.holdings-header { position: sticky; top: 52px; z-index: 90; background: #fff; border-bottom: 1px solid #dfe3eb; box-shadow: 0 2px 6px rgba(31,42,68,.08); }
.sub-nav { display: flex; align-items: stretch; height: 46px; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sub-nav-tabs { display: flex; align-items: stretch; gap: 2px; }
.sub-nav .nav-tab { color: #667085; padding: 0 16px; }
.sub-nav .nav-tab:hover { color: #283593; background: #f5f6fb; }
.sub-nav .nav-tab.active { color: #1a237e; font-weight: 600; }
.sub-nav .nav-tab.active::after { background: #3f51b5; left: 0; right: 0; }
.sub-nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.sub-nav .nav-account select { background: #fff; color: #333; border: 1px solid rgba(255,255,255,.6); }
.sub-nav .nav-account select option { background: #fff; color: #333; }
.sub-nav .btn-account-add { background: #fff; color: #3f51b5; border: 1px solid rgba(255,255,255,.6); }
.sub-nav .btn-account-add:hover { background: #eef1fb; }
/* 顶部头像 / 登录入口 */
.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255,255,255,.45);
  cursor: pointer; padding: 0; overflow: hidden; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #1a237e;
}
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
.top-login-link {
  color: #fff; font-size: 13px; cursor: pointer; text-decoration: none;
  padding: 5px 12px; border: 1px solid rgba(255,255,255,.3); border-radius: 6px;
}
.top-login-link:hover { background: rgba(255,255,255,.12); }
.guest-avatar { display:flex; align-items:center; justify-content:center; text-decoration:none; font-size:17px; }

/* ===== 首页工作台 ===== */
.home-dashboard-shell {
  --home-primary: #1a237e;
  --home-primary-hover: #283593;
  --home-text: #171c2a;
  --home-muted: #707789;
  --home-border: #e4e7ee;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--home-text);
}

.home-welcome {
  position: relative;
  min-height: 250px;
  padding: 40px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 78% 15%, rgba(255,255,255,.17), transparent 27%),
    linear-gradient(125deg, #10154f 0%, #1a237e 56%, #3949ab 100%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(26,35,126,.18);
}

.home-welcome::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 46px solid rgba(255,255,255,.05);
  border-radius: 50%;
}

.home-welcome > * {
  position: relative;
  z-index: 1;
}

.home-welcome-copy {
  min-width: 0;
  flex: 1;
  max-width: 650px;
}

.home-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #c5cae9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}

.home-welcome h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.home-welcome p {
  max-width: 570px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 14px;
  line-height: 1.75;
}

.home-welcome-actions {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}

.home-welcome-actions button {
  padding: 9px 17px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, background .15s;
}

.home-welcome-actions button:hover {
  transform: translateY(-1px);
}

.home-action-primary {
  border: 1px solid #fff;
  background: #fff;
  color: var(--home-primary);
}

.home-action-secondary {
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.home-action-secondary:hover {
  background: rgba(255,255,255,.15);
}

.home-latest-feature {
  padding: 28px;
  border: 1px solid var(--home-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(17,24,39,.05);
}

.home-latest-feature-head {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.home-latest-feature-head span {
  display: block;
  margin-bottom: 7px;
  color: #6873b6;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}

.home-latest-feature-head h2 {
  margin: 0;
  color: #171c2a;
  font-size: 25px;
}

.home-latest-feature-head p {
  margin: 6px 0 0;
  color: #8a92a2;
  font-size: 12px;
}

.home-latest-feature-head button {
  padding: 8px 12px;
  border: 1px solid #d8dceb;
  border-radius: 7px;
  background: #fff;
  color: #46549d;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.home-latest-feature-head button:hover {
  border-color: #aeb7df;
  background: #f7f8fd;
  color: var(--home-primary);
}

.home-hero-article-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-hero-article {
  min-width: 0;
  aspect-ratio: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e5ed;
  border-radius: 11px;
  background: #f8f9fc;
  color: #171c2a;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(17,24,39,.025);
  transition: background .15s, border-color .15s, box-shadow .15s, transform .15s;
}

.home-hero-article:hover {
  transform: translateY(-2px);
  border-color: #bcc4e5;
  background: #fff;
  box-shadow: 0 9px 22px rgba(26,35,126,.09);
}

.home-hero-article > span {
  overflow: hidden;
  color: #6572b2;
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-hero-article > strong {
  margin-top: 10px;
  display: -webkit-box;
  overflow: hidden;
  color: #202638;
  font-size: 14px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-hero-article > small {
  margin-top: 8px;
  display: -webkit-box;
  overflow: hidden;
  color: #81899a;
  font-size: 10px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-hero-article > em {
  margin-top: auto;
  overflow: hidden;
  color: #a0a6b2;
  font-size: 9px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-hero-article-loading {
  grid-column: 1 / -1;
  padding: 70px 0;
  color: #969dac;
  font-size: 12px;
  text-align: center;
}

.home-section {
  margin-top: 30px;
}

.home-section-head {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.home-section-head h2 {
  margin: 0 0 5px;
  color: #161b29;
  font-size: 20px;
}

.home-section-head p {
  margin: 0;
  color: #969dad;
  font-size: 12px;
}

.home-module-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.home-module-card {
  --module-accent: #3949ab;
  grid-column: span 2;
  min-width: 0;
  padding: 18px;
  display: block;
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(17,24,39,.035);
  transition: transform .18s, border-color .18s, box-shadow .18s;
}

.home-module-card:nth-child(4),
.home-module-card:nth-child(5) {
  grid-column: span 3;
}

.home-module-card:hover {
  transform: translateY(-2px);
  border-color: #c9cfee;
  box-shadow: 0 10px 24px rgba(26,35,126,.09);
}

.home-module-card:focus-visible,
.home-welcome-actions button:focus-visible,
.home-detail-title button:focus-visible,
.home-overview-item:focus-visible {
  outline: 3px solid rgba(63,81,181,.2);
  outline-offset: 2px;
}

.home-module-knowledge { --module-accent: #3949ab; }
.home-module-analysis { --module-accent: #0f7392; }
.home-module-holdings { --module-accent: #39764d; }
.home-module-ipo { --module-accent: #a46713; }
.home-module-bonds { --module-accent: #934351; }

.home-module-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.home-module-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: color-mix(in srgb, var(--module-accent) 11%, white);
  color: var(--module-accent);
  font-size: 12px;
  font-weight: 700;
}

.home-module-name {
  color: #343a4a;
  font-size: 13px;
  font-weight: 650;
}

.home-module-head b {
  margin-left: auto;
  color: #9aa0ad;
  font-size: 15px;
  font-weight: 400;
}

.home-module-card > strong {
  min-height: 28px;
  margin-top: 22px;
  display: block;
  overflow: hidden;
  color: #171c2a;
  font-size: 23px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-module-card > small {
  margin-top: 6px;
  display: block;
  color: #8b92a2;
  font-size: 11px;
}

.home-module-meta {
  min-height: 30px;
  margin-top: 15px;
  padding-top: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  border-top: 1px solid #eff0f4;
  color: #656d7e;
  font-size: 11px;
  line-height: 1.45;
}

#home-ipo-next {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-content-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 14px;
  align-items: stretch;
}

.home-side-stack {
  display: grid;
  gap: 14px;
}

.home-content-grid-secondary {
  grid-template-columns: 1fr;
}

.home-content-grid-secondary .home-side-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-detail-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--home-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(17,24,39,.03);
}

.home-articles-card {
  min-height: 100%;
}

.home-detail-title {
  margin-bottom: 13px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.home-detail-title h3 {
  margin: 0 0 4px;
  color: #232938;
  font-size: 15px;
}

.home-detail-title p {
  margin: 0;
  color: #9aa0ad;
  font-size: 11px;
}

.home-detail-title button {
  padding: 3px 0;
  flex: 0 0 auto;
  border: 0;
  background: none;
  color: #5362aa;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}

.home-detail-title button:hover {
  color: var(--home-primary);
}

.home-overview-item {
  width: 100%;
  padding: 15px 2px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  border: 0;
  border-top: 1px solid #eff0f4;
  background: transparent;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.home-overview-item:first-child {
  border-top: 0;
}

.home-overview-item::after {
  content: "→";
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #b0b5c1;
  font-size: 14px;
  transition: color .15s, transform .15s;
}

.home-overview-item:hover::after {
  color: var(--home-primary);
  transform: translateX(2px);
}

.home-item-title {
  min-width: 0;
  overflow: hidden;
  color: #2d3342;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-item-meta {
  color: #969dac;
  font-size: 11px;
}

.home-overview-row {
  padding: 10px 0;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #f0f1f4;
  font-size: 12px;
}

.home-overview-row:first-child {
  border-top: 0;
}

.home-date {
  color: #747c8e;
  font-variant-numeric: tabular-nums;
}

.home-event-name {
  min-width: 0;
  overflow: hidden;
  color: #303646;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-event-name small {
  color: #a1a7b3;
}

.home-event-tag {
  padding: 3px 7px;
  border-radius: 5px;
  background: #eef0ff;
  color: #4c5ba5;
  font-size: 10px;
}

.home-risk-row {
  margin: 12px 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
  color: #656d7d;
  font-size: 11px;
}

.home-risk-row b {
  color: #434a5a;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.home-risk-track {
  height: 7px;
  overflow: hidden;
  border-radius: 7px;
  background: #f0f1f5;
}

.home-risk-fill {
  height: 100%;
  border-radius: 7px;
}

.home-capabilities {
  margin-top: 30px;
}

.home-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-capability-card {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  background: rgba(255,255,255,.72);
}

.home-capability-card > span {
  display: block;
  margin-bottom: 14px;
  color: #a3a8b5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.home-capability-card b {
  display: block;
  margin-bottom: 7px;
  color: #2a3040;
  font-size: 13px;
}

.home-capability-card p {
  margin: 0;
  color: #777f90;
  font-size: 11px;
  line-height: 1.7;
}

.home-loading,
.home-overview-empty {
  padding: 44px 0;
  color: #969dac;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .home-hero-article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-module-card,
  .home-module-card:nth-child(4),
  .home-module-card:nth-child(5) {
    grid-column: auto;
  }

  .home-content-grid {
    grid-template-columns: 1fr;
  }

  .home-side-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .home-latest-feature {
    padding: 20px;
    border-radius: 13px;
  }

  .home-latest-feature-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-hero-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-welcome {
    min-height: 0;
    padding: 28px 22px;
    border-radius: 13px;
  }

  .home-welcome h2 {
    font-size: 26px;
  }

  .home-welcome h2 br {
    display: none;
  }

  .home-welcome-actions {
    flex-direction: column;
  }

  .home-module-grid,
  .home-side-stack,
  .home-capability-grid {
    grid-template-columns: 1fr;
  }

  .home-detail-card {
    padding: 17px;
  }

  .home-overview-row {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .home-event-tag {
    display: none;
  }
}

/* ===== 个人中心 ===== */
.profile-wrap { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 640px; margin: 0 auto; }
.profile-card { background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.profile-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.profile-card-head h3 { margin: 0; }
.btn-logout { margin-top: 16px; width: 100%; }
.profile-card h3 { font-size: 15px; margin-bottom: 14px; color: #1a1a2e; }
.profile-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.avatar-wrap {
  position: relative; width: 72px; height: 72px; border-radius: 50%;
  overflow: hidden; cursor: pointer; flex-shrink: 0; background: #eee;
}
.avatar-img { width: 100%; height: 100%; object-fit: cover; }
.avatar-mask {
  position: absolute; inset: 0; background: rgba(0,0,0,.45); color: #fff;
  font-size: 12px; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: .2s;
}
.avatar-wrap:hover .avatar-mask { opacity: 1; }
.profile-name { flex: 1; min-width: 0; }
.profile-nick-input {
  font-size: 18px; font-weight: 700; border: none; border-bottom: 1px solid #e0e0e0;
  padding: 4px 0; width: 100%; outline: none; background: transparent;
}
.profile-nick-input:focus { border-color: #1a237e; }
.profile-username { font-size: 12px; color: #999; margin-top: 4px; }
.form-group textarea {
  width: 100%; padding: 8px 10px; border: 1px solid #e0e0e0; border-radius: 6px;
  font-size: 13px; outline: none; transition: border-color .2s; resize: vertical;
  min-height: 72px; font-family: inherit;
}
.form-group textarea:focus { border-color: #1a237e; box-shadow: 0 0 0 2px rgba(26,35,126,.08); }
.profile-acct-list { display: flex; flex-direction: column; gap: 8px; }
.profile-acct { font-size: 13px; padding: 10px 12px; background: #f7f8fc; border-radius: 8px; color: #333; }
.info-row { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; border-bottom: 1px solid #f5f5f5; }
.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: #888; }

/* 修改密码独立卡片 */
.profile-card-pwd { border: 1px solid #e8e8ee; }
.pwd-toggle { cursor: pointer; user-select: none; padding-bottom: 2px; }
.pwd-toggle:hover h3 { color: #1a73e8; }
#pwd-body { margin-top: 14px; padding-top: 14px; border-top: 1px solid #f0f0f0; }

/* ===== 一级导航响应式 ===== */
@media (max-width: 600px) {
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .main-nav { margin-left: 8px; }
  .main-tab { padding: 0 8px; font-size: 12px; }
}

/* ===== 管理后台（左菜单 + 右内容区，控制台风格）===== */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 220px; flex-shrink: 0; background: linear-gradient(180deg, #1a237e 0%, #283593 100%);
  color: #fff; display: flex; flex-direction: column; position: fixed; top: 0; bottom: 0; left: 0;
  box-shadow: 2px 0 8px rgba(26,35,126,.2); z-index: 100;
}
.admin-brand { font-size: 16px; font-weight: 700; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.1); letter-spacing: .5px; }
.admin-menu { flex: 1; padding: 10px 0; overflow-y: auto; }
.admin-menu-item {
  display: block; width: 100%; text-align: left; background: transparent; border: none;
  color: rgba(255,255,255,.75); padding: 12px 22px; font-size: 14px; cursor: pointer;
  transition: .15s; border-left: 3px solid transparent;
}
.admin-menu-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-menu-item.active { background: rgba(255,255,255,.14); color: #fff; border-left-color: #ffc107; font-weight: 600; }
.admin-sidebar-foot { padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.admin-sidebar-foot #admin-user { display: block; margin-bottom: 8px; color: rgba(255,255,255,.85); word-break: break-all; }
.admin-link { color: rgba(255,255,255,.7); cursor: pointer; text-decoration: none; font-size: 12px; margin-right: 10px; background: none; border: none; padding: 0; }
.admin-link:hover { color: #fff; }
.admin-main { flex: 1; margin-left: 220px; background: #f0f2f5; min-height: 100vh; }
.admin-topbar { height: 56px; background: #fff; border-bottom: 1px solid #eee; display: flex; align-items: center; padding: 0 24px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.admin-topbar h1 { font-size: 18px; color: #1a1a2e; font-weight: 700; }
.admin-content { padding: 24px; max-width: 1100px; }
.admin-view { display: none; }
.admin-view.active { display: block; }
.admin-placeholder { background: #fff; border: 1px dashed #dcdcdc; border-radius: 10px; padding: 60px 20px; text-align: center; color: #aaa; margin-top: 8px; }
.admin-placeholder .icon { font-size: 40px; margin-bottom: 10px; }

/* 后台页面通用小标题 */
.admin-section-title { font-size: 15px; font-weight: 600; color: #1a1a2e; margin: 4px 0 14px; }
.admin-table-wrap { background: #fff; border-radius: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.05); overflow: hidden; margin-bottom: 18px; }

@media (max-width: 720px) {
  .admin-sidebar { width: 64px; }
  .admin-brand { font-size: 0; padding: 18px 0; text-align: center; }
  .admin-brand::first-letter { font-size: 18px; }
  .admin-menu-item { font-size: 0; padding: 14px 0; text-align: center; }
  .admin-menu-item::first-letter { font-size: 16px; }
  .admin-sidebar-foot #admin-user, .admin-sidebar-foot .admin-link { font-size: 0; }
  .admin-sidebar-foot .admin-link::first-letter { font-size: 14px; }
  .admin-main { margin-left: 64px; }
  .admin-content { padding: 16px; }
}
.date-range-control{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px;padding:12px;border:1px solid #e4e7ec;border-radius:9px;background:#fafbfc}.date-range-control>strong{margin-right:8px}.date-range-control label{display:flex;align-items:center;gap:6px;color:#667085;font-size:12px}.date-range-control input{height:32px;padding:0 8px;border:1px solid #d0d5dd;border-radius:6px;background:#fff}.date-range-presets{display:flex}.date-range-presets button{height:32px;padding:0 11px;border:1px solid #d0d5dd;border-right:0;background:#fff;color:#475467;cursor:pointer}.date-range-presets button:first-child{border-radius:6px 0 0 6px}.date-range-presets button:last-child{border-right:1px solid #d0d5dd;border-radius:0 6px 6px 0}.date-range-presets button:hover{background:#eef4fb}.date-range-presets button.is-active{background:#245f9e;color:#fff;border-color:#245f9e}.date-range-presets button.is-active+button{border-left-color:#245f9e}
@media(max-width:720px){.date-range-control label{width:100%;justify-content:space-between}}
