/* ============================================================
   赢在演说家 · 活动报名系统 — 设计系统 v2
   现代化 · 响应式 · 深浅双主题
   ============================================================ */

/* ---------- 主题变量 ---------- */
:root {
  /* 品牌色：深蓝主色 + 金色点缀（演说家气质） */
  --brand: #1e40af;
  --brand-dark: #172d7c;
  --brand-light: #e8edfb;
  --gold: #c9a24b;
  --gold-light: #f7efdc;
  --success: #0f9d6e;
  --success-light: #e2f5ee;
  --warning: #d97706;
  --warning-light: #fdf0dd;
  --danger: #dc2626;
  --danger-light: #fdeaea;

  /* 中性色 */
  --ink: #17203a;
  --ink-2: #475069;
  --muted: #8a90a5;
  --line: #e8eaf1;
  --bg: #f5f6fa;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(23, 32, 58, .05), 0 4px 16px rgba(23, 32, 58, .06);
  --shadow-lg: 0 8px 30px rgba(23, 32, 58, .12);
  --radius: 16px;
  --radius-sm: 10px;
  --font: -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
}

/* 深色主题 */
[data-theme="dark"] {
  --ink: #eef1fa;
  --ink-2: #b9c0d4;
  --muted: #7c84a0;
  --line: #2a3045;
  --bg: #0f1322;
  --card: #181d30;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.35);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.5);
  --brand-light: #1d2a5c;
  --gold-light: #3a3120;
  --success-light: #0f2e25;
  --warning-light: #352a15;
  --danger-light: #351c1c;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
  transition: background .25s, color .25s;
}

a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; }

.container { max-width: 1080px; margin: 0 auto; padding: 20px 16px 48px; }

/* ---------- 顶栏 ---------- */
.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(10px);
  background: color-mix(in srgb, var(--card) 85%, transparent);
}
.topbar .brand {
  font-size: 17px; font-weight: 700;
  color: var(--brand);
  display: flex; align-items: center; gap: 8px;
  padding: 14px 0;
  letter-spacing: .3px;
}
.topbar .brand .logo {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 800;
}
.topbar .actions { display: flex; gap: 8px; align-items: center; }

/* 主题切换 */
.theme-toggle {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card);
  color: var(--ink-2); cursor: pointer; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 12px;
  padding: 10px 20px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .18s; text-align: center;
  font-family: var(--font); line-height: 1.4;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 2px 8px rgba(30, 64, 175, .28); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-outline:hover { background: var(--brand-light); }
