/* ============================================================
   拾光高尔夫 · 品牌设计系统 v5
   ------------------------------------------------------------
   「拾光」= 拾起光阴 —— 高级、轻盈、有运动的自在感

   命理依据：1991-10-22 巳时，辛未 戊戌 乙丑 辛巳，真从财格
   喜用：火生土、土为财；忌水木扶身

   三色相纪律（全站只有这三个色相，其余靠明度分层）：
   · 土 75% —— 暖瓷白 / 浅米 / 沙金，负责安静与高级
   · 火  5% —— 赤陶，只点按钮与关键数字
   · 土系绿 20% —— 鼠尾草 / 苔藓 / 秋草，负责高尔夫的场地感
     绝不用嫩草绿、翠绿、青绿（木气生扶日主）
   ============================================================ */

:root {
  /* —— 土：基底（大面积留白）—— */
  --bg: #f7f5ec;          /* 暖瓷白：页面底 */
  --card: #FFFFFF;        /* 卡片白 */
  --fill: #f1f3e6;        /* 浅米：卡片内浅块 */
  --input: #f6f4ea;       /* 米白：输入框 */
  --line: #eae9dc;        /* 分割线（极浅） */
  --sand: #e3dfce;        /* 浅沙金：高亮 / 禁用 */

  /* —— 火：行动（小面积点睛）—— */
  --orange: #b8975c;      /* 赤陶：主按钮 / 价格 / 关键数字 */
  --sunrise-2: #d9c08a;   /* 浅赤陶：渐变收尾 */
  --orange-deep: #8a6f3b; /* 深赤陶：强调文字 / hover */
  --sunrise-1: #f1f3e6;   /* 浅米：兼容旧引用 */
  --orange-soft: #fbf9f0; /* 浅暖底：提示块 */

  /* —— 土系绿：场地感（鼠尾草 / 苔藓 / 秋草）—— */
  --green: #88974b;       /* 苔绿：进度 / 成功 / 标签 */
  --green-deep: #3a4022;  /* 深苔绿：正向文字 / 强调 */
  --sage: #e8eed0;        /* 浅鼠尾草 */
  --green-light: #f1f3e6; /* 浅雾绿：绿底色 */
  --green-mist: #f1f3e6;  /* 极浅雾绿：卡片微染 / hover，提轻盈感 */

  /* —— 中性 —— */
  --ink: #333b27;         /* 主文字 */
  --ink-2: #5C554C;       /* 次级文字 */
  --muted: #7c7e64;       /* 辅助文字 */

  /* —— 语义 —— */
  --danger: #a95549;      /* 砖红：错误 / 删除 */
  --info: #88974b;        /* 信息：并入土系绿，不用水蓝 */

  /* —— 圆角（只留 4 档）—— */
  --r-pill: 999px;
  --r-lg: 16px;           /* 卡片 */
  --r-md: 8px;            /* 输入框 / 按钮 */
  --r-sm: 4px;            /* 标签 */

  /* —— 阴影（极淡，靠留白分层）—— */
  --shadow: 0 1px 2px rgba(46, 42, 34, .04), 0 8px 24px rgba(46, 42, 34, .05);
  --shadow-hover: 0 1px 2px rgba(46, 42, 34, .05), 0 10px 30px rgba(46, 42, 34, .08);

  /* —— 渐变（只保留 2 处，克制使用）—— */
  --grad-sunrise: linear-gradient(135deg, #d9c08a 0%, #b8975c 100%);
  --grad-hero: linear-gradient(180deg, #fbf9f0 0%, #f8f3e5 100%);
  --grad-green: linear-gradient(180deg, #88974b 0%, #3a4022 100%); /* 白字徽章底：收尾压深，保证 4.4 对比度 */
  --grad-text: linear-gradient(90deg, #b8975c, #8a6f3b);

  /* —— 字阶（只留 6 档）—— */
  --fs-12: 12px;  /* 辅助 / 表格 */
  --fs-14: 14px;  /* 正文 */
  --fs-16: 16px;  /* 卡片标题 */
  --fs-20: 20px;  /* 区块标题 */
  --fs-28: 28px;  /* KPI 数字 */
  --fs-36: 36px;  /* 仅登录大标题 */

  /* —— 间距（4 的倍数）—— */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-6: 24px; --sp-8: 32px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange-deep); text-decoration: none; }

/* ============ 顶栏：浅底毛玻璃 —— 界面没有天花板，视线直接飞出去 ============ */
.topbar {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  color: var(--ink);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  max-width: 100%;
  flex-wrap: wrap;          /* 下拉菜单需要溢出可见，故改为换行而非横向滚动 */
  overflow: visible;
  padding: 2px 0;
  margin-left: auto;
}

/* ---------- 导航下拉（<details> 实现，无 JS 也可用，触屏友好） ---------- */
.nav-dd { position: relative; }
.nav-dd > summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  user-select: none;
  transition: background .15s, color .15s;
}
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary::after {
  content: ''; width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .45;
  transition: transform .15s;
}
.nav-dd > summary:hover { background: var(--fill); color: var(--ink); }
.nav-dd[open] > summary { background: var(--green-mist); color: var(--ink); font-weight: 600; }
.nav-dd[open] > summary::after { transform: rotate(180deg); }
.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 176px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(46, 42, 34, .10);
  padding: 6px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
/* 靠右的下拉（站内信/更多）改为右对齐，避免溢出视口 */
.nav-dd.is-end .nav-menu { left: auto; right: 0; }
.nav-menu a {
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 14px;
  white-space: nowrap;
  margin: 0;
  line-height: 1.35;
}
.nav-menu a:hover { background: var(--green-mist); color: var(--ink); }
.nav-menu .nav-sep { height: 1px; background: var(--line); margin: 5px 6px; }
.nav-menu .nav-tip { padding: 6px 12px 4px; font-size: 11px; color: var(--muted); letter-spacing: .4px; }
/* 未读站内信红点（替代原来把字数堆在导航里） */
.nav-dot {
  display: inline-block; width: 7px; height: 7px; margin-left: 3px;
  border-radius: 50%; background: var(--danger); vertical-align: 3px;
}

@media (max-width: 768px) {
  .topbar { padding: 10px 12px; }
  .nav { margin-left: 0; width: 100%; gap: 0; }
  .nav > a, .nav-dd > summary { padding: 7px 9px; font-size: 13px; }
  .nav-menu { min-width: 160px; }
  .nav .who { font-size: 12px; }
}
.nav a {
  color: var(--ink-2);
  margin-left: 2px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: var(--fs-14);
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.nav a:hover { background: var(--fill); color: var(--ink); }
.nav .who {
  margin-left: 8px;
  padding: 6px 12px;
  font-size: var(--fs-12);
  background: var(--fill);
  border-radius: 999px;
  white-space: nowrap;
  color: var(--ink-2);
}
.nav .logout { color: var(--muted); }
.nav .logout:hover { background: #f7eae6; color: var(--danger); }

/* ============ 布局 ============ */
.container {
  max-width: 1200px;         /* 后台在宽屏上铺开；学员端窄屏由 max-width 自适应 */
  margin: 0 auto;
  padding: 24px 16px 80px;
}
h2 { margin: 8px 0 4px; font-size: var(--fs-20); font-weight: 700; letter-spacing: .2px; }
h3 { margin: 24px 0 12px; font-size: var(--fs-16); font-weight: 600; color: var(--ink); }
h4 { margin: 16px 0 8px; font-size: var(--fs-14); color: var(--green-deep); font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 12px; }

/* ============ 卡片 ============ */
.card, .block, .session-card, .booking-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.block, .session-card, .booking-card { margin-top: 16px; }

/* ============ 提示 ============ */
.alert { padding: 11px 14px; border-radius: var(--r-md); margin: 12px 0; font-size: 14px; }
.alert-success { background: var(--green-light); color: var(--green-deep); }
.alert-danger { background: #f7eae6; color: var(--danger); }
.alert-warning { background: #fbf6e8; color: #7a5f2e; }
.alert-info { background: #f1f3e6; color: #3a4022; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 11px 20px;
  min-height: 40px;
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: var(--fs-14);
  font-weight: 600;
  text-align: center;
  box-shadow: none;
  transition: background .15s, opacity .15s;
}
.btn:hover { background: var(--orange-deep); }
.btn:active { opacity: .85; }
@media (max-width: 768px) { .btn { padding: 8px 14px; min-height: 34px; font-size: 13px; } }
.btn-sm { padding: 7px 12px; font-size: 13px; min-height: 32px; box-shadow: none; }
@media (max-width: 768px) { .btn-sm { padding: 5px 9px; font-size: 12px; min-height: 28px; } }
.btn-danger { background: var(--danger); box-shadow: none; }
.btn-danger:hover { background: #A95549; }
.btn-primary { background: var(--orange); }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: var(--green-deep); }
.btn-warning { background: var(--fill); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost, .btn.secondary, .btn-secondary { background: var(--fill); color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
.btn-ghost:hover, .btn.secondary:hover, .btn-secondary:hover { background: var(--line); }

/* 绿色次要按钮 */
a.btn, a.btn-sm { text-decoration: none; }
.btn.ghost, .btn:not(.btn-primary):not(.btn-danger):not(.btn-sm) { }

/* ============ 返回链接 ============ */
.back { display: inline-block; margin: 4px 0 8px; font-size: 14px; color: var(--muted); }
.back:hover { color: var(--orange-deep); }

/* ============ 登录页：日出 × 正念 ============ */
.login-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -8%, rgba(255, 201, 135, .55), transparent 65%),
    linear-gradient(180deg, #fbf9f0 0%, #f7f5ec 45%, #f1f3e6 100%);
}
.login-card {
  width: 100%;
  max-width: 380px;
  text-align: center;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 36px 28px 30px;
  box-shadow: 0 18px 46px rgba(46, 42, 34, .16);
}
.login-logo {
  width: 72px; height: 72px;
  margin: 0 auto 14px;
  border-radius: 22px;
  background: var(--grad-sunrise);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  box-shadow: 0 8px 22px rgba(166, 105, 60, .3);
}
.login-card h1 { margin: 0 0 4px; font-size: 24px; font-weight: 800; }
.login-sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; letter-spacing: 1px; }
.login-card input[type=text], .login-card input[type=password] {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--r-md); font-size: 15px; margin-top: 10px;
  background: #f7f5ec; font-family: inherit;
}
.login-card input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 138, 61, .15); }
.login-card .btn { width: 100%; margin-top: 16px; padding: 12px; font-size: 15px; }
.login-card .pwd-wrap { position: relative; }
.login-card .pwd-eye {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: transparent; border: none; padding: 6px; cursor: pointer;
  color: #8a8474; display: flex; align-items: center;
}
.login-card .pwd-eye:hover { color: var(--orange); }
.login-card input[type=password], .login-card input[type=text] {
  padding-right: 44px !important;
}
.hint {
  text-align: left; background: var(--green-light); border-radius: var(--r-md);
  padding: 12px 14px; margin-top: 16px; font-size: 13px;
}
.hint code { background: #fff; padding: 1px 5px; border-radius: 4px; color: var(--green-deep); }
.hint ul { margin: 6px 0 0; padding-left: 18px; }

/* ============ 表单 ============ */
form label { display: block; font-size: 12.5px; color: var(--ink-2); margin: 0 0 3px; font-weight: 600; line-height: 1.3; }
form input[type=text], form input:not([type]), form input[type=date],
form input[type=time], form input[type=password], form input[type=number],
form input[type=datetime-local], form input[type=month],
form select, form textarea {
  width: 100%;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 13.5px;
  background: #f7f5ec;
  font-family: inherit;
  color: var(--ink);
  line-height: 1.25;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
/* 高度降档只作用于文本类控件；checkbox/radio/file 不受影响 */
form input[type=text], form input:not([type]), form input[type=date],
form input[type=time], form input[type=password], form input[type=number],
form input[type=datetime-local], form input[type=month],
form select {
  height: 32px;
}
form textarea { height: auto; min-height: 0; }
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, .14);
  background: #fff;
}
form textarea { resize: vertical; }

/* ============ 紧凑两列布局（郑总：不要老年机行高）——全站 base 类 ============ */
/* 原 admin_student_edit.html 页样板提升为全局，其它页面不加页面级 style 也能直接用 .frow2 */
.frow2 { display:grid; grid-template-columns:1fr 1fr; gap:0 14px; }
.frow2 .form-row { min-width:0; }
.form-row { margin-bottom: 8px; display:flex; flex-direction:column; }
.form-row label { display:flex; align-items:center; font-size:12.5px; color:var(--ink); font-weight:600; margin-bottom:3px; line-height:1.3; }
.form-row input, .form-row select, .form-row textarea {
  width:100%; padding:5px 10px; font-size:13.5px; line-height:1.25;
  height:32px; min-height:32px; border:1px solid var(--line); border-radius:7px; background:#fff; box-sizing:border-box;
}
.form-row textarea { height:auto; min-height:0; padding:6px 10px; resize: vertical; font-family:inherit; }
.form-row .hint { font-size:11.5px; line-height:1.4; margin-top:3px; }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline-form input, .inline-form select { width: auto; flex: 1; min-width: 150px; }
.inline-form.no-gap { gap: 0; }
.form-card { margin-top: 14px; }
.form-card .btn { margin-top: 18px; width: 100%; }

/* ============ 筛选栏（统一控件高度，避免错位） ============ */
.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 12px 14px;
}
.filter-bar .f-item { display: flex; flex-direction: column; }
.filter-bar .f-item label { font-size: 12px; color: var(--muted); margin: 0 0 5px; font-weight: 500; }
.filter-bar input, .filter-bar select {
  height: 32px; padding: 0 12px; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: 13px; background: #f7f5ec; color: var(--ink); font-family: inherit;
  min-width: 130px;
}
.filter-bar input:focus, .filter-bar select:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, .14); background: #fff;
}
.filter-bar .btn { height: 32px; min-height: 32px; display: inline-flex; align-items: center; }
.filter-bar .btn-sm { height: 32px; min-height: 32px; display: inline-flex; align-items: center; }

