/* ============================================================
   顾问工作台 · Atelier 设计层（atelier.css）
   2026-11-18 全站视觉重构：暖白纸感 · 编辑顾问风
   - 只覆盖视觉与布局，不改动业务脚本的 DOM 钩子
   - 载入顺序：style.css → atelier.css
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root{
  --bg: #f3eee4;
  --bg-deep: #14261f;
  --bg-card: #fffdf9;
  --ink: #211d18;
  --ink-2: #5a5247;
  --ink-3: #8d8375;
  --line: #e4dbcc;
  --line-strong: #d1c4b0;
  --accent: #1b5e46;
  --accent-2: #2f7d61;
  --accent-muted: #e6efe9;
  --amber: #a96a1f;
  --amber-muted: #f8ecd8;
  --danger: #a83a2b;
  --danger-muted: #f8e2dc;
  --module-1: #2f7d61;
  --module-3: #a96a1f;
  --module-5: #6b5b8e;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow: 0 1px 2px rgba(66,50,28,.04), 0 8px 24px rgba(66,50,28,.05);
  --shadow-lg: 0 24px 60px rgba(40,30,15,.18);
  --sidebar-w: 248px;
  --topbar-h: 72px;
  --nav-h: 62px;
  --nav-call-pop: 20px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, "Times New Roman", serif;
  --sans: var(--font);
  --grad-brand: linear-gradient(126deg, #123c2e 0%, #1b5e46 58%, #2f7d61 100%);
  --grad-brand-soft: linear-gradient(126deg, #f6f0e4 0%, #fbf7ef 100%);
  --card-main-bg: #fbf7ef;
  --card-sub-bg: #f7f2e8;

  /* 学生档案新 UI 的语义色（原 --n-* 体系同步换色） */
  --n-brand: #1b5e46;
  --n-brand-2: #2f7d61;
  --n-brand-muted: #e6efe9;
  --n-danger: #a83a2b;
  --n-danger-muted: #f8e2dc;
  --n-success: #2f7d61;
  --n-success-muted: #e6efe9;
  --n-warning: #a96a1f;
  --n-warning-muted: #f8ecd8;
  --n-teal: #2f7d61;
  --n-teal-muted: #e9f2ee;
  --n-ink: #211d18;
  --n-ink-2: #5a5247;
  --n-ink-3: #8d8375;
  --n-line: #e4dbcc;
  --n-line-strong: #d1c4b0;
  --n-bg: #f3eee4;
  --n-bg-soft: #fffdf9;
  --n-r-card: 16px;
  --n-r-control: 10px;
  --n-shadow: 0 1px 2px rgba(66,50,28,.04), 0 8px 24px rgba(66,50,28,.05);
  --n-shadow-pop: 0 24px 60px rgba(40,30,15,.18);
}

/* ---------- 2. 基础排版 ---------- */
html{ background:var(--bg); }
body{
  background-color:var(--bg);
  background-image:radial-gradient(rgba(120,100,70,.05) .6px, transparent .7px);
  background-size:20px 20px;
  color:var(--ink);
  font-size:14.5px;
}
::selection{ background:rgba(27,94,70,.18); color:var(--ink); }
*{ scrollbar-width:thin; scrollbar-color:var(--line-strong) transparent; }
*::-webkit-scrollbar{ width:8px; height:8px; }
*::-webkit-scrollbar-thumb{ background:var(--line-strong); border-radius:8px; }
*::-webkit-scrollbar-track{ background:transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:2px solid var(--accent-2); outline-offset:2px;
}

/* ---------- 3. 应用外壳 ---------- */
#appShell{ background:transparent; }
.app-layout{ height:100%; }