.btn-danger { background: transparent; color: var(--danger); border: 1.5px solid var(--danger); }
.btn-danger:hover { background: var(--danger-light); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); background: var(--bg); }
.btn-success { background: var(--success); color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { padding: 13px 26px; font-size: 16px; border-radius: 14px; }

/* ---------- 徽章 / 标签 ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; padding: 3px 10px;
  border-radius: 999px; white-space: nowrap;
}
.chip-blue { background: var(--brand-light); color: var(--brand); }
.chip-gold { background: var(--gold-light); color: #9a741d; }
.chip-green { background: var(--success-light); color: var(--success); }
.chip-red { background: var(--danger-light); color: var(--danger); }
.chip-gray { background: #eceef3; color: var(--muted); }
[data-theme="dark"] .chip-gray { background: #262c40; }

/* 状态徽章（活动/报名状态机） */
.status {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; border-radius: 999px;
  padding: 3px 11px; white-space: nowrap;
}
.status-draft { background: #eceef3; color: var(--muted); }
.status-pending { background: var(--warning-light); color: var(--warning); }
.status-approved { background: var(--success-light); color: var(--success); }
.status-rejected { background: var(--danger-light); color: var(--danger); }
.status-cancelled { background: #eceef3; color: var(--muted); text-decoration: line-through; }
.status-ended { background: #eceef3; color: var(--muted); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* ---------- 活动卡片网格（桌面端） ---------- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.event-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  color: var(--ink);
  position: relative;
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.event-card .cover {
  height: 120px;
  background: linear-gradient(135deg, var(--brand-light), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  position: relative;
}
.event-card .cover .chip { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); }
.event-card .body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.event-card .title { font-size: 16px; font-weight: 700; margin-bottom: 6px; line-height: 1.45; }
.event-card .meta { color: var(--muted); font-size: 13px; margin-bottom: 4px; display: flex; align-items: center; gap: 5px; }
.event-card .footer {
  margin-top: auto; padding-top: 12px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px dashed var(--line);
}
.event-card .price { font-weight: 700; font-size: 15px; }
.price .cur { color: var(--danger); font-size: 18px; }
.price .orig { color: var(--muted); text-decoration: line-through; font-size: 13px; font-weight: 400; margin-right: 6px; }
.price .free { color: var(--success); }

/* ---------- 详情页 ---------- */
.detail-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-lg);
}
.detail-hero .chip { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(4px); }
.detail-hero h1 { font-size: 24px; font-weight: 800; margin: 10px 0 8px; line-height: 1.4; }
.detail-hero .meta { color: rgba(255,255,255,.82); font-size: 14px; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.detail-hero .price-line { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.detail-hero .price-line .cur { font-size: 30px; font-weight: 800; color: #fff; }
.detail-hero .price-line .orig { color: rgba(255,255,255,.65); text-decoration: line-through; font-size: 15px; }
.detail-hero .price-line .free { font-size: 22px; font-weight: 700; color: #7df0c4; }

.section { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.section h2 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.section p { color: var(--ink-2); white-space: pre-wrap; }
.section .sec-icon { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-light); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }

/* 收款指引 */
.pay-box {
  background: var(--gold-light);
  border: 1px solid rgba(201, 162, 75, .35);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}
.pay-title { font-size: 15px; font-weight: 700; color: #9a741d; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.pay-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 2px; border-bottom: 1px dashed rgba(201,162,75,.3); font-size: 14px;
}
.pay-row span { color: var(--muted); flex-shrink: 0; }
.pay-row b { color: var(--ink); word-break: break-all; text-align: right; margin-left: 16px; }
.pay-note { font-size: 13px; color: #8a6b2f; margin-top: 10px; white-space: pre-wrap; }
.pay-tip { font-size: 12.5px; color: #8a6b2f; background: rgba(255,255,255,.55); border-radius: 8px; padding: 9px 11px; margin-top: 12px; line-height: 1.65; }
[data-theme="dark"] .pay-tip { background: rgba(255,255,255,.06); }

/* ---------- 表单 ---------- */
.form-item { margin-bottom: 16px; }
.form-item label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.form-item label .req { color: var(--danger); }
.form-item input, .form-item select, .form-item textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; background: var(--card); color: var(--ink);
  outline: none; transition: border-color .18s, box-shadow .18s;
}
.form-item input:focus, .form-item textarea:focus, .form-item select:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30, 64, 175, .12);
}
.form-item textarea { min-height: 90px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 19, 34, .5); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal {
  background: var(--card); border-radius: var(--radius);
  width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto;
  padding: 24px; box-shadow: var(--shadow-lg);
}
.modal h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }

/* ---------- 后台 Tabs ---------- */
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs .tab {
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  background: var(--card); color: var(--muted); border: 1.5px solid var(--line);
  font-size: 14px; font-weight: 600; transition: all .18s; font-family: var(--font);
}
.tabs .tab.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 2px 8px rgba(30,64,175,.3); }

/* ---------- 统计卡片（仪表盘） ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.stat-card .num { font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.stat-card .label { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.stat-card .bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--brand); opacity: .85; }
.stat-card.gold .bar { background: var(--gold); }
.stat-card.green .bar { background: var(--success); }

/* ---------- 表格 ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th, .table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.table th { color: var(--muted); font-weight: 600; font-size: 12.5px; white-space: nowrap; background: var(--bg); }
.table tr:hover td { background: color-mix(in srgb, var(--brand-light) 30%, transparent); }

/* 名单小按钮 */
.pay-btn {
  font-size: 12px; padding: 4px 10px; border-radius: 7px; cursor: pointer;
  border: 1.5px solid var(--success); color: var(--success); background: transparent;
  white-space: nowrap; font-weight: 600; transition: all .15s; font-family: var(--font);
}
.pay-btn:hover { background: var(--success-light); }
.pay-btn.done { background: var(--success-light); border-color: transparent; cursor: default; }
.pay-btn.undo { border-color: var(--muted); color: var(--muted); }
.pay-btn.undo:hover { background: #eceef3; }
.pay-btn.check { border-color: var(--brand); color: var(--brand); }
.pay-btn.check:hover { background: var(--brand-light); }
.pay-btn.check.done { background: var(--brand-light); border-color: transparent; cursor: default; }
.pay-method-tag { font-size: 12px; color: var(--muted); }

/* ---------- 空状态 ---------- */
.empty { text-align: center; color: var(--muted); padding: 48px 0; font-size: 14px; }
.empty .big { font-size: 44px; margin-bottom: 8px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; top: 12%;
  transform: translateX(-50%);
  background: rgba(15, 19, 34, .88); color: #fff;
  padding: 11px 20px; border-radius: 12px;
  font-size: 14px; font-weight: 500; z-index: 200;
  max-width: 84vw; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  animation: toast-in .25s ease;}
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.toast-error { background: rgba(220, 38, 38, .95); }

/* ---------- 工具类 ---------- */
.row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.row-start { display: flex; align-items: center; gap: 10px; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.wrap { flex-wrap: wrap; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.muted { color: var(--muted); }
.flex-1 { flex: 1; }
.hidden { display: none !important; }

/* 渠道分享码 */
.channel-result { display: flex; gap: 16px; align-items: flex-start; margin-top: 14px; }
.ch-link { font-size: 12px; word-break: break-all; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--muted); line-height: 1.5; }

/* 弹窗内分组设置区 */
.section-inside {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px; margin-bottom: 16px;
}

/* ============================================================
   详情页 · 底部悬浮报名条 + 成功页
   ============================================================ */
#container { padding-bottom: 104px; }

/* 底部悬浮报名条 */
.fab-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--card) 92%, transparent);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(23, 32, 58, .08);
  backdrop-filter: blur(10px);
  animation: fab-in .25s ease;
}
@keyframes fab-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
.fab-info { display: flex; flex-direction: column; line-height: 1.3; }
.fab-price { font-size: 19px; font-weight: 800; color: var(--danger); }
.fab-info .muted { font-size: 12px; }
.fab-bar .btn-lg { flex: 0 0 auto; padding: 12px 28px; }

/* 成功页 */
.success-wrap { animation: fade-up .3s ease; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.success-top { text-align: center; padding: 8px 0 16px; }
.ok-badge {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--success); color: #fff; font-size: 30px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto;
  box-shadow: 0 6px 18px rgba(15, 157, 110, .35);
}
.ok-badge.sm { width: 40px; height: 40px; font-size: 22px; margin-bottom: 4px; }

.eticket {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.eticket::after {
  content: ''; position: absolute; right: -30px; top: -30px;
  width: 110px; height: 110px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.eticket-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; opacity: .9; }
.eticket-head .chip { background: rgba(255,255,255,.2); color: #fff; }
.eticket-title { font-size: 18px; font-weight: 800; margin: 12px 0; line-height: 1.4; }
.eticket-row { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; border-top: 1px dashed rgba(255,255,255,.18); }
.eticket-row span { opacity: .75; }
.eticket-row b { font-weight: 600; }

.scard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin-bottom: 14px; box-shadow: var(--shadow);
}
.scard-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.scard-pay { background: var(--gold-light); border-color: rgba(201, 162, 75, .35); }
.scard-pay .scard-title { color: #9a741d; }
.scard-pay .pay-row { border-bottom-color: rgba(201, 162, 75, .3); }
.scard-group { background: var(--brand-light); border-color: transparent; }
.share-row { display: flex; align-items: center; gap: 12px; }
.share-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--gold-light); color: #9a741d; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }

.joined-tip { text-align: center; }

/* ---------- 响应式：移动端 ---------- */
@media (max-width: 720px) {
  .container { padding: 14px 12px 40px; }
  .event-grid { grid-template-columns: 1fr; }
  .detail-hero { padding: 22px 18px; }
  .detail-hero h1 { font-size: 20px; }
  .modal { padding: 18px; }
  .topbar .brand { font-size: 15px; }
}

/* ---------- 打印（导出名单） ---------- */
@media print {
  .topbar, .btn, .tabs { display: none !important; }
  body { background: #fff; }
  .container { max-width: none; padding: 0; }
  .card, .section { box-shadow: none; border: none; }
}

/* ============================================================
   新增组件：通知 / 分账 / 表单模板 / 进度条 / 看板增强
   ============================================================ */

/* 通知铃铛 */
.notif-bell {
  position: relative; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  cursor: pointer; font-size: 16px; display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.notif-bell:hover { border-color: var(--brand); color: var(--brand); }
.notif-dot {
  position: absolute; top: 6px; right: 7px; width: 9px; height: 9px;
  background: var(--danger); border-radius: 50%; border: 2px solid var(--card);
}
.notif-list { max-height: 60vh; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 4px 2px; }
.notif-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  background: var(--brand-light); cursor: pointer; transition: all .15s;
}
.notif-item:hover { border-color: var(--brand); }
.notif-item.read { background: var(--card); opacity: .72; }
.notif-type { font-size: 12px; color: var(--brand); font-weight: 700; margin-bottom: 4px; }
.notif-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.notif-content { font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.notif-time { font-size: 11px; color: var(--muted); margin-top: 6px; }

/* 分账报表 */
.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg-btn {
  border: none; background: transparent; color: var(--muted); cursor: pointer;
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 8px; font-family: var(--font); transition: all .15s;
}
.seg-btn.active { background: var(--brand); color: #fff; }
.split-total td { background: var(--gold-light); font-weight: 700; }
.chip-gold-text { color: var(--gold); font-weight: 700; }
.chip-green-text { color: var(--success); font-weight: 700; }

/* 表单模板编辑器 */
.form-fields-preview { margin: 4px 0 4px; }
.tpl-field-row {
  display: grid; grid-template-columns: 1.4fr 1.2fr 1fr auto auto; gap: 8px; align-items: center;
  padding: 8px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: var(--bg);
}
.tpl-field-row .tf-label, .tpl-field-row .tf-key, .tpl-field-row .tf-type { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-family: var(--font); background: var(--card); color: var(--ink); }
.tf-req { font-size: 12.5px; color: var(--ink-2); display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.tf-del { border: none; background: transparent; color: var(--danger); cursor: pointer; font-size: 15px; padding: 4px 8px; }

/* 进度条 / 小统计 */
.progress { width: 100%; height: 12px; background: var(--bg); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-dark)); border-radius: 999px; transition: width .5s ease; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 2px; }
.mini-stat { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; }
.mini-stat .ms-num { font-size: 24px; font-weight: 800; color: var(--brand); }
.mini-stat .ms-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.stat-card.blue .bar { background: var(--brand); }
.chip-gold-text, .chip-green-text { font-size: 14px; }

/* 提醒文案 */
.rem-list { max-height: 56vh; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.rem-item { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--bg); }
.rem-head { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.rem-text { font-size: 12.5px; color: var(--ink-2); line-height: 1.55; white-space: pre-wrap; }

/* 表单自定义字段分隔 */
.form-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0 4px; color: var(--muted); font-size: 12.5px; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