/* ============ 统计卡 ============ */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.stat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px 8px; text-align: center; box-shadow: var(--shadow);
}
.stat-card .num {
  font-size: 28px; font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-card .lbl { color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ===== 2026-09-12 郑总：全局「🏠 返回首页」 + 首页「今日上班」 ===== */
.homebar { margin: 0 0 12px; }
.homebar .homebtn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; color: var(--green-deep);
  font-weight: 600; text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.homebar .homebtn:hover { background: #F7F5EE; }
.ss-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.ss-item {
  display: inline-flex; align-items: baseline; gap: 7px;
  background: #F2F5E9; border: 1px solid #E3E8D5; border-radius: 999px;
  padding: 6px 13px; font-size: 13px; color: #3D4A2E;
}
.ss-item .ss-name { font-weight: 700; }
.ss-item .ss-shift { color: #3a4022; }
.ss-item .ss-time { color: var(--muted); font-size: 11.5px; }
.ss-item.ss-rest { background: #F6F6F4; border-color: #E8E8E4; color: #7c7e64; }
.ss-item.ss-rest .ss-shift { color: #7c7e64; }

/* ============ 总览 2x4 网格按钮 ============ */
.stat-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}
.stat-tile {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 10px 8px;
  background: #FFFFFF;
  color: var(--green-deep);
  border: 1px solid #eae9dc;
  border-radius: 14px;
  font-size: 14px; font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(46,42,34,.03);
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
  line-height: 1.3;
  gap: 7px;
}
.stat-tile .ico { flex: 0 0 auto; opacity: .9; }
.stat-tile:hover .ico { opacity: 1; }
.stat-tile:hover {
  transform: translateY(-1px);
  background: var(--green-mist);
  border-color: var(--sage);
  box-shadow: 0 4px 12px rgba(111,124,78,.10);
}
.stat-tile:active { transform: translateY(0); }

/* ============ 课程/详情卡片 ============ */
.session-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge {
  background: var(--grad-green); color: #fff; padding: 4px 12px;
  border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: 0 2px 6px rgba(111,124,78, .25);
}
.badge-green { background: var(--grad-green); }
.badge-amber { background: linear-gradient(180deg, #e3dfce, #b8975c); color: #fff; }
.badge-gray { background: #eee; color: #999; }
.status-text { font-weight: 700; font-size: 14px; }
.status-paid { color: var(--green-deep); }
.status-pending { color: var(--orange-deep); }
.status-cancelled { color: var(--muted); }
.coach-name { color: var(--muted); font-size: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.improve { margin: 0; padding-left: 18px; }
.improve li { margin: 3px 0; color: var(--ink-2); }
.score {
  font-size: 20px; font-weight: 800; color: var(--orange-deep);
  background: var(--orange-soft); display: inline-block; padding: 2px 12px; border-radius: 10px;
}
.comment {
  background: var(--green-light); border-radius: var(--r-md);
  padding: 9px 12px; margin: 6px 0; font-size: 14px; color: var(--ink-2);
}

/* ============ 视频 ============ */
.video-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 8px; }
.video-item { border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px; background: #fff; }
.video-item video { width: 100%; border-radius: 8px; background: #000; margin: 6px 0; }
.tag { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 999px; color: #fff; }
.tag-demo { background: linear-gradient(135deg, #88974b, #3a4022); }
.tag-stu { background: var(--grad-sunrise); }

/* ============ 参考动作 ============ */
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 10px; }
.ref-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; background: #fff; box-shadow: var(--shadow); }
.ref-title { font-weight: 700; margin-bottom: 4px; }
.ref-card video { width: 100%; border-radius: 8px; background: #000; margin: 6px 0; }
.small-grid .ref-card { font-size: 13px; }

/* ============ 学员卡片 ============ */
.student-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 10px; }
.student-card {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 13px;
  box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.student-card:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-green); color: #fff; display: flex; align-items: center;
  justify-content: center; font-weight: 700; box-shadow: 0 2px 8px rgba(111,124,78,.3);
}
.st-name { font-weight: 700; }
.arrow { margin-left: auto; font-size: 22px; color: var(--muted); }

/* ============ 表格 ============ */
.table-wrap { width: 100%; overflow-x: auto; overflow-y: auto; max-height: 78vh; -webkit-overflow-scrolling: touch; margin-top: 10px; border-radius: var(--r-md); background: var(--card); }
.table-wrap .table { min-width: max-content; }   /* 宽度由内容决定，不再一刀切 640px */
/* 兜底：未被 .table-wrap 包裹的裸表格，也不能撑破页面 */
.block > table, .card > table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* 兜底②：嵌套一层的裸表格（.block > div > table 等） */
.block > :not(.table-wrap) > table, .card > :not(.table-wrap) > table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: middle; }
/* 表头吸顶：长表格滑到中部也知道列含义 */
.table thead th { position: sticky; top: 0; z-index: 2; }
.table th { color: var(--muted); font-weight: 600; background: var(--fill); font-size: 13px; white-space: nowrap; box-shadow: inset 0 -1px 0 var(--line); }
.table td { white-space: normal; word-break: normal; line-height: 1.5; }
.table tr:hover td { background: #FDFBF6; }
.table .col-bay { min-width: 96px; max-width: 130px; white-space: normal; word-break: keep-all; }
.table .status-tag { white-space: nowrap; }

/* ============ 课程列表（学员首页） ============ */
.lesson-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 13px 14px;
  margin-top: 10px;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.lesson-row:hover { border-color: var(--orange); transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.lesson-meta {
  min-width: 84px;
  text-align: center;
  background: var(--green-light);
  border-radius: 12px;
  padding: 9px 10px;
}
.lesson-date { font-weight: 800; color: var(--green-deep); font-size: 14px; }
.lesson-time { color: var(--green); font-size: 13px; margin-top: 2px; font-weight: 600; }
.lesson-info { flex: 1; }
.lesson-coach { font-weight: 700; font-size: 15px; }
.pagination {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  margin-top: 18px; flex-wrap: wrap;
}
.pagination .disabled { background: #EDE7DC; color: #7c7e64; cursor: not-allowed; }
.page-info { font-size: 14px; color: var(--muted); }

/* ============ Banner：日出渐变 ============ */
.banner-wrap { margin-bottom: 16px; }
.banner {
  position: relative; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(46, 42, 34, .16);
}
.banner img { width: 100%; display: block; max-height: 190px; object-fit: cover; }
.banner-cap {
  position: absolute; left: 0; bottom: 0; right: 0;
  background: linear-gradient(transparent, rgba(120, 60, 10, .65)); color: #fff;
  padding: 20px 16px 12px; font-size: 17px; font-weight: 700;
}
.banner-text {
  background: var(--grad-sunrise);
  color: #fff; padding: 24px 18px; font-size: 17px; font-weight: 700; text-align: center;
  border-radius: var(--r-lg);
  box-shadow: 0 6px 20px rgba(166, 105, 60, .25);
}

/* ============ 微信登录卡片 ============ */
.wx-login-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px; box-shadow: var(--shadow);
}
.wx-login-card .avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--grad-green); color: #fff;
  display: grid; place-items: center; font-size: 26px;
}
.login-name { font-size: 17px; font-weight: 700; }
.wx-tip {
  flex-basis: 100%; margin-top: 6px; font-size: 13px; color: var(--ink-2);
  background: var(--green-light); border-radius: var(--r-md); padding: 9px 11px;
}

/* ============ 快捷入口 ============ */
.quick-row { display: flex; gap: 10px; margin: 16px 0; flex-wrap: wrap; }
.quick-btn {
  flex: 1; min-width: 130px; text-align: center;
  background: var(--grad-sunrise); color: #fff;
  padding: 15px 8px; border-radius: var(--r-lg); font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 12px rgba(166, 105, 60, .2);
  transition: transform .15s;
}
.quick-btn:hover { transform: translateY(-2px); opacity: .95; }

/* ============ 预约卡片/状态 ============ */
.lesson-list { display: flex; flex-direction: column; gap: 10px; }
.status-tag {
  font-size: 12px; padding: 3px 11px; border-radius: 999px; white-space: nowrap;
  background: #eae9dc; color: var(--ink-2); align-self: center; font-weight: 600;
}
.status-pending { background: #FFF1DE; color: #C25E00; }
.status-confirmed { background: #fbf9f0; color: #3a4022; }
.status-done { background: var(--green-light); color: var(--green-deep); }
.status-completed { background: var(--green-light); color: var(--green-deep); }
.status-bay_confirmed { background: #f1f3e6; color: #3a4022; }
.status-cancelled { background: #F1EFEB; color: #7c7e64; text-decoration: line-through; }
.status-active { background: #F6E7DA; color: var(--orange-deep); }
.status-create { background: var(--green-light); color: var(--green-deep); }
.status-edit { background: var(--green-light); color: var(--green-deep); }
.status-delete { background: #F7DBD2; color: #B5573F; }
.status-undone { background: #EDE7DA; color: #8A7B5E; }
.booking-head { display: flex; justify-content: space-between; align-items: flex-start; }
.booking-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.booking-actions form { display: inline; margin: 0; }
.inline-form { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.inline-form select { margin: 0; }

/* ============ 待办提醒横幅 ============ */
.pending-alert {
  border: 2px solid var(--orange); background: var(--orange-soft); border-radius: var(--r-lg);
  padding: 13px 15px; margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(255, 138, 61, .2);
  animation: pa-pulse 2s ease-in-out infinite;
}
@keyframes pa-pulse { 0%,100%{box-shadow:0 4px 16px rgba(255,138,61,.18);} 50%{box-shadow:0 6px 26px rgba(255,138,61,.34);} }
.pending-alert-title { font-weight: 800; color: #8a6f3b; font-size: 15px; margin-bottom: 6px; }
.pending-alert-body { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pending-alert .badge { padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pending-alert .badge-pending { background: var(--grad-sunrise); color: #fff; }
.pending-alert .badge-confirmed { background: #b8975c; color: #fff; }

/* ============ 子导航（标签胶囊） ============ */
.sub-nav { display: flex; gap: 8px; margin: 12px 0; flex-wrap: wrap; }
.sub-nav a {
  padding: 8px 15px; border-radius: 999px; background: #F3EEE5; color: var(--ink-2);
  text-decoration: none; font-size: 13px; font-weight: 600;
  transition: background .15s, color .15s;
}
.sub-nav a.active { background: var(--grad-sunrise); color: #fff; box-shadow: 0 2px 8px rgba(166,105,60,.25); }

/* ============ Banner 缩略 ============ */
.banner-thumb { width: 100%; height: 120px; object-fit: cover; border-radius: var(--r-md); }
.card-actions { display: flex; gap: 8px; margin-top: 8px; }
.card-actions form { margin: 0; }

/* ============ 可点击统计卡 ============ */
a.stat-card { text-decoration: none; color: inherit; }
a.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* 可点选的分类卡片（学员管理） */
.cat-cards { grid-template-columns: repeat(4, 1fr); }
.cat-card { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; border: 1.5px solid transparent; }
.cat-card .lbl { font-weight: 700; color: var(--text); font-size: 13px; margin-top: 4px; line-height: 1.35; }
.cat-card.is-active {
  border-color: var(--green, #88974b);
  box-shadow: 0 0 0 3px rgba(111,124,78, .16), var(--shadow);
  background: linear-gradient(180deg, rgba(111,124,78,.07), rgba(111,124,78,.02));
}
.cat-card.is-active .lbl { color: var(--green, #3a4022); }
@media (max-width: 768px) {
  .cat-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ============ 工作台欢迎卡（轻盈暖调） ============ */
.hero-card {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  /* 暖瓷白 → 极浅雾绿：把「土系绿」从色块里解放成一层薄雾，轻盈但不丢场地感 */
  background: linear-gradient(135deg, #FCFAF3 0%, #F2F5E8 100%);
  padding: 24px 20px 22px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  border: 1px solid var(--line);
}
.hero-card::after { display: none; }  /* 去掉右侧大光斑，留白即高级 */
.hero-card .hero-title { font-size: 20px; font-weight: 700; color: var(--ink); position: relative; z-index: 1; }
.hero-card .hero-sub { font-size: 13px; color: var(--muted); margin-top: 4px; position: relative; z-index: 1; }

/* 分隔线 */
hr.sep { border: none; border-top: 1px dashed var(--line); margin: 18px 0; }

/* ============ 列表内动作按钮（统一大小/形状） ============ */
.action-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.action-group .btn,
.action-group button.btn {
  min-width: 72px;
  justify-content: center;
  padding: 7px 12px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}
.action-group form { display: inline-flex; margin: 0; }

/* ============ 移动端适配 ============ */
@media (max-width: 640px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  /* 顶栏：品牌单独一行，导航在第二行可横滑 */
  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px 12px 8px;
  }
  .brand { font-size: 16px; }
  .nav {
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 2px;
    margin: 0 -4px;
  }
  .nav a { margin-left: 0; padding: 6px 10px; font-size: 13px; }
  .nav .who { display: none; }
  .lesson-row { padding: 11px 12px; gap: 10px; }
  .lesson-meta { min-width: 76px; padding: 7px 8px; }
  .container { padding: 16px 12px 90px; }
  .action-group .btn,
  .action-group button.btn { min-width: 64px; padding: 6px 10px; }
  /* 表头列宽提醒：表格可横滑，避免被挤压 */
  .table-wrap { border: 1px solid var(--line); }
}

/* ==========================================================
   学员详情页：拉开间距 + 小字标签 + 照片头像
   ========================================================== */
.stu-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 22px !important;
}
.stu-hero-main { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 240px; }
.stu-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 76px;
  background: var(--grad-sunrise);
  box-shadow: 0 6px 18px rgba(166, 105, 60, .22);
}
.stu-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stu-avatar-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 32px; font-weight: 800;
}
.stu-hero-info { min-width: 0; }
.stu-name { margin: 0 0 10px; font-size: 22px; font-weight: 800; line-height: 1.2; }
.stu-tagline { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.stu-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.stu-hero-actions .btn { min-width: 88px; text-align: center; }
.stu-hero-actions .btn-sm { min-width: 0; }

/* 小字标签（tag）：比 badge 更轻，用于档案备注类信息 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  line-height: 1.6;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid transparent;
}
.tag-green { background: #f1f3e6; color: #3a4022; border-color: #eae9dc; }
.tag-amber { background: #fbf9f0; color: #B26A12; border-color: #F7DDB6; }
.tag-gray  { background: #f6f4ea; color: #777; border-color: #E4E4E4; }
.tag-blue  { background: #f1f3e6; color: #3a4022; border-color: #e3dccf; }

/* 详情页区块之间拉开间距 */
.stu-detail-page .block { margin-top: 22px; padding: 18px 20px; }
.stu-detail-page .block > h3 { margin: 0 0 14px; font-size: 16px; }
.stu-detail-page .block > h3 + p.muted { margin: -6px 0 14px; }
.stu-detail-page .table th, .stu-detail-page .table td { padding: 12px 12px; }
.stu-detail-page .table th { width: 150px; font-size: 12.5px; }
.stu-detail-page .table td { font-size: 13.5px; line-height: 1.65; }
.stu-detail-page details > summary { padding: 2px 0; }

@media (max-width: 768px) {
  .stu-hero { padding: 16px !important; gap: 14px; }
  .stu-avatar { width: 62px; height: 62px; flex-basis: 62px; }
  .stu-avatar-ph { font-size: 26px; }
  .stu-name { font-size: 19px; }
  .stu-hero-actions { width: 100%; }
  .stu-hero-actions .btn { flex: 1; min-width: 0; }
}

/* ==========================================================
   后台管理聚合页
   ========================================================== */
.sys-grid { gap: 12px; }
.sys-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 16px 16px;
}
.sys-ico { font-size: 24px; flex: 0 0 auto; }
.sys-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sys-txt b { font-size: 15px; }
.sys-txt em { font-style: normal; font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.sys-num { flex: 0 0 auto; font-size: 20px; font-weight: 800; color: var(--green-deep); }
.dot-red {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: #a95549; color: #fff;
  font-size: 12px; font-weight: 700; font-style: normal;
}
.dot-warn {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: #b8975c; font-style: normal;
}
.dot-ok {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: #a9bc5e; font-style: normal;
  box-shadow: 0 0 0 3px rgba(66,184,131,.16);
}
@media (max-width: 768px) {
  .sys-tile { padding: 14px; gap: 10px; }
  .sys-ico { font-size: 20px; }
  .sys-txt b { font-size: 14px; }
}

/* ==========================================================
   总教练工作台：四板块均衡网格（上二下二 / 窄屏自适应单列）
   ========================================================== */
.hc-quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.hc-panel {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}
.hc-panel-hd {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #FFFBF4, #FFF7EA);
}
.hc-panel-ico { font-size: 22px; flex: 0 0 auto; }
.hc-panel-tt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hc-panel-tt b { font-size: 15px; line-height: 1.3; }
.hc-panel-tt em { font-style: normal; font-size: 11.5px; color: var(--muted); line-height: 1.4; }
.hc-panel-num { flex: 0 0 auto; font-size: 19px; font-weight: 800; color: var(--green-deep); }
.hc-panel-bd { flex: 1; padding: 14px 16px; min-width: 0; }
.hc-panel-ft {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: #fbf9f0;
}
.hc-panel-bd .table { margin-top: 0; }
.hc-panel-bd .table-wrap { margin-top: 0; }

/* 迷你列表 */
.hc-mini-list { list-style: none; margin: 0; padding: 0; }
.hc-mini-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hc-mini-list li:last-child { border-bottom: none; }
.hc-mini-link { display: block; color: inherit; text-decoration: none; }
.hc-mini-link:hover .hc-mini-t { color: var(--orange-deep); }
.hc-mini-t { font-size: 13px; font-weight: 600; line-height: 1.4; }
.hc-mini-s { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.hc-warn { color: #a95549; margin-left: 4px; }
.hc-more { margin-top: 10px; }
.hc-more > summary { cursor: pointer; }
.hc-more-item {
  display: block; padding: 8px 0; border-bottom: 1px dashed var(--line);
  font-size: 12.5px; color: inherit; text-decoration: none;
}
.hc-more-item:hover b { color: var(--orange-deep); }
.hc-more-item span { display: block; color: var(--ink-2); margin-top: 3px; white-space: pre-wrap; }
.hc-sum-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }

@media (max-width: 900px) {
  .hc-quad { grid-template-columns: 1fr; }
}

/* ==========================================================
   月份选择器（月度总结 / 计划目标 / 教练管理 通用）
   ========================================================== */
.mp-period {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.mp-period select {
  width: auto; min-width: 120px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 8px; background: #f7f5ec;
  font-size: 14px; font-family: inherit;
}
.mp-period .tilde { color: var(--muted); }
.month-chip {
  display: inline-block; margin: 3px 4px 3px 0; padding: 4px 10px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; color: var(--ink-2); background: #fff; text-decoration: none;
}
.month-chip:hover { border-color: var(--green, #88974b); color: var(--green-deep); }
.month-chip.on { background: var(--green, #88974b); color: #fff; border-color: var(--green, #88974b); }

/* ==========================================================
   账号管理：密码表单 / 合并分组
   ========================================================== */
.pwd-form { display: flex; gap: 4px; align-items: center; margin-top: 4px; }
.pwd-form input { width: 110px; padding: 4px 6px; font-size: 12px; }
.act-cell { white-space: nowrap; }
.act-cell .btn { margin-right: 4px; }
.merge-group {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 12px; margin-bottom: 12px; background: #fbf9f0;
}
.merge-phone { font-weight: 800; margin-bottom: 8px; }
.merge-form .table { margin-top: 0; }
@media (max-width: 768px) {
  .pwd-form { flex-wrap: wrap; }
}

/* ==================== 阶段8：教学计划模块 ==================== */
/* 学员端首页弹窗 */
.lp-mask{position:fixed;inset:0;background:rgba(15,25,20,.55);backdrop-filter:blur(2px);z-index:999;display:flex;align-items:center;justify-content:center;padding:18px;}
.lp-modal{background:#fff;border-radius:18px;max-width:420px;width:100%;padding:26px 22px 20px;box-shadow:0 18px 50px rgba(0,0,0,.28);text-align:center;animation:lpPop .22s ease-out;}
@keyframes lpPop{from{transform:translateY(14px) scale(.97);opacity:0}to{transform:none;opacity:1}}
.lp-modal-gift{font-size:44px;line-height:1;}
.lp-modal-title{font-size:19px;font-weight:800;color:#3a4022;margin:6px 0 12px;letter-spacing:.5px;}
.lp-modal-text{font-size:14.5px;line-height:1.95;color:#3e4730;text-align:left;background:linear-gradient(180deg,#f4faf6,#fff);border:1px solid #f1f3e6;border-radius:12px;padding:14px 15px;}
.lp-modal-adjust{margin-top:12px;font-size:13.5px;color:#8a6f3b;background:#fbf9f0;border:1px solid #e3dfce;border-radius:10px;padding:10px 12px;line-height:1.7;}
.lp-modal-btns{margin-top:18px;display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}
.lp-modal-btns .btn{min-width:130px;}

/* 学员端常驻入口 */
.lp-entry{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #f1f3e6;border-left:4px solid #3a4022;border-radius:12px;padding:12px 14px;margin-bottom:14px;text-decoration:none;color:inherit;box-shadow:0 2px 8px rgba(0,0,0,.05);}
.lp-entry:hover{box-shadow:0 4px 14px rgba(111,124,78,.16);}
.lp-entry-ic{font-size:22px;}
.lp-entry-tx{display:flex;flex-direction:column;flex:1;line-height:1.45;}
.lp-entry .arrow{color:#7c7e64;font-size:20px;}

/* 教学计划详情页 */
.lp-empty{text-align:center;padding:48px 16px;color:#7c7e64;}
.lp-empty-icon{font-size:48px;margin-bottom:10px;}
.lp-hero{background:linear-gradient(135deg,#3a4022,#88974b);color:#fff;border-radius:14px;padding:18px 20px;margin-bottom:14px;}
.lp-hero-title{font-size:19px;font-weight:800;}
.lp-hero-sub{margin-top:6px;font-size:13.5px;opacity:.92;}
.lp-para{font-size:15px;line-height:2;margin:4px 0 12px;color:#3e4730;}
.lp-hl{color:#3a4022;border-bottom:2px solid #eae9dc;padding:0 2px;}
.lp-eval{background:#f7fbf8;border:1px solid #f1f3e6;border-radius:10px;padding:10px 13px;}
.lp-eval-hd{font-weight:700;font-size:13px;color:#3a4022;margin-bottom:4px;}
.lp-eval-bd{font-size:14px;line-height:1.85;color:#3e4730;white-space:pre-wrap;}
.lp-adjust{background:#fbf9f0;border:1px solid #e3dfce;color:#8a6f3b;border-radius:10px;padding:11px 14px;margin-bottom:14px;font-size:14px;line-height:1.7;}
.lp-stage-card{border:1px solid #f1f3e6;border-radius:12px;margin-bottom:12px;overflow:hidden;background:#fff;box-shadow:0 1px 5px rgba(0,0,0,.05);}
.lp-stage-hd{background:#f1f3e6;color:#3a4022;font-weight:800;padding:9px 15px;font-size:14px;border-bottom:1px solid #f1f3e6;}
.lp-stage-body{display:flex;gap:12px;flex-wrap:wrap;padding:14px 15px;}
.lp-kv{flex:1 1 110px;min-width:104px;background:#fafcfb;border:1px solid #edf3f0;border-radius:10px;padding:10px 8px;text-align:center;}
.lp-kv-wide{flex:2 1 240px;text-align:left;}
.lp-kv-num{font-size:24px;font-weight:800;color:#3a4022;line-height:1.2;}
.lp-kv-tx{font-size:14px;line-height:1.8;color:#3e4730;white-space:pre-wrap;}
.lp-kv-lb{font-size:12px;color:#7c7e64;margin-top:4px;}

/* 教练/管理员编辑页 */
.lp-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;margin:10px 0 14px;}
.lp-status{text-align:right;}
.lp-card{margin-bottom:14px;padding:16px;}
.lp-card h3{margin:0 0 8px;font-size:16px;}
.lp-input{width:100%;box-sizing:border-box;border:1px solid #f1f3e6;border-radius:9px;padding:9px 11px;font-size:14px;font-family:inherit;line-height:1.7;}
.lp-input:focus{outline:none;border-color:#3a4022;box-shadow:0 0 0 3px rgba(111,124,78,.12);}
.lp-stage{border:1px solid #f1f3e6;border-radius:11px;padding:12px 14px;margin-bottom:10px;background:#fbfdfc;}
.lp-stage-no{font-weight:800;color:#3a4022;font-size:14px;margin-bottom:8px;}
.lp-stage-row{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:8px;}
.lp-stage-row label{font-size:13.5px;color:#5c554c;display:flex;align-items:center;gap:5px;}
.lp-num{width:78px;text-align:center;}
.lp-stage-focus{font-size:13.5px;color:#5c554c;display:block;}
.lp-stage-focus .lp-input{margin-top:5px;}
.lp-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 20px;}
.lp-search{display:flex;gap:8px;align-items:center;margin-bottom:14px;max-width:480px;}
.lp-search .lp-input{flex:1;}
.lp-goal-cell{max-width:220px;font-size:13px;line-height:1.6;}

/* 变更痕迹 */
.lp-diff-cell{font-size:12.5px;line-height:1.8;}
.lp-diff{display:flex;gap:6px;align-items:baseline;flex-wrap:wrap;font-size:13px;padding:3px 0;border-bottom:1px dashed #eef2f0;}
.lp-diff:last-child{border-bottom:none;}
.lp-diff-lb{color:#5c554c;min-width:130px;font-weight:600;}
.lp-diff .old{color:#b3402f;text-decoration:line-through;background:#fdf1ef;padding:1px 6px;border-radius:5px;}
.lp-diff .new{color:#3a4022;background:#f1f3e6;padding:1px 6px;border-radius:5px;}
.lp-arrow{color:#7c7e64;}
.lp-log{border:1px solid #f1f3e6;border-radius:11px;margin-bottom:10px;overflow:hidden;background:#fff;}
.lp-log-hd{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#f6faf8;padding:9px 13px;font-size:13px;border-bottom:1px solid #eef3f0;}
.lp-log-time{font-weight:700;color:#3a4022;}
.lp-log-bd{padding:10px 13px;}

/* ==================== 小程序 / 工作台 2.0 UI ==================== */
/* 绿色工作台卡片（管理员总览 / 教练工作台） */
.workbench {
  background: linear-gradient(160deg, #e8eed0 0%, #e8eed0 40%, #3a4022 100%);
  border-radius: 24px;
  padding: 22px 18px 18px;
  color: #fff;
  box-shadow: 0 10px 28px rgba(111,124,78,.28);
  margin-bottom: 14px;
}
.workbench-head { margin-bottom: 16px; padding-left: 4px; }
.wb-title { font-size: 24px; font-weight: 800; letter-spacing: .8px; margin: 0 0 4px; }
.wb-sub { font-size: 13.5px; opacity: .86; letter-spacing: .3px; }
.wb-body { background: rgba(255,255,255,.16); border-radius: 20px; padding: 14px; }

/* 管理员：矩形圆角网格按钮 */
.wb-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.wb-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background: #fff;
  color: #3a4022;
  border: none;
  border-radius: 16px;
  padding: 15px 13px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
  transition: transform .12s, box-shadow .12s;
}
.wb-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.wb-btn .wb-ico { font-size: 24px; width: 30px; text-align: center; flex: none; }
.wb-btn .wb-txt { flex: 1; line-height: 1.2; }

/* 教练工作台：胶囊按钮 */
.wb-grid-pill {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.wb-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,.95);
  color: #3a4022;
  border: none;
  border-radius: 999px;
  padding: 16px 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
  transition: transform .12s, box-shadow .12s;
}
.wb-pill:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.wb-pill .wb-ico { font-size: 22px; }

/* 小程序卡片（学员首页） */
.mini-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  margin-bottom: 12px;
}
.mini-card-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.mini-card-title { font-size: 16px; font-weight: 800; color: var(--ink); }
.mini-card-more { font-size: 12px; color: var(--green); }

/* 小程序网格按钮 */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}
.mini-grid-2 { grid-template-columns: repeat(2, 1fr); }
.mini-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mini-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 4px;
  border-radius: 14px;
  background: #f9fbf9;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  transition: background .12s;
}
.mini-item:hover { background: #f1f3e6; }
.mini-item-ico { font-size: 24px; line-height: 1; }

/* 小程序 Banner */
.mini-banner-wrap { margin: 12px 0; }
.mini-banner {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8eed0, #88974b);
  color: #fff;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 120px;
  box-shadow: 0 4px 14px rgba(111,124,78,.2);
}
.mini-banner-title { font-size: 20px; font-weight: 800; }
.mini-banner-sub { font-size: 12.5px; opacity: .88; margin-top: 2px; }

/* 底部 Tab 导航（小程序风格） */
.mini-tab-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid #e8efe9;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  z-index: 100;
}
.mini-tab-bar a, .mini-tab-bar button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: #7c7e64;
  font-size: 10px;
  text-decoration: none;
  padding: 4px 0;
}
.mini-tab-bar a.active { color: var(--green-deep); }
.mini-tab-bar .ico { font-size: 22px; line-height: 1; }

/* 有底部导航时主容器增加底部 padding */
body.has-mini-tabs .container { padding-bottom: 88px; }

/* 顶部精简栏（学员端 H5）：浅底深字，轻盈高级 */
.topbar-mini {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  color: var(--ink);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-mini .brand { color: var(--green-deep); font-weight: 700; font-size: 16px; white-space: nowrap; flex-shrink: 0; }
.topbar-mini .nav { gap: 8px; flex-shrink: 0; margin-left: auto; }
.topbar-mini .nav a { color: var(--ink-2); padding: 6px 10px; border-radius: 999px; font-size: 13px; }
.topbar-mini .nav a:hover { background: var(--fill); color: var(--ink); }
.topbar-mini .nav .who { background: var(--fill); color: var(--ink-2); padding: 4px 10px; border-radius: 999px; font-size: 12px; }
.topbar-mini .nav .logout { color: var(--muted); }
.topbar-mini .nav .logout:hover { background: #f7eae6; color: var(--danger); }

/* 学员列表卡片 */
.mini-student-list { display: flex; flex-direction: column; gap: 10px; }
.mini-student-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  text-decoration: none; color: inherit;
}
.mini-student-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; flex: none;
}
.mini-student-info { flex: 1; min-width: 0; }
.mini-student-name { font-weight: 700; font-size: 15px; }
.mini-student-meta { font-size: 12px; color: var(--muted); }

/* ==================== 阶段11：UI对齐（品牌横排等） ==================== */
.hero-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-brand { font-size: 21px; font-weight: 800; letter-spacing: .5px; }
.hero-greet { font-size: 14.5px; opacity: .95; font-weight: 600; }

/* 学员预约：时段占用网格（2026-09-26 郑总：格子看着混乱 → 统一等高+边框可见+占用文字截断） */
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.slot-cell {
  border: 1px solid #dde3c4; border-radius: 10px; padding: 8px 6px;
  min-height: 48px; max-width: 100%; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-align: center; font-size: 13px; font-weight: 600; cursor: pointer;
  background: #f1f3e6; color: #3a4022; transition: all .12s; line-height: 1.3;
}
.slot-cell:hover { border-color: #3a4022; box-shadow: 0 2px 8px rgba(111,124,78,.18); }
.slot-cell.sel { background: #3a4022; color: #fff; border-color: #3a4022; }
.slot-cell.busy { background: #f6f4ea; color: #9a9a8c; border-color: #d8dcc6; cursor: not-allowed; }
.slot-cell .slot-by {
  display: block; font-size: 11px; font-weight: 400; color: #999;
  margin-top: 2px; max-width: 100%; overflow: hidden;
  white-space: nowrap; text-overflow: ellipsis;
}
.slot-cell.busy .slot-by { color:#999; }
.slot-legend { display:flex; gap:14px; flex-wrap:wrap; font-size:12.5px; color:#5c554c; margin-top:8px; }
.slot-legend i { display:inline-block; width:12px; height:12px; border-radius:3px; margin-right:4px; vertical-align:-1px; }

/* 活动报名 */
.act-signup-box { margin-top: 14px; }
.act-quota { font-size: 13px; color: #5c554c; margin-bottom: 8px; }
.act-full { background: #fbf9f0; border: 1px solid #e3dfce; color: #8a6f3b; border-radius: 10px; padding: 12px 14px; font-size: 14px; }

/* 客服条 */
.kefu-bar { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top:14px; }

/* 防截屏：参考动作（教练指导视频） */
.lp-guard, .ref-guard { position: relative; }
.lp-guard video, .ref-guard video { user-select: none; -webkit-user-drag: none; pointer-events: auto; }
.ref-guard .watermark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none; color: rgba(255,255,255,.35); font-size: 13px; letter-spacing: 2px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4); z-index: 2;
}

/* ==================== 阶段12：表格/导航/手机号/补录优化 ==================== */
@media (max-width: 768px) {
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table th, .table td { padding: 6px 8px; font-size: 13px; }
  .hide-mobile { display: none !important; }
  .stat-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .topbar .nav a { padding: 4px 6px; font-size: 12.5px; }
  .hero-card { padding: 16px 14px; }
}
.phone-mask { cursor: pointer; user-select: none; }
.phone-mask::after { content: " 👁"; opacity: 0.4; font-size: 11px; }
.phone-mask.revealed { color: #3a4022; }
.phone-mask.revealed::after { content: ""; }
.id-mask { color: #7c7e64; font-family: monospace; }
.id-mask { cursor: pointer; }
.id-mask::after { content: " 👁"; opacity: 0.4; font-size: 11px; }
.id-mask.revealed { color: #3a4022; font-family: monospace; }
.id-mask.revealed::after { content: ""; }
/* 顶栏导航多行：已在顶部 .topbar / .nav 统一处理，不再单独覆盖 */

/* ============ 学员首页快捷入口（我要约课 / 我的课程） ============ */
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.qa-card {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid #f1f3e6; border-radius: 14px; padding: 14px 12px;
  text-decoration: none; color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.qa-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(111,124,78,.18); }
.qa-card:active { transform: translateY(0); }
.qa-ic { font-size: 26px; line-height: 1; }
.qa-tx { display: flex; flex-direction: column; line-height: 1.4; min-width: 0; }
.qa-tx b { font-size: 15px; color: var(--ink); }
.qa-tx small { font-size: 12px; color: #7c7e64; }

/* ===== 经营数据看板 KPI 卡片 ===== */
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 12px 0 4px; }
.kpi-card { background: linear-gradient(135deg, #f1f3e6, #f7f4ec); border: 1px solid #eae9dc;
  border-radius: 12px; padding: 14px 16px; text-align: center; }
.kpi-val { font-size: 22px; font-weight: 800; color: #88974b; }
.kpi-label { font-size: 12px; color: #7c7e64; margin-top: 4px; }
.text-green { color: #88974b !important; }
.text-orange { color: #e08a1e !important; }
.badge-orange { background: #fff2dd; color: #8a6f3b; border: 1px solid #ede7d2; }


/* ===== 活动分享 / 海报生成 ===== */
.share-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  margin: 12px 0; padding: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); }
.share-bar .share-hint { font-size: 12px; color: var(--muted); margin-left: auto; }

.poster-mask { position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 9999;
  display: flex; align-items: center; justify-content: center; padding: 14px; }
.poster-box { background: #fff; border-radius: 14px; padding: 14px; width: 100%;
  max-width: 420px; max-height: 92vh; overflow-y: auto; }
.poster-box h4 { margin: 0 0 10px; font-size: 16px; }
.poster-tpl-switch { display: flex; gap: 8px; margin-bottom: 12px; }
.poster-tpl-switch button { flex: 1; padding: 8px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink); }
.poster-tpl-switch button.on { border-color: var(--green, #88974b); background: #f1f3e6;
  color: #3a4022; font-weight: 700; }
.poster-preview { width: 100%; border-radius: 10px; overflow: hidden; background: #f6f4ea;
  min-height: 200px; display: flex; align-items: center; justify-content: center; }
.poster-preview img { width: 100%; display: block; }
.poster-actions { display: flex; gap: 8px; margin-top: 12px; }
.poster-actions .btn { flex: 1; text-align: center; }
.poster-tip { font-size: 12px; color: var(--muted); text-align: center; margin-top: 8px; }

/* 海报画布（离屏渲染，宽 750 高 1334） */
.poster-canvas-src { position: fixed; left: -99999px; top: 0; width: 750px; height: 1334px;
  background: #fff; overflow: hidden; }
.poster-canvas-src .p-wrap { width: 750px; height: 1334px; position: relative;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; }

/* 模板 A：简约卡券风 */
.poster-a { background: linear-gradient(160deg, #333b27 0%, #3a4022 45%, #88974b 100%); }
.poster-a .pa-head { padding: 54px 48px 0; color: #fff; }
.poster-a .pa-brand { font-size: 26px; letter-spacing: 3px; opacity: .92; }
.poster-a .pa-brand b { color: #d9c08a; }
.poster-a .pa-tag { display: inline-block; margin-top: 18px; padding: 8px 22px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; font-size: 24px; color: #fff; }
.poster-a .pa-title { margin-top: 34px; font-size: 62px; line-height: 1.28; font-weight: 800;
  color: #fff; max-height: 320px; overflow: hidden; }
.poster-a .pa-sub { margin-top: 20px; font-size: 28px; color: #eae9dc; line-height: 1.5;
  max-height: 120px; overflow: hidden; }
.poster-a .pa-cover { margin: 34px 48px 0; height: 380px; border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.12); }
.poster-a .pa-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster-a .pa-cover-fallback { display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  color: #fff; text-align: center; }
.poster-a .pa-info { margin: 34px 48px 0; background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 26px 28px; color: #fff; }
.poster-a .pa-info div { font-size: 27px; line-height: 1.75; }
.poster-a .pa-info span { opacity: .8; margin-right: 12px; }
.poster-a .pa-foot { position: absolute; left: 48px; right: 48px; bottom: 44px;
  display: flex; align-items: center; gap: 28px; background: #fff; border-radius: 18px;
  padding: 22px 26px; }
.poster-a .pa-qr { width: 168px; height: 168px; flex: none; background: #fff; }
.poster-a .pa-qr img, .poster-a .pa-qr canvas { width: 168px; height: 168px; display: block; }
.poster-a .pa-cta { flex: 1; }
.poster-a .pa-cta .t { font-size: 32px; font-weight: 800; color: #333b27; }
.poster-a .pa-cta .s { font-size: 22px; color: #7c7e64; margin-top: 8px; line-height: 1.5; }
.poster-a .pa-fee { color: #d93025; font-weight: 800; }

/* 模板 B：杂志封面风 */
.poster-b { background: #111 linear-gradient(150deg, #333b27, #88974b 60%, #e8eed0); }
.poster-b .pb-bg { position: absolute; inset: 0; }
.poster-b .pb-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster-b .pb-bg .pb-fallback { width: 100%; height: 100%;
  background: linear-gradient(150deg, #333b27, #88974b 60%, #e8eed0); }
.poster-b .pb-shade { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 32%, rgba(0,0,0,.82) 100%); }
.poster-b .pb-corner { position: absolute; top: 46px; right: 46px; background: #d9c08a;
  color: #333b27; font-size: 24px; font-weight: 800; padding: 10px 24px; border-radius: 8px; }
.poster-b .pb-top { position: absolute; top: 48px; left: 48px; color: #fff; }
.poster-b .pb-top .b { font-size: 30px; letter-spacing: 2px; opacity: .95; }
.poster-b .pb-top .b b { color: #d9c08a; }
.poster-b .pb-mid { position: absolute; left: 48px; right: 48px; top: 620px; color: #fff; }
.poster-b .pb-mid .pb-title { font-size: 68px; line-height: 1.24; font-weight: 900;
  text-shadow: 0 4px 18px rgba(0,0,0,.5); max-height: 350px; overflow: hidden; }
.poster-b .pb-mid .pb-sub { margin-top: 18px; font-size: 28px; color: #f1f3e6;
  text-shadow: 0 2px 10px rgba(0,0,0,.5); max-height: 110px; overflow: hidden; }
.poster-b .pb-card { position: absolute; left: 44px; right: 44px; bottom: 44px;
  background: #fff; border-radius: 20px; padding: 26px 28px; display: flex; gap: 26px;
  align-items: center; }
.poster-b .pb-card .pb-l { flex: 1; color: #3c402d; }
.poster-b .pb-card .pb-l div { font-size: 25px; line-height: 1.7; }
.poster-b .pb-card .pb-l span { color: #878a7b; margin-right: 10px; }
.poster-b .pb-card .pb-r { flex: none; text-align: center; }
.poster-b .pb-qr { width: 156px; height: 156px; }
.poster-b .pb-qr img, .poster-b .pb-qr canvas { width: 156px; height: 156px; display: block; }
.poster-b .pb-card .pb-r small { display: block; font-size: 19px; color: #7c7e64; margin-top: 6px; }

/* ============================================================
   全局响应式兜底 —— 自适应的最后一道防线
   断点体系：640（手机竖屏） / 768（手机横屏·小平板） / 900（平板） / 1200+（宽屏）
   ============================================================ */
img, video, iframe, canvas, embed { max-width: 100%; height: auto; }

@media (max-width: 768px) {
  /* iOS 聚焦时字号 <16px 会自动放大页面，这里兜住 */
  input, select, textarea { font-size: 16px; }
  .container { padding: 16px 12px 96px; }
  .card, .block, .session-card, .booking-card { padding: 18px; border-radius: 14px; }
  .btn:not(.btn-sm) { min-height: 44px; }  /* 小按钮豁免，保持轻盈 */
  h2 { font-size: 18px; }
  table { font-size: 12px; }
}

/* 触控目标：行内操作至少 40px */
.action-group .btn, .action-group button { min-height: 40px; }

/* 安全区：iOS 全面屏底部标签栏 */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .container { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* 空态组件：图标 + 一句说明 + 一个主行动 */
.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-state .es-icon { font-size: 38px; opacity: .40; display: block; margin-bottom: 10px; line-height: 1; }
.empty-state .es-text { font-size: var(--fs-14); margin-bottom: 14px; letter-spacing: .3px; line-height: 1.7; }
.empty-state .es-hint { font-size: 12px; color: #b3ab9c; margin: -8px 0 14px; line-height: 1.6; }

/* 横向滚动条美化，提示「右侧还有内容」 */
.table-wrap::-webkit-scrollbar { height: 6px; }
.table-wrap::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.table-wrap::-webkit-scrollbar-track { background: transparent; }