/* 侧边栏：深墨绿书脊 */
.sidebar{
  width:var(--sidebar-w);
  padding:22px 14px 16px;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, #172c24 0%, #10231c 100%);
  color:#f1eadc;
  border-right:1px solid rgba(255,255,255,.06);
}
.sb-brand{ padding:4px 8px 20px; gap:12px; }
.sb-brand h1{ font-family:var(--serif); font-size:17px; font-weight:600; letter-spacing:.02em; color:#f6efe2; }
.sb-brand p{ font-size:9.5px; letter-spacing:.22em; text-transform:uppercase; color:rgba(241,234,220,.45); margin-top:3px; }
.sb-logo{
  width:40px; height:40px; border-radius:12px;
  background:#f3eee4; color:#14382b;
  font-family:var(--serif); font-size:18px; font-weight:700;
  box-shadow:0 6px 18px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.5);
}
.sb-logo.has-avatar{ background:#f3eee4; }
.sb-list{ padding:0 2px; }
.sb-group{ margin-bottom:18px; }
.sb-group-t{
  padding:0 10px 7px;
  font-size:9.5px; font-weight:600; letter-spacing:.2em; text-transform:uppercase;
  color:rgba(241,234,220,.36);
}
.sitem{
  position:relative;
  padding:10px 12px; margin-bottom:2px;
  border-radius:10px;
  color:rgba(241,234,220,.72);
  font-size:13.5px;
  letter-spacing:.01em;
}
.sitem svg{ opacity:.7; transition:opacity .18s, transform .18s; }
.sitem:hover{ background:rgba(255,255,255,.06); color:#fff; }
.sitem:hover svg{ opacity:1; transform:translateX(1px); }
.sitem.active{
  background:#f3eee4; color:#16352a; font-weight:700;
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}
.sitem.active svg{ opacity:1; color:var(--accent); }
.sitem.active::before{
  content:""; position:absolute; left:-14px; top:50%; transform:translateY(-50%);
  width:3px; height:18px; border-radius:0 3px 3px 0; background:#d9b382;
}
.sidebar .sb-hub{
  margin-top:auto;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(241,234,220,.12);
  border-radius:14px;
  padding:12px 12px;
}
.sidebar .sb-hub:hover{ background:rgba(255,255,255,.08); border-color:rgba(241,234,220,.22); transform:translateY(-1px); }
.sidebar .sb-avatar{ border-radius:11px; background:linear-gradient(135deg,#d9b382,#b98a4a); color:#231a0e; font-weight:800; }
.sb-hub-meta h2{ font-size:13.5px; color:#f6efe2; }
.sb-hub-meta p{ font-size:10.5px; color:rgba(241,234,220,.45); }
.sb-hub-che{ color:rgba(241,234,220,.4); }
.sb-hub-badge{ box-shadow:0 0 0 2px #10231c; background:var(--amber); }

/* 顶栏：纸面工具条 */
.topbar{
  height:var(--topbar-h);
  padding:0 28px;
  background:rgba(243,238,228,.82);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(209,196,176,.55);
}
.title{
  font-family:var(--serif);
  font-size:22px; font-weight:600; letter-spacing:.01em;
  display:flex; align-items:baseline; gap:10px;
}
.title::before{
  content:""; width:7px; height:7px; border-radius:50%;
  background:var(--accent); flex:none; transform:translateY(-3px);
}
.title small{
  font-family:var(--font); font-size:9.5px; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:var(--ink-3);
  margin-left:0;
}
.menu-btn, .back-btn{ border-radius:10px; color:var(--ink-2); }
.menu-btn:hover, .back-btn:hover, .bell-btn:hover{ background:rgba(27,94,70,.08); color:var(--accent); }
.bell-btn{ border-radius:10px; color:var(--ink-2); }
.bell-badge{ background:var(--danger); }
.date-chip{
  font-size:11px; letter-spacing:.06em; color:var(--ink-3);
  padding:6px 10px; border:1px solid var(--line); border-radius:999px;
  background:rgba(255,253,249,.6);
}

/* 二级标签条：下划线式 */
.group-tabs{
  margin:12px 28px 0; padding:0;
  background:transparent; border:none; border-bottom:1px solid var(--line);
  border-radius:0; gap:2px;
}
.group-tabs .gt{
  padding:9px 14px 10px; border-radius:0;
  font-size:12.5px; font-weight:600; color:var(--ink-3);
  position:relative;
}
.group-tabs .gt:hover{ background:transparent; color:var(--ink); }
.group-tabs .gt.on{
  background:transparent; color:var(--ink); box-shadow:none;
}
.group-tabs .gt.on::after{
  content:""; position:absolute; left:12px; right:12px; bottom:-1px;
  height:2px; background:var(--accent); border-radius:2px;
}
.group-tabs .gt.primary{ font-size:13px; color:var(--ink); background:transparent; }
.group-tabs .gt.primary.on{ color:var(--ink); background:transparent; box-shadow:none; }
.group-tabs .gt.parent-on{ background:transparent; box-shadow:none; color:var(--accent); }
.group-tabs .gt.sub{ font-size:12px; color:var(--ink-3); padding:8px 12px 9px; }
.group-tabs .gt.sub.on{ background:transparent; box-shadow:none; }

/* 内容画布 */
#screen{
  padding:24px 28px 96px;
  scroll-behavior:smooth;
}
@media (min-width:1440px){
  #screen{ padding-left:40px; padding-right:40px; }
}
#screen > *{ animation:pageIn .38s cubic-bezier(.22,1,.36,1) both; }
@keyframes pageIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:translateY(0); } }

/* 移动端底栏：浮动纸面 dock */
@media (max-width:1023px){
  #screen{ padding:16px 14px 96px; }
  .topbar{ padding:0 12px; height:60px; background:rgba(243,238,228,.9); }
  .title{ font-size:18px; gap:8px; }
  .title::before{ width:6px; height:6px; }
  .title small{ display:none; }
  .date-chip{ display:none; }
  .nav{
    left:10px; right:10px; bottom:10px;
    height:var(--nav-h);
    border:1px solid var(--line);
    border-radius:20px;
    background:rgba(255,253,249,.92);
    -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
    box-shadow:0 12px 32px rgba(40,30,15,.16);
    overflow:visible;
  }
  .nav .n{ font-size:10px; gap:2px; color:var(--ink-3); border-radius:14px; }
  .nav .n.active{ color:var(--accent); }
  .nav .n.active::before{
    content:""; position:absolute; top:6px; width:26px; height:26px; border-radius:9px;
    background:var(--accent-muted); z-index:0;
  }
  .nav .n{ position:relative; z-index:auto; }
  .nav .n > *{ position:relative; z-index:1; }
  .n-avatar{ border-radius:10px; background:linear-gradient(135deg,#3f8b6d,#1b5e46); box-shadow:none; }
  .nav .n.active .n-avatar{ box-shadow:0 0 0 2px #fff, 0 0 0 3px var(--accent); }
  .nav .n.n-call-tab .n-call{
    width:54px; height:54px;
    background:linear-gradient(145deg,#2f7d61,#1b5e46);
    border:3px solid #fffdf9;
    box-shadow:0 10px 24px rgba(27,94,70,.34);
  }
  .nav .n.n-call-tab .n-call svg{ filter:none; }
}

/* 抽屉 */
.drawer{ background:var(--bg-card); width:300px; }
.dh{ background:linear-gradient(180deg,#172c24,#10231c); padding:20px 18px; }
.dh h2{ font-family:var(--serif); font-size:17px; font-weight:600; }
.dh p{ color:rgba(241,234,220,.45); letter-spacing:.16em; }
.brand{ border-radius:11px; background:#f3eee4; color:#14382b; font-family:var(--serif); }
#drawerList{ padding:12px 12px; }
.dgroup{ margin-bottom:14px; }
.dgroup-t{
  padding:4px 12px 6px; font-size:9.5px; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:var(--ink-3);
}
.ditem{ padding:11px 12px; border-radius:10px; color:var(--ink-2); }
.ditem:hover{ background:var(--paper,#f7f2e8); color:var(--ink); }
.ditem.active{ background:var(--accent-muted); color:var(--accent); }
.ditem.danger{ color:var(--danger); }
.dsep{ background:var(--bg); height:1px; margin:8px 12px; }
.dfoot{ color:var(--ink-3); }

/* 个人中心弹层 */
.hub-scrim{ background:rgba(20,25,20,.42); }
.hub-panel{ background:var(--bg-card); border-radius:22px 22px 0 0; }
.hub-head{ padding:14px 18px 10px; }
.hub-title{ font-family:var(--serif); font-size:18px; font-weight:600; }
.hub-back, .hub-close{ background:#f4eee3; color:var(--ink-2); }
.hub-profile{ padding:4px 18px 16px; }
.hub-pavatar{
  width:58px; height:58px; border-radius:16px;
  background:linear-gradient(135deg,#2f7d61,#1b5e46);
  color:#f7f1e5; font-family:var(--serif); font-size:22px;
}
.hub-pname{ font-family:var(--serif); font-size:19px; font-weight:600; }
.hub-psub{ color:var(--ink-3); }
.hub-grp{ background:var(--bg-card); border-color:var(--line); }
.hub-row{ padding:13px 16px; border-bottom-color:var(--line); }
.hub-row:hover{ background:#f8f3e9; }
.hub-row svg:first-child{ color:var(--accent); }
.hub-grp-title{ color:var(--ink-3); }
.hub-sec-title{ color:var(--ink-3); letter-spacing:.06em; }
.hub-tip{ color:var(--ink-3); background:#f7f2e8; }
@media (min-width:1024px){
  .hub-panel{
    left:calc(var(--sidebar-w) + 18px); bottom:18px;
    width:360px; max-height:calc(100vh - 36px);
    border:1px solid var(--line);
    border-radius:20px;
    box-shadow:var(--shadow-lg);
  }
}

/* ---------- 4. 通用组件 ---------- */
/* 页面级页头：编辑顾问式标题 */
body #screen .page-head{
  display:flex !important;
  align-items:flex-end; justify-content:space-between; gap:18px;
  padding:2px 2px 18px;
  margin-bottom:18px;
  border-bottom:1px solid var(--line-strong);
}
body #screen .page-head .ph-title{
  font-family:var(--serif);
  font-size:30px; font-weight:600; line-height:1.2; letter-spacing:.01em;
}
body #screen .page-head .ph-sub{
  margin-top:8px; font-size:12px; line-height:1.65; color:var(--ink-3);
  max-width:680px;
}
body #screen .page-head .ph-acts{ display:flex; gap:8px; flex:none; }
body.page-has-head .topbar .title{ display:none; }
body.page-has-head .topbar .bell-btn{ margin-left:auto; }
@media (max-width:1023px){
  body #screen .page-head{ flex-direction:column; align-items:flex-start; gap:12px; padding-bottom:14px; }
  body #screen .page-head .ph-title{ font-size:26px; }
  body #screen .page-head .ph-acts{ width:100%; }
  body #screen .page-head .ph-acts .btn,
  body #screen .page-head > .btn{ flex:1; width:100%; }
}
@media (max-width:640px){
  .ov-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.card{
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.card-sub{ background:#f8f3e9; border-color:var(--line); }

.btn{
  background:var(--accent);
  border:1px solid var(--accent);
  border-radius:10px;
  padding:9px 16px;
  font-size:13.5px; font-weight:600; letter-spacing:.01em;
  box-shadow:0 1px 2px rgba(27,94,70,.16);
  transition:background .18s, border-color .18s, color .18s, box-shadow .18s, transform .12s;
}
.btn:hover{ filter:none; background:#17503b; border-color:#17503b; box-shadow:0 6px 16px rgba(27,94,70,.2); }
.btn:active{ transform:translateY(1px); }
.btn.primary{ background:var(--accent); }
.btn.ghost{
  background:var(--bg-card); color:var(--ink-2);
  border:1px solid var(--line); box-shadow:none;
}
.btn.ghost:hover{ background:#f8f3e9; border-color:var(--line-strong); color:var(--ink); }
.btn.danger{ background:var(--danger); border-color:var(--danger); }
.btn.danger-ghost{ background:#fff; color:var(--danger); border-color:#ecc8c0; }
.btn.sm{ padding:6px 11px; font-size:12px; border-radius:8px; }

input[type="text"], input[type="tel"], input[type="password"], input[type="date"],
input[type="number"], textarea, select{
  border-color:var(--line);
  border-radius:10px;
  background:var(--bg-card);
}
input:focus, select:focus, textarea:focus{
  border-color:var(--accent-2);
  box-shadow:0 0 0 3px rgba(47,125,97,.12);
}
.field label{ color:var(--ink-2); letter-spacing:.02em; }

.chip{
  padding:6px 13px;
  background:var(--bg-card);
  border-color:var(--line);
  color:var(--ink-2);
  font-size:11.5px; font-weight:600;
  transition:background .18s, border-color .18s, color .18s, transform .12s;
}
.chip:hover:not(.on){ background:#f8f3e9; border-color:var(--line-strong); color:var(--ink); }
.chip.on{
  background:var(--accent); border-color:var(--accent); color:#f8f3e9;
  box-shadow:0 3px 10px rgba(27,94,70,.2);
}
.chip .tab-badge{ background:rgba(255,255,255,.2); }
.chip.on .tab-badge{ background:rgba(255,255,255,.22); color:#fff; }

.search-box{
  border-radius:10px;
  background:var(--bg-card);
  border-color:var(--line);
  padding:8px 12px;
}
.search-box:focus-within{
  border-color:var(--accent-2);
  box-shadow:0 0 0 3px rgba(47,125,97,.1);
}
.filter-bar{
  padding:10px 12px;
  background:rgba(255,253,249,.72);
  border:1px solid var(--line);
  border-radius:14px;
  gap:8px;
}
.filter-bar .chips{ gap:4px; }
.filter-bar .chip{ background:transparent; border-color:transparent; }
.filter-bar .chip:hover:not(.on){ background:#f1e9db; }
.filter-bar .chip.on{ background:var(--ink); border-color:var(--ink); color:#f8f3e9; }

.m-tag{ background:#f4eee3; color:var(--ink-2); }
.m-tag.accent{ background:var(--accent-muted); color:var(--accent); }
.m-pill{ background:#f4eee3; color:var(--ink-2); }

.ov-grid{ gap:12px; margin-bottom:18px; }
.ov-card{
  position:relative;
  padding:16px 16px 14px;
  border-radius:16px;
  background:var(--bg-card);
  border:1px solid var(--line);
  box-shadow:none;
  overflow:hidden;
}
.ov-card::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:var(--color,var(--accent)); opacity:.85;
}
.ov-ic{
  width:32px; height:32px; border-radius:9px;
  background:var(--tint); color:var(--color);
}
.ov-v{ font-family:var(--serif); font-size:30px; font-weight:600; color:var(--ink); line-height:1.1; }
.ov-l{ font-size:11px; letter-spacing:.03em; color:var(--ink-3); margin-top:4px; }
.ov-delta.up{ background:var(--accent-muted); color:var(--accent); }
.ov-delta.down{ background:var(--danger-muted); color:var(--danger); }

.app-card, .tpl-card, .bot-card, .rem-item, .list-item, .qitem{
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:none;
  transition:border-color .18s, transform .18s, box-shadow .18s;
}
.app-card:hover, .tpl-card:hover, .bot-card:hover, .rem-item:hover, .list-item:hover{
  border-color:var(--line-strong);
  box-shadow:0 12px 30px rgba(66,50,28,.08);
  transform:translateY(-2px);
}
.app-card.sel, .list-item.sel{ border-color:var(--accent); box-shadow:0 0 0 2px rgba(27,94,70,.12); }
.ac-cur, .ac-pv{ color:var(--accent); }

.sec-title{ font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-3); }

/* 弹层 */
.overlay{ background:rgba(20,25,20,.46); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); }
.modal{
  background:var(--bg-card);
  border-radius:22px 22px 0 0;
  box-shadow:var(--shadow-lg);
}
@media (min-width:1024px){
  .modal{ border-radius:20px; border:1px solid var(--line); }
}
.modal h2{ font-family:var(--serif); font-size:20px; font-weight:600; }
.modal .sub{ color:var(--ink-3); line-height:1.65; }
.modal-actions .btn{ border-radius:10px; }
.grab{ background:var(--line-strong); }

.toast{
  background:rgba(24,38,31,.96);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  font-size:13px;
}
.toast.err{ background:rgba(143,45,32,.97); }

/* ---------- 5. 工作台首页 ---------- */
.db-wrap{ max-width:1420px; }
.db-masthead{
  position:relative;
  display:flex; align-items:stretch; justify-content:space-between; gap:24px;
  padding:26px 30px;
  margin-bottom:18px;
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(27,94,70,.09), transparent 58%),
    linear-gradient(120deg,#fbf7ef 0%,#f3eadc 100%);
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
}
.db-masthead::after{
  content:""; position:absolute; right:-70px; bottom:-130px;
  width:300px; height:300px; border-radius:50%;
  border:1px solid rgba(27,94,70,.14);
}
.db-masthead::before{
  content:""; position:absolute; right:10px; bottom:-92px;
  width:210px; height:210px; border-radius:50%;
  border:1px solid rgba(27,94,70,.08);
}
.db-mast-left{ position:relative; z-index:1; min-width:0; }
.db-kicker{
  display:flex; align-items:center; gap:8px;
  font-size:9.5px; font-weight:700; letter-spacing:.22em; text-transform:uppercase;
  color:var(--ink-3);
}
.db-kicker-dot{ width:6px; height:6px; border-radius:50%; background:var(--accent); }
.db-kicker-sep{ color:var(--line-strong); }
.db-greet{
  margin:12px 0 8px;
  font-family:var(--serif);
  font-size:32px; font-weight:600; line-height:1.25; letter-spacing:.01em;
}
.db-quote{
  max-width:560px;
  font-size:13px; line-height:1.75; color:var(--ink-2);
}
.db-mast-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.db-mast-actions .btn{ padding:9px 15px; }
.db-dateblock{
  position:relative; z-index:1; flex:none;
  min-width:112px; padding-left:26px;
  border-left:1px solid var(--line);
  display:flex; flex-direction:column; justify-content:center; text-align:right;
}
.db-date-d{
  font-family:var(--serif); font-size:62px; font-weight:500; line-height:.86;
  letter-spacing:-.02em;
}
.db-date-m{
  margin-top:9px; font-size:9.5px; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:var(--ink-3);
}

/* KPI：编辑部式数字条 */
.db-kpis{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  margin-bottom:22px;
  border-top:1px solid var(--line-strong);
  border-bottom:1px solid var(--line);
}
.db-kpi{
  position:relative;
  display:block; width:100%;
  padding:16px 18px 17px;
  text-align:left;
  background:transparent;
  border:none; border-right:1px solid var(--line);
  transition:background .2s, color .2s;
}
.db-kpi:last-child{ border-right:none; }
.db-kpi:hover{ background:rgba(255,253,249,.72); }
.db-kpi:focus-visible{ outline-offset:-3px; }
.db-kpi-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.db-kpi-label{
  font-size:10px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-2);
}
.db-kpi-ic{ color:var(--ink-3); opacity:.6; display:flex; }
.db-kpi-num{
  display:block; margin-top:10px;
  font-family:var(--serif); font-size:42px; font-weight:500; line-height:1;
  letter-spacing:-.02em; font-variant-numeric:tabular-nums;
}
.db-kpi-foot{
  display:block; margin-top:8px;
  font-size:10.5px; color:var(--ink-3); min-height:14px;
}
.db-kpi-foot b{ color:var(--accent); font-weight:700; }
.db-kpi-foot i{ font-style:normal; color:var(--ink-3); margin-left:4px; }
.db-kpi:hover .db-kpi-ic{ opacity:1; color:var(--accent); }

/* 主体两列 */
.db-grid{
  display:grid;
  grid-template-columns:minmax(0,1.62fr) minmax(320px,.9fr);
  gap:20px; align-items:start;
}
.db-grid.is-lean{ grid-template-columns:minmax(0,1fr); }
.db-grid.is-lean .db-col-side{ display:none; }
.db-col{ min-width:0; display:flex; flex-direction:column; gap:16px; }
.db-panel{
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.db-panel-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:12px;
  padding:18px 20px 12px;
}
.db-panel-kicker{
  display:block; font-size:9px; font-weight:700; letter-spacing:.2em;
  text-transform:uppercase; color:var(--ink-3); margin-bottom:5px;
}
.db-panel-title{
  font-family:var(--serif); font-size:19px; font-weight:600; line-height:1.3;
}
.db-panel-meta{ font-size:11px; color:var(--ink-3); white-space:nowrap; }
.db-panel-foot{
  padding:11px 20px 14px; border-top:1px solid var(--line);
  font-size:10.5px; color:var(--ink-3);
}

/* 阶段漏斗：竖向列表 */
.db-funnel-list{ padding:4px 10px 8px; }
.db-funnel-row{
  width:100%; display:grid; grid-template-columns:78px minmax(0,1fr) 40px;
  align-items:center; gap:12px;
  padding:8px 10px; border-radius:9px;
  background:transparent; border:none; text-align:left;
  transition:background .16s;
}
.db-funnel-row:hover{ background:#f8f3e9; }
.db-funnel-name{
  display:flex; align-items:center; gap:7px;
  font-size:11.5px; font-weight:600; color:var(--ink-2);
}
.db-funnel-name i{ width:7px; height:7px; border-radius:2px; flex:none; }
.db-funnel-track{
  display:block; height:5px; border-radius:999px; background:#efe8dc; overflow:hidden;
}
.db-funnel-track i{
  display:block; height:100%; border-radius:999px;
  transition:width .6s cubic-bezier(.22,1,.36,1);
}
.db-funnel-num{
  font-family:var(--serif); font-size:15px; font-weight:600;
  text-align:right; font-variant-numeric:tabular-nums; color:var(--ink);
}

/* 今日安排：时间轴 */
.db-agenda{ padding:2px 18px 10px; }
.db-agenda-item{
  position:relative;
  display:flex; align-items:center; gap:12px;
  padding:11px 2px 11px 20px;
  border-bottom:1px dashed var(--line);
}
.db-agenda-item:last-child{ border-bottom:none; }
.db-agenda-item::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:1px; background:var(--line);
}
.db-agenda-dot{
  position:absolute; left:-3px; top:50%; transform:translateY(-50%);
  width:7px; height:7px; border-radius:50%;
  background:var(--accent); box-shadow:0 0 0 3px var(--bg-card);
}
.db-agenda-main{ flex:1; min-width:0; }
.db-agenda-name{
  font-family:var(--serif); font-size:15px; font-weight:600; color:var(--ink);
  line-height:1.4;
}
.db-agenda-sub{
  margin-top:3px; font-size:11.5px; color:var(--ink-3); line-height:1.55;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.db-agenda-acts{ display:flex; gap:6px; flex:none; }
.db-agenda-empty{
  padding:20px 2px 22px; text-align:center;
  font-size:12px; color:var(--ink-3); line-height:1.8;
}

/* 待办卡（tb-* 旧结构重绘） */
.tb-card{
  margin:0 0 16px;
  padding:18px 20px 14px;
  border-radius:18px;
  background:var(--bg-card);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  color:var(--ink);
}
.tb-card.tb-loading{
  background:var(--bg-card); color:var(--ink-3);
  border:1px solid var(--line); box-shadow:var(--shadow);
}
.tb-head{ margin-bottom:14px; }
.tb-head-ic{
  width:34px; height:34px; border-radius:10px;
  background:var(--accent-muted); color:var(--accent);
  display:flex; align-items:center; justify-content:center;
}
.tb-title{ font-family:var(--serif); font-size:20px; font-weight:600; letter-spacing:0; }
.tb-date{
  background:#f4eee3; color:var(--ink-3);
  font-family:var(--font); font-size:10px; font-weight:600;
  padding:2px 8px; letter-spacing:.04em;
}
.tb-quote{ color:var(--ink-3); font-size:11.5px; margin-top:4px; }
.tb-walk-btn{
  background:var(--ink); color:#f8f3e9;
  box-shadow:none; border-radius:999px;
  font-size:11.5px; padding:7px 13px;
}
.tb-walk-btn:hover{ background:var(--accent); box-shadow:0 6px 14px rgba(27,94,70,.2); transform:translateY(-1px); }
.tb-walk-btn svg{ color:currentColor; }

.tb-grid{ gap:8px; }
.tb-cell{
  background:#f8f3e9;
  border:1px solid var(--line);
  color:var(--ink);
  border-radius:11px;
  padding:10px 12px;
}
.tb-cell:hover{ background:#f2e9da; border-color:var(--line-strong); }
.tb-cell.zero{ opacity:.55; }
.tb-cell.on{ background:var(--accent); border-color:var(--accent); color:#f8f3e9; box-shadow:0 8px 18px rgba(27,94,70,.18); }
.tb-c-ic{ color:var(--ink-3); }
.tb-c-num{ font-family:var(--serif); font-size:24px; font-weight:600; }
.tb-c-label{ font-size:11.5px; }
.tb-c-sub{ color:var(--ink-3); }
.tb-cell.tb-danger{ background:#fbebe6; border-color:#ecc8bd; }
.tb-cell.tb-danger:hover{ background:#f7dfd7; }
.tb-cell.tb-danger .tb-c-ic{ color:var(--danger); }
.tb-cell.tb-warn{ background:#fbf1e1; border-color:#ecd9b8; }
.tb-cell.tb-warn .tb-c-ic{ color:var(--amber); }
.tb-cell.tb-info{ background:#f1f4f1; border-color:#d9e2dc; }
.tb-cell.tb-info .tb-c-ic{ color:var(--accent); }
.tb-cell.tb-amber{ background:#fbf4e6; border-color:#eadcbe; }
.tb-cell.tb-amber .tb-c-ic{ color:#9a6a20; }
.tb-cell.on .tb-c-label{ color:#f8f3e9; }
.tb-cell.on .tb-c-sub{ color:rgba(248,243,233,.7); }
.tb-cell.on .tb-c-ic,
.tb-cell.on .tb-c-num{ color:#f8f3e9; }

.tb-rows{ gap:6px; margin-top:12px; }
.tb-row{
  background:#fbf8f1;
  border:1px solid var(--line);
  border-radius:11px;
  padding:10px 12px;
}
.tb-row:hover{ background:#f8f3e9; box-shadow:none; transform:none; border-color:var(--line-strong); }
.tb-row-name{ font-family:var(--serif); font-size:14px; color:var(--ink); }
.tb-row-tags{ gap:4px; }
.tb-tag{ border-radius:4px; font-size:10px; }
.tb-tag-overdue{ background:var(--danger-muted); color:var(--danger); }
.tb-tag-today_due{ background:var(--amber-muted); color:#8a5714; }
.tb-tag-stage_due{ background:var(--accent-muted); color:var(--accent); }
.tb-tag-pending{ background:#f4ead6; color:#7d5a1c; }
.tb-row-sub{ color:var(--ink-3); }
.tb-more{ color:var(--ink-3); border-top:1px solid var(--line); }
.tb-empty-box{ background:#f8f3e9; color:var(--ink-2); border-radius:11px; }
.tb-empty-ic{ background:var(--accent-muted); color:var(--accent); }

/* 今日安排：使用新结构时优先；兼容旧 .sc-* */
.dash-schedule{ background:transparent; border:none; padding:0; box-shadow:none; }
.dash-schedule-head{
  font-family:var(--serif); font-size:18px; font-weight:600;
  padding:2px 2px 10px; color:var(--ink);
}
.dash-schedule-head svg{ color:var(--accent); }
.dash-schedule-head .sc-note{ font-family:var(--font); font-size:10.5px; color:var(--ink-3); }
.sc-list{ gap:0; }
.sc-item{
  background:transparent; border:none; border-bottom:1px dashed var(--line);
  border-radius:0; padding:11px 2px;
}
.sc-item:last-child{ border-bottom:none; }
.sc-dot{ width:6px; height:6px; background:var(--accent); }
.sc-name{ font-family:var(--serif); font-size:14.5px; }
.sc-sub{ color:var(--ink-3); }

/* ---------- 6. 学生档案列表 ---------- */
.st2-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:20px;
  padding:4px 2px 18px; margin-bottom:18px;
  border-bottom:1px solid var(--line-strong);
}
.st2-kicker{
  font-size:9.5px; font-weight:700; letter-spacing:.22em;
  text-transform:uppercase; color:var(--ink-3);
}
.st2-title{
  margin:8px 0 0;
  font-family:var(--serif); font-size:32px; font-weight:600; line-height:1.2;
}
.st2-sub{
  margin-top:8px; font-size:12px; color:var(--ink-3);
  display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px;
}
.st2-sub b{ color:var(--ink); font-weight:700; font-variant-numeric:tabular-nums; }
.st2-sub i{ font-style:normal; color:var(--line-strong); }
.st2-head-acts{ display:flex; gap:8px; flex:none; }

.st2-toolbar{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  margin-bottom:14px;
}
.st2-toolbar .search-box{
  flex:1; min-width:220px; max-width:520px;
}
.st2-toolbar .btn{ flex:none; }

.st2-tabs{
  border-bottom:1px solid var(--line);
  margin-bottom:16px; padding-bottom:0; gap:2px;
}
.st2-tabs .chip{
  position:relative;
  border:none; background:transparent; box-shadow:none;
  border-radius:0; padding:10px 12px 11px;
  color:var(--ink-3); font-size:12px;
}
.st2-tabs .chip:hover:not(.on){ background:transparent; color:var(--ink); }
.st2-tabs .chip.on{ background:transparent; color:var(--ink); box-shadow:none; }
.st2-tabs .chip.on::after{
  content:""; position:absolute; left:10px; right:10px; bottom:-1px;
  height:2px; background:var(--accent); border-radius:2px;
}
.st2-tabs .chip.on .tab-badge{ background:var(--accent-muted); color:var(--accent); }
.st2-tabs .chip .tab-badge{ background:#eee6d8; color:var(--ink-3); }

.stu-recent{ margin:-4px 0 14px; }
.stu-recent .sr-t{
  font-size:9.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--ink-3); margin-right:4px;
}
.st2-recent .sr-chip, .stu-recent .sr-chip{
  background:transparent; border:1px solid var(--line);
  border-radius:999px; padding:3px 10px; font-size:11px; color:var(--ink-2);
}
.st2-recent .sr-chip:hover, .stu-recent .sr-chip:hover{ border-color:var(--accent); color:var(--accent); }

/* 名单行 */
.stu-list{ display:flex; flex-direction:column; gap:10px; }
.stu-row.st2-row{
  display:grid;
  grid-template-columns:20px minmax(210px,250px) minmax(0,1fr) auto;
  align-items:center; gap:18px;
  padding:16px 18px;
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:none;
  overflow:visible;
  transition:border-color .18s, box-shadow .18s, transform .18s;
}
.stu-row.st2-row::before{ display:none; }
.stu-row.st2-row:hover{
  border-color:var(--line-strong);
  box-shadow:0 14px 32px rgba(66,50,28,.08);
  transform:translateY(-2px);
}
.stu-row.st2-row.is-pending{ background:#fffaf0; border-color:#ead9b6; }
.stu-row.st2-row.is-pending:hover{ border-color:#d9bd84; }
.stu-row.st2-row.is-overdue{ border-left:3px solid var(--danger); padding-left:16px; }
.stu-row.st2-row.is-today{ border-left:3px solid var(--amber); padding-left:16px; }

.st2-cb{ align-self:center; }
.st2-row .stu-cb{
  width:18px; height:18px; border-radius:5px;
  border:1.5px solid var(--line-strong); background:transparent;
}
.st2-row .stu-cb.on{ background:var(--accent); border-color:var(--accent); color:#fff; }

.st2-ident{ display:flex; align-items:center; gap:12px; min-width:0; }
.st2-ava{
  flex:none; width:46px; height:46px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background:#f0e7d7; color:#6d5a3a;
  font-family:var(--serif); font-size:19px; font-weight:600;
  overflow:hidden;
}
.st2-ava img{ width:100%; height:100%; object-fit:cover; display:block; }
.st2-row.is-pending .st2-ava{ background:#f8e9c9; color:#8a5f14; }
.st2-idbox{ min-width:0; }
.st2-name{
  display:flex; align-items:center; flex-wrap:wrap; gap:6px;
  font-family:var(--serif); font-size:17px; font-weight:600; line-height:1.35;
  color:var(--ink);
}
.st2-name .m-pill, .st2-name .m-tag{ font-family:var(--font); }
.st2-meta{
  display:flex; align-items:center; flex-wrap:wrap; gap:4px 8px;
  margin-top:5px; font-size:10.5px; color:#6f6659;
}
.st2-meta .m-tag{ font-size:10px; padding:1px 7px; }
.st2-meta .sr3-wait{ display:inline-flex; align-items:center; gap:3px; }
.st2-meta .sr3-wait.danger{ color:var(--danger); font-weight:600; }
.st2-meta .sr3-wait.warn{ color:var(--amber); font-weight:600; }

.st2-brief{ min-width:0; }
.st2-prof{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px;
}
.st2-pcell{ min-width:0; }
.st2-pcell em{
  display:block; font-style:normal; font-size:9px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; color:var(--ink-3);
}
.st2-pcell b{
  display:block; margin-top:3px; font-size:12.5px; font-weight:600; color:var(--ink-2);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.st2-prof.is-empty{
  display:flex; align-items:center; gap:6px;
  font-size:11.5px; color:var(--ink-3);
  padding:7px 10px; background:#f9f4ea; border-radius:8px;
}
.st2-talk{
  display:flex; align-items:center; gap:7px;
  margin-top:9px; font-size:11.5px; color:var(--ink-2);
  min-width:0;
}
.st2-talk svg{ color:var(--ink-3); flex:none; }
.st2-talk .st2-talk-txt{
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.st2-talk .st2-talk-time{ margin-left:auto; flex:none; font-size:10px; color:var(--ink-3); }
.st2-talk.is-empty{ color:var(--ink-3); }
.st2-next{
  margin-top:4px; display:flex; align-items:center; gap:5px;
  font-size:10.5px; color:var(--accent); min-width:0;
}
.st2-next span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.st2-side{
  display:flex; flex-direction:column; align-items:flex-end; gap:8px;
  flex:none;
}
.st2-schedule{
  display:inline-flex; align-items:center; gap:5px;
  padding:4px 9px; border-radius:6px;
  background:#f4eee3; color:var(--ink-2);
  font-size:10.5px; font-weight:600; white-space:nowrap;
}
.st2-schedule b{ font-weight:700; font-variant-numeric:tabular-nums; }
.st2-schedule em{
  font-style:normal; font-size:9.5px; color:var(--ink-3); margin-left:2px;
}
.st2-schedule.is-danger{ background:var(--danger-muted); color:var(--danger); }
.st2-schedule.is-danger em{ color:var(--danger); opacity:.8; }
.st2-schedule.is-today{ background:var(--amber-muted); color:#8a5714; }
.st2-schedule.is-today em{ color:#8a5714; opacity:.8; }
.st2-schedule.is-new{ background:var(--accent-muted); color:var(--accent); }
/* 新版名单行：抵消旧卡片 `.stu-quick` 的通栏宽度/负边距，否则移动端操作按钮会溢出到屏幕外 */
.st2-row .stu-quick{ width:auto; margin:0; padding:0; border-top:0; background:none; border-radius:0; }
.st2-actions{ display:flex; align-items:center; gap:6px; }
.st2-actions .stu-star{
  width:30px; height:30px; border-radius:8px;
  color:var(--ink-3); display:flex; align-items:center; justify-content:center;
}
.st2-actions .stu-star:hover{ background:#f4eee3; color:var(--amber); }
.st2-actions .stu-star.on{ color:var(--amber); }
.st2-actions .stu-quick-btn{
  width:30px; height:30px; border-radius:8px;
  border:1px solid var(--line); background:var(--bg-card);
  color:var(--ink-2);
  display:inline-flex; align-items:center; justify-content:center;
}
.st2-actions .stu-quick-btn:hover{ border-color:var(--accent); color:var(--accent); }
.st2-actions .btn.sm{
  height:30px; padding:0 11px; font-size:11.5px;
  background:var(--bg-card); color:var(--ink-2); border:1px solid var(--line);
  box-shadow:none;
}
.st2-actions .btn.sm:hover{ border-color:var(--accent); color:var(--accent); background:var(--accent-muted); }

@media (max-width:1023px){
  .st2-head{ align-items:flex-start; flex-direction:column; gap:14px; padding-bottom:14px; }
  .st2-title{ font-size:27px; }
  .st2-head-acts{ width:100%; }
  .st2-head-acts .btn{ flex:1; }
  .st2-toolbar .search-box{ max-width:none; }
  .stu-row.st2-row{
    grid-template-columns:18px minmax(0,1fr);
    gap:10px 12px;
    padding:14px;
    align-items:start;
  }
  .st2-ident{ grid-column:2; }
  .st2-brief{ grid-column:2; }
  .st2-side{
    grid-column:2; flex-direction:row; align-items:center; justify-content:space-between;
    width:100%; padding-top:10px; border-top:1px dashed var(--line);
    flex-wrap:wrap; gap:8px;
  }
  .st2-side .st2-actions{ margin-left:auto; }
  .st2-prof{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 10px; }
  .st2-actions{ flex-wrap:wrap; justify-content:flex-end; }
  .st2-cb{ grid-row:1; margin-top:14px; }
  .st2-talk{ flex-wrap:wrap; }
  .st2-talk .st2-talk-time{ margin-left:0; }
  .db-kpis{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .db-kpi:nth-child(2){ border-right:none; }
  .db-kpi:nth-child(-n+2){ border-bottom:1px solid var(--line); }
  .db-grid{ grid-template-columns:minmax(0,1fr); }
}

/* ---------- 7. 学生档案详情 ---------- */
.stu-v2{ font-size:13px; }
.stu-v2 .n-card{
  background:var(--bg-card);
  border-color:var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.stu-v2 .sd-top{
  padding:2px 2px 14px;
  border-bottom:1px solid var(--line);
  margin-bottom:16px;
}
.stu-v2 .sd-back{ color:var(--ink-3); font-size:11.5px; }
.stu-v2 .sd-back:hover{ color:var(--accent); }
.stu-v2 .sd-crumb{ font-size:11.5px; color:var(--ink-3); }
.stu-v2 .sd-crumb i{ color:var(--line-strong); }
.stu-v2 .sd-rc{ background:transparent; border-color:var(--line); }
.stu-v2 .sd-rc.on{ background:var(--accent-muted); border-color:#bcd6c8; color:var(--accent); }

.stu-v2 .sd-anchors{
  background:rgba(243,238,228,.9);
  border-bottom:1px solid var(--line);
  padding:9px 2px;
}
.stu-v2 .sd-anchor{
  background:transparent; border-color:transparent;
  color:var(--ink-3); font-size:12px;
  padding:6px 13px;
}
.stu-v2 .sd-anchor:hover{ background:#f4eee3; color:var(--ink); border-color:transparent; }
.stu-v2 .sd-anchor.on{
  background:var(--ink); border-color:var(--ink); color:#f8f3e9;
  box-shadow:0 3px 10px rgba(33,29,24,.18);
}

.stu-v2 .sd-hero{
  padding:22px 24px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(27,94,70,.07), transparent 56%),
    linear-gradient(128deg,#fbf7ef 0%,#f5ecdf 100%);
  border:1px solid var(--line);
  border-radius:20px;
  position:relative;
  overflow:hidden;
}
.stu-v2 .sd-hero::after{
  content:""; position:absolute; right:-50px; top:-80px;
  width:220px; height:220px; border-radius:50%;
  border:1px solid rgba(27,94,70,.09); pointer-events:none;
}
.stu-v2 .sd-name{ font-family:var(--serif); font-size:26px; font-weight:600; }
.stu-v2 .st-avatar{
  background:#e9f0e9; color:var(--accent);
  font-family:var(--serif);
}
.stu-v2 .st-ava-box .st-avatar,
.stu-v2 .st-ava-img{
  border-radius:16px;
}
.stu-v2 .st-meta{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-top:16px;
}
.stu-v2 .st-meta-item{
  display:inline-flex; align-items:center; gap:5px;
  padding:5px 10px; border-radius:7px;
  background:rgba(255,253,249,.7);
  border:1px solid rgba(228,219,204,.9);
  font-size:11px; color:var(--ink-2);
}
.stu-v2 .st-meta-item span{ color:var(--ink-3); }
.stu-v2 .st-meta-item b{ color:var(--ink); font-weight:600; }
.stu-v2 .st-tags{ border-top:1px dashed var(--line); }
.stu-v2 .n-btn.pri{ background:var(--accent); }
.stu-v2 .n-btn.pri:hover{ background:#17503b; }
.stu-v2 .n-btn.gh{ background:var(--bg-card); }
.stu-v2 .n-pill{ background:#f0e9dc; color:#5c5346; }
.stu-v2 .n-pill.brand{ background:var(--accent-muted); color:var(--accent); }

.stu-v2 .sd-layout{ counter-reset:sdsec; gap:18px; }
.stu-v2 .sd-sec{ counter-increment:sdsec; }
.stu-v2 .sd-sec-t{ margin:4px 2px 11px; }
.stu-v2 .sd-sec-t::before{
  content:counter(sdsec,decimal-leading-zero);
  font-family:var(--serif); font-size:11px; font-weight:600;
  letter-spacing:.06em; color:var(--ink-3);
  padding-right:2px;
}
.stu-v2 .sd-sec-tt{
  font-family:var(--serif); font-size:19px; font-weight:600;
  letter-spacing:.01em;
}
.stu-v2 .sd-count{ background:#efe7d9; color:#6b6154; }
.stu-v2 .sd-sub-t{ color:var(--ink-3); letter-spacing:.04em; }

.stu-v2 .sd-rail-card{ padding:16px 16px; }
@media (min-width:1024px){
  .stu-v2 .sd-rail-btns{ display:grid; grid-template-columns:1fr 1fr; gap:6px; }
  .stu-v2 .sd-rail-btns .n-btn{ font-size:11.5px; padding:7px 8px; }
}
.stu-v2 .sd-rail-t{
  font-family:var(--serif); font-size:15px; font-weight:600;
  padding-bottom:8px; border-bottom:1px solid var(--line);
}
.stu-v2 .sd-kv{ border-bottom-color:#efe8dc; }
.stu-v2 .sd-kv b{ font-weight:600; }
.stu-v2 .sd-contact{ background:#f8f3e9; border-radius:8px; }
.stu-v2 .sd-stage-suggest{
  background:var(--accent-muted); color:var(--accent);
  border-radius:9px; line-height:1.6;
}
.stu-v2 .sd-sec .card{
  background:var(--bg-card);
}

/* 详情页身份卡上方的一句式档案导语 */
.st2-hero-kicker{
  font-size:9px; font-weight:700; letter-spacing:.2em;
  text-transform:uppercase; color:var(--ink-3);
  margin-bottom:10px;
}
.st2-hero-stats{
  display:flex; flex-wrap:wrap; gap:0;
  margin-top:16px; padding-top:14px;
  border-top:1px solid rgba(209,196,176,.6);
}
.st2-hero-stat{
  flex:1; min-width:100px;
  padding:0 16px; border-left:1px solid var(--line);
}
.st2-hero-stat:first-child{ padding-left:0; border-left:none; }
.st2-hero-stat b{
  display:block; font-family:var(--serif); font-size:22px; font-weight:600;
  line-height:1.1; color:var(--ink);
}
.st2-hero-stat span{
  display:block; margin-top:4px; font-size:10px;
  letter-spacing:.08em; color:var(--ink-3);
}

/* ---------- 8. 登录页 ---------- */
.login-page{
  background:
    radial-gradient(80% 90% at 12% 10%, rgba(217,179,130,.14), transparent 55%),
    radial-gradient(70% 80% at 88% 90%, rgba(47,125,97,.26), transparent 58%),
    linear-gradient(158deg,#0c2019 0%,#132e24 52%,#1b4636 100%);
}
.login-stars span{ background:rgba(240,226,198,.55); }
.login-content{ max-width:420px; }
.login-logo{
  width:64px; height:64px; border-radius:18px;
  background:#f3eee4; color:#14382b;
  border:none;
  box-shadow:0 14px 36px rgba(0,0,0,.3);
}
.login-title{
  font-family:var(--serif); font-size:30px; font-weight:600;
  letter-spacing:.02em; color:#f7f1e5;
}
.login-desc{
  color:rgba(247,241,229,.5);
  letter-spacing:.24em; text-transform:uppercase; font-size:9.5px;
  margin-top:8px;
}
.login-card{
  background:#fbf7ef;
  border:1px solid rgba(255,255,255,.35);
  border-radius:18px;
  padding:24px 22px;
  box-shadow:0 30px 70px rgba(0,0,0,.38);
}
.login-modes{
  background:#efe7d9; border-radius:10px; padding:3px;
}
.login-mode-btn{
  border-radius:8px; font-size:12px; font-weight:600; color:var(--ink-3);
}
.login-mode-btn.active{
  background:var(--bg-card); color:var(--ink);
  box-shadow:0 1px 3px rgba(66,50,28,.12);
}
.login-card label{ font-size:11px; font-weight:600; color:var(--ink-2); letter-spacing:.03em; }
.login-card input{
  background:#fffdf9; border-color:var(--line);
}
.login-btn{
  background:var(--accent); border-radius:10px;
  font-weight:600; letter-spacing:.14em;
}
.login-btn:hover{ background:#17503b; }
.login-link{ color:var(--ink-3); }
.login-divider{ color:var(--ink-3); }
.login-divider::before, .login-divider::after{ background:var(--line); }
.login-foot{ color:rgba(247,241,229,.42); letter-spacing:.06em; }
.login-error{ color:var(--danger); }
.pwd-toggle{ color:var(--ink-3); }

/* ---------- 9. 细节与无障碍 ---------- */
.hl{ background:rgba(217,179,130,.42); color:inherit; border-radius:3px; padding:0 2px; }
.progress-track{ background:#eee6d8; }
.progress-fill{ background:linear-gradient(90deg,var(--accent),var(--accent-2)); }
.status-dot.online{ background:var(--accent); }

/* 名单容器：覆盖旧 sr3 列表的 block 布局 */
.stu-list.sr3-list{ display:flex; flex-direction:column; gap:10px; }
.stu-list .st2-row{ margin-bottom:0; }
.stu-list .st2-row .stu-cb{ visibility:hidden; pointer-events:none; }
.stu-list.is-batch .st2-row .stu-cb{ visibility:visible; pointer-events:auto; }

/* 工作台问候区按钮：移动端也保留主行动入口 */
#dashAdd{ display:inline-flex !important; }

.db-kpi-label{ display:flex; align-items:center; gap:7px; }
.db-kpi-dot{ width:6px; height:6px; border-radius:50%; display:inline-block; flex:none; }

/* 右栏快捷入口 */
.db-quick{
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.db-quick .db-panel-head{ padding-bottom:6px; }
.db-quick-list{ padding:0 10px 12px; }
.db-quick-list button{
  width:100%; display:flex; align-items:center; gap:10px;
  padding:10px 10px; border-radius:9px;
  background:transparent; border:none; text-align:left;
  color:var(--ink-2); font-size:12.5px; font-weight:500;
  transition:background .16s, color .16s;
}
.db-quick-list button:hover{ background:#f8f3e9; color:var(--ink); }
.db-quick-list button svg{ color:var(--ink-3); flex:none; }
.db-quick-list button span{ flex:1; }
.db-quick-list button b{ color:var(--ink-3); font-weight:400; font-size:14px; }

@media (max-width:1023px){
  .db-masthead{ flex-direction:column; padding:22px 20px; gap:16px; }
  .db-greet{ font-size:26px; }
  .db-dateblock{
    flex-direction:row; align-items:baseline; justify-content:flex-start; gap:10px;
    padding:0; border-left:none; text-align:left;
  }
  .db-date-d{ font-size:34px; }
  .db-date-m{ margin-top:0; }
  .db-mast-actions{ margin-top:14px; }
  .db-mast-actions .btn{ flex:1; }
  .db-kpi{ padding:14px 14px 15px; }
  .db-kpi-num{ font-size:34px; }
  .db-funnel-row{ grid-template-columns:66px minmax(0,1fr) 32px; gap:8px; }
  .db-panel-head{ padding:16px 16px 10px; }
  .db-agenda{ padding:0 14px 8px; }
  .db-agenda-acts .btn span{ display:none; }
  .tb-card{ padding:16px 14px 12px; }
  .tb-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tb-walk-btn{ display:none; }
  .tb-row-acts{ flex-wrap:wrap; justify-content:flex-end; }
}

/* 新名单行：桌面端为栅格，移动端在 6 节已降为两列 */
.st2-intent{ display:inline-flex; align-items:center; }
.st2-name .m-pill{ font-family:var(--font); font-size:10px; padding:2px 7px; }
.st2-name .stu-no{ font-family:var(--font); }

/* ---------- 10. 其它页面的旧品牌色收口 ---------- */
.bd-hero{
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(217,179,130,.18), transparent 55%),
    linear-gradient(135deg,#122a21 0%,#1b4636 62%,#2f7d61 100%);
}
.acq-hero{
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(217,179,130,.16), transparent 55%),
    linear-gradient(135deg,#14261f 0%,#1b3a2e 100%);
  border:1px solid rgba(255,255,255,.08);
}
.acq-hero-ic{ background:rgba(243,238,228,.14); border:1px solid rgba(243,238,228,.18); }
.acq-hero-name{ font-family:var(--serif); font-weight:600; }
.acq-hero-code{ color:#e6c68c; }
.acq-link-txt{ background:#f8f3e9; border-color:var(--line); }
.acq-mod-tip{ background:var(--accent-muted); border-color:#cfe0d5; border-left-color:var(--accent); color:var(--ink-2); }
.hw-tab.on, .hws.on{ background:linear-gradient(135deg,#1b5e46,#2f7d61); }
.sub-up-card, .sub-hero{
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(217,179,130,.16), transparent 55%),
    linear-gradient(135deg,#14261f,#1b3a2e);
}
.tb-w-progress > i::after{ background:linear-gradient(90deg,#1b5e46,#2f7d61); }
.wcd-bar-fill{ background:linear-gradient(90deg,#2f7d61,#1b5e46 55%,#2f7d61); }
.ava-preview{ background:linear-gradient(135deg,#2f7d61,#1b5e46); }
.sub-plan-opt.sel{ border-color:var(--accent); background:var(--accent-muted); }
.sub-plan-price{ color:var(--accent); }

@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}
