:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #0f1320;
  --ink-2: #4d5566;
  --line: #e6eaf0;
  /* 主视觉统一：与主站 portal 同一套品牌色 */
  --accent: #5b6cff;
  --accent-2: #8b5cf6;
  --accent-dark: #3a4fe0;
  --grad: linear-gradient(120deg, #5b6cff 0%, #8b5cf6 100%);
  --green: #2f9e44;
  --yellow: #f08c00;
  --red: #e8590c;
  --grey: #adb5bd;
  --soft: #eef1ff;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(20,30,50,.06), 0 6px 20px rgba(20,30,50,.05);
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.btn {
  display: inline-flex; align-items: center; gap: 6px; border: none; border-radius: 10px;
  padding: 9px 16px; font-size: 13px; font-weight: 600; background: var(--grad); color: #fff;
  transition: .15s; box-shadow: 0 2px 8px rgba(91,108,255,.35);
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: #fff; color: var(--accent); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { background: var(--soft); }
.btn.sm { padding: 6px 12px; font-size: 12px; }
.btn.green { background: var(--green); }
.btn.grey { background: var(--grey); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* top nav */
.topbar {
  display: flex; align-items: center; gap: 18px; padding: 0 22px; height: 58px;
  background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
}
.brand { font-weight: 800; font-size: 16px; letter-spacing: .3px; display: flex; align-items: center; gap: 9px; }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--soft); }
.brand-logo { width: 28px; height: 28px; display: block; }
.nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.nav a { padding: 7px 12px; border-radius: 9px; color: var(--ink-2); font-weight: 600; font-size: 13px; }
.nav a:hover { background: var(--soft); color: var(--accent); }
.nav a.active { background: var(--grad); color: #fff; }

/* 教师端下拉导航：顶栏只留一个按钮，点开选页 */
.nav-drop { position: relative; flex-wrap: nowrap; }
.nav-drop-btn { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 9px;
  padding: 7px 14px; font-size: 13px; font-weight: 700; cursor: pointer; display: inline-flex;
  align-items: center; gap: 6px; }
.nav-drop-btn:hover { border-color: var(--accent); color: var(--accent); }
.nav-caret { font-size: 10px; color: var(--ink-2); }
.nav-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 6px; min-width: 150px; flex-direction: column; }
.nav-menu.open { display: flex; }
.nav-menu a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: 13px;
  white-space: nowrap; }
.nav-menu a:hover { background: var(--soft); color: var(--accent); }
.nav-menu a.active { background: var(--grad); color: #fff; }
.userbox { display: flex; align-items: center; gap: 10px; }
.badge { font-size: 11px; padding: 2px 9px; border-radius: 999px; font-weight: 700; }
.badge.coach { background: #fff0e6; color: #d9480f; }
.badge.assist { background: #e6fcf5; color: #0ca678; }
.badge.stu { background: var(--soft); color: var(--accent); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }
.userbox { position: relative; cursor: pointer; }
.user-menu { display: none; position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 6px; min-width: 132px; flex-direction: column; }
.user-menu.open { display: flex; }
.user-menu-item { border: none; background: none; text-align: left; padding: 9px 12px; border-radius: 8px;
  color: var(--ink-2); font-weight: 600; font-size: 13px; cursor: pointer; width: 100%; }
.user-menu-item:hover { background: var(--soft); color: var(--accent); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 22px; }
.muted { color: var(--ink-2); }
.tiny { font-size: 12px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 12px; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .cols-2,.cols-3 { grid-template-columns: 1fr; } }

/* progress */
.prog-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.prog-theme { font-size: 20px; font-weight: 800; }
.prog-stage { font-size: 13px; color: var(--accent); font-weight: 700; }
.bar { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; margin: 12px 0 6px; }
.bar > i { display: block; height: 100%; background: var(--grad); }
.steps { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.step { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--accent); font-weight: 600; }
.step.cur { background: var(--accent); color: #fff; }
.step.done { background: #d3f9d8; color: var(--green); }

/* task list */
.task-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; cursor: pointer; transition: .15s; }
.task-row:hover { border-color: var(--accent-2); box-shadow: var(--shadow); }
.task-row .t-title { font-weight: 700; flex: 1; }
.dot-s { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-s.green { background: var(--green); }
.dot-s.yellow { background: var(--yellow); }
.dot-s.grey { background: var(--grey); }

/* metrics */
.metric { text-align: center; }
.metric .n { font-size: 26px; font-weight: 800; color: var(--accent); }
.metric .l { font-size: 12px; color: var(--ink-2); }

/* forms */
label.fld { display: block; margin: 12px 0; }
label.fld > span { display: block; font-weight: 600; margin-bottom: 5px; font-size: 13px; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14px;
  font-family: inherit; color: var(--ink); background: #fff;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--soft); border-color: var(--accent-2); }

/* pills */
.pill { display: inline-flex; gap: 6px; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--accent); }
.pill.green { background: #d3f9d8; color: var(--green); }
.pill.yellow { background: #fff3bf; color: var(--yellow); }
.pill.grey { background: #f1f3f5; color: var(--ink-2); }

/* table */
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tbl th, table.tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.tbl th { color: var(--ink-2); font-weight: 700; background: #fafbfd; }
table.tbl tr:hover td { background: #fafbff; }

/* modal */
.overlay { position: fixed; inset: 0; background: rgba(20,30,50,.45); display: none; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
.overlay.show { display: flex; }
.modal { background: #fff; border-radius: 16px; padding: 22px; width: 100%; max-width: 560px; max-height: 86vh; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal h3 { margin-top: 0; }

/* login */
.login { max-width: 460px; margin: 12vh auto; text-align: center; }
.login .card { padding: 34px; }
.login-card { border-top: 3px solid transparent; background:
  linear-gradient(#fff, #fff) padding-box,
  var(--grad) border-box; border: 1px solid rgba(91,108,255,.25); }
.login-brand { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 18px; font-weight: 800; }
.login-brand img { width: 34px; height: 34px; }
.login-tabs { display:flex; gap:4px; background:var(--line); border-radius:10px; padding:3px; margin-bottom:14px; }
.ltab { flex:1; border:none; background:transparent; padding:8px 0; font-size:13px; font-weight:700; color:var(--ink-2); border-radius:8px; transition:.15s; }
.ltab.active { background:#fff; color:var(--accent); box-shadow:0 1px 4px rgba(20,30,50,.12); }
.login-err { color: var(--red); min-height:18px; margin-bottom:6px; }
.stu-name { cursor:pointer; border-bottom:1px dashed var(--grey); }
.stu-name:hover { color:var(--accent); border-bottom-color:var(--accent); }

/* AI 现状 V2：时间线 + 状态卡 */
.st-timeline { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.st-t { font-size:11.5px; font-weight:800; border-radius:999px; padding:3px 10px; background:var(--line); color:var(--ink-2); }
.st-t.done { background:#d3f9d8; color:var(--green); }
.st-t.cur { background:var(--grad); color:#fff; }
.st-arrow { color:var(--grey); font-size:11px; }
.st-dim { margin:14px 0; }
.st-dim-head { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:5px; }
.st-dim-head b { font-size:13.5px; }
.st-lvl { font-weight:800; color:var(--accent); }
.st-bar { height:9px; background:var(--line); border-radius:999px; overflow:hidden; }
.st-bar > i { display:block; height:100%; background:var(--grad); border-radius:999px; }
.st-label { font-size:12px; font-weight:700; margin-top:4px; }
.st-ev { font-size:11.5px; color:var(--ink-2); margin-top:2px; }
.st-next { font-size:12px; margin-top:6px; background:var(--soft); border-radius:8px; padding:6px 10px; }
.st-rec { border:1.5px solid var(--accent-2); margin-top:16px; }

/* AI 逐字段引导语 */
.st-guide {
  font-size:11.5px; color:var(--accent-dark); background:var(--soft);
  border-left:3px solid var(--accent-2); border-radius:0 8px 8px 0;
  padding:5px 9px; margin-bottom:5px; line-height:1.5;
}
.st-wait { color:var(--accent); font-weight:700; margin-top:8px; animation:stPulse 1.2s ease-in-out infinite; }
.st-warn { background:#fff7e6; border:1px solid #f0c36d; color:#8a5a00; border-radius:10px; padding:10px 12px; margin-top:12px; font-size:13px; line-height:1.6; }
@keyframes stPulse { 0%,100%{opacity:.55} 50%{opacity:1} }
.st-anchor { background:#f8f9ff; border:1px solid #e3e7f8; border-left:3px solid var(--accent); border-radius:10px; padding:12px 14px; margin-bottom:14px; }
.st-anchor-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.st-anchor-row { display:flex; gap:10px; font-size:13px; margin-top:4px; line-height:1.6; }
.st-anchor-row .mlabel { flex:0 0 62px; color:#6b7280; font-size:12px; padding-top:1px; }
/* ---- 右栏 AI 机会区块 ---- */
.opp-sum { margin-bottom:8px; }
.opp-row { border:1px solid var(--line); border-radius:10px; padding:9px 12px; margin-bottom:8px; background:#fff; cursor:pointer; transition:.15s; }
.opp-row:hover { border-color:var(--accent-2); box-shadow:var(--shadow); }
.opp-row.used { opacity:.72; background:#f8fafc; }
.opp-row-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.opp-row-head b { font-size:13px; }
.opp-badge { font-size:11px; font-weight:800; border-radius:999px; padding:2px 9px; white-space:nowrap; }
.opp-badge.go   { background:#e8f7ee; color:#1a7f4b; }
.opp-badge.try  { background:#fff4e0; color:#9a6200; }
.opp-badge.hold { background:#eef0f3; color:#6b7280; }
.opp-steps { font-size:13px; line-height:1.8; background:#f8f9ff; border-radius:8px; padding:8px 12px; }
.opp-emp { background:#f0f7ff; border:1px solid #d6e4f7; border-radius:8px; padding:8px 12px; margin-top:8px; }
.opp-emp-head { display:flex; align-items:center; gap:8px; margin-bottom:4px; }
.opp-emp-head b { font-size:13px; }




.section-title { font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 0 0 10px; text-transform: none; letter-spacing: .3px; }
.stage-flow { display:flex; gap:14px; flex-wrap:wrap; }
.flow-node { background: var(--soft); border-radius: 12px; padding: 12px 14px; min-width: 120px; }
.flow-node b { display:block; font-size:13px; }
.flow-node span { font-size: 12px; color: var(--ink-2); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #1f2733; color:#fff; padding: 10px 18px; border-radius: 10px; font-size: 13px; opacity: 0; transition: .25s; z-index: 99; }
.toast.show { opacity: 1; }
.empty { color: var(--ink-2); font-size: 13px; padding: 14px; text-align: center; border: 1px dashed var(--line); border-radius: 12px; }
.kv { display:flex; gap:8px; flex-wrap:wrap; }
.verdict-green { color: var(--green); font-weight:700; }
.verdict-yellow { color: var(--yellow); font-weight:700; }
.verdict-grey { color: var(--ink-2); font-weight:700; }

/* ============ 学员端：左中右三栏工作台 ============ */
.wb3 {
  display: grid; grid-template-columns: 250px minmax(0,1fr) 320px; gap: 18px;
  max-width: 1400px; margin: 0 auto; padding: 20px 22px 40px; align-items: start;
}
@media (max-width: 1100px) { .wb3 { grid-template-columns: 1fr; } }

.wb-col { min-width: 0; }
.col-head { display:flex; align-items:center; gap:8px; margin: 2px 0 12px; flex-wrap:wrap; }
.col-tag {
  font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--ink-2);
  background: var(--line); border-radius: 6px; padding: 2px 8px; text-transform: uppercase;
}
.col-title { font-size: 15px; font-weight: 800; }

/* 左栏：我的 AI 训练路径 */
.path-title { font-size: 15.5px; }
.path-card { padding: 14px; }
.path-day {
  display:flex; align-items:baseline; gap:8px; font-weight:800; font-size:13.5px; color:var(--accent-dark);
  margin: 4px 0 6px;
}
.path-day-sub { font-size:11px; font-weight:600; color:var(--ink-2); }
.path-sess {
  font-size:11px; font-weight:800; color:var(--ink-2); background:var(--line);
  display:inline-block; border-radius:6px; padding:1px 8px; margin: 8px 0 6px;
}
.path-item { display:flex; gap:9px; align-items:flex-start; padding:7px 0; }
.path-ico { flex:none; font-size:12px; line-height:1.9; color:var(--grey); }
.path-ico.done { color: var(--green); }
.path-ico.doing { color: var(--accent); }
.path-body { flex:1; min-width:0; }
.path-line1 { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.path-line1 b { font-size:13px; }
.path-no { color: var(--ink-2); font-weight:800; }
.path-desc { font-size:11.5px; color:var(--ink-2); margin-top:1px; }
.path-item.doing .path-line1 > b:not(.path-no) { color: var(--accent-dark); }
.path-item.doing { background: var(--soft); border-radius: 10px; padding: 7px 8px; margin: 0 -8px; }
.path-tag {
  font-size:10px; font-weight:800; border-radius:999px; padding:1px 8px; flex:none;
}
.path-tag.done { background:#d3f9d8; color:var(--green); }
.path-tag.doing { background:var(--grad); color:#fff; }
.path-divider { height:1px; background:var(--line); margin:12px -14px; }

/* 左栏公共区 */
.notice-card { padding: 12px 14px; }
.notice-item { display:flex; gap:9px; align-items:flex-start; padding:7px 0; border-bottom:1px dashed var(--line); }
.notice-item:last-of-type { border-bottom:none; }
.notice-item b { display:block; font-size:12.5px; }
.notice-item .tiny { display:block; margin-top:1px; word-break:break-all; }
.notice-ico { flex:none; font-size:14px; line-height:1.5; }

/* 中栏：课程 */
.stage-banner {
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px 14px; margin-bottom:12px;
}
.ann-card { margin-bottom: 12px; }
.ann-head { font-size:12px; font-weight:800; color:var(--accent); margin-bottom:6px; }
.ann-title { font-weight:800; font-size:15px; margin-bottom:4px; }

/* 中栏：今日任务/现场信息/问题停车场 切换标签 */
.midtabs { display:flex; gap:4px; background:var(--line); border-radius:10px; padding:3px; margin-bottom:12px; }
.midtab { flex:1; border:none; background:transparent; padding:8px 0; font-size:13px; font-weight:700; color:var(--ink-2); border-radius:8px; transition:.15s; }
.midtab:hover { color:var(--accent); }
.midtab.active { background:#fff; color:var(--accent); box-shadow:0 1px 4px rgba(20,30,50,.12); }

/* 任务工作区（内嵌） */
.work-card { border-top: 3px solid transparent; background:
  linear-gradient(var(--panel), var(--panel)) padding-box,
  linear-gradient(120deg, rgba(91,108,255,.9), rgba(139,92,246,.35)) border-box;
  border: 1px solid var(--line); }
.work-head { font-weight:800; font-size:15px; margin-bottom:8px; display:flex; align-items:center; gap:8px; }
.work-tag {
  font-size:11px; font-weight:800; color:#fff; background:var(--grad); border-radius:6px; padding:2px 8px;
}
.work-picker { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:6px; }
.work-picker .task-pick { width:auto; min-width:200px; padding:7px 10px; font-size:13px; }
.work-guide { margin-bottom:10px; }
.sub-title { font-size:13px; font-weight:800; color:var(--ink-2); margin:0 0 8px; }

/* 顶栏进度（DAY + 进度条） */
.topbar-prog { display:flex; align-items:center; gap:10px; flex:1; min-width:0; }
.day-pill {
  font-size:12px; font-weight:800; color:#fff; background:var(--grad);
  border-radius:999px; padding:3px 12px; flex:none;
}
.topbar-bar {
  flex:1; max-width:320px; height:8px; background:var(--line); border-radius:999px; overflow:hidden;
}
.topbar-bar > i { display:block; height:100%; background: var(--grad); }

/* 右栏：我的 */
.mine-card { margin-bottom: 12px; }
.mine-head { font-size:13px; font-weight:800; margin-bottom:10px; }
.task-row.sel { border-color: var(--accent); box-shadow: 0 0 0 2px var(--soft); }
.mine-status .mrow {
  display:flex; gap:8px; font-size:12.5px; margin:5px 0; line-height:1.5;
}
.mine-status .mlabel { flex:none; width:88px; color:var(--ink-2); }
.mine-status .mrow > span:last-child { flex:1; min-width:0; word-break:break-all; }

/* 任务卡弹层（讲师成果墙等仍用弹层） */
.modal { max-width:640px; }
.modal-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }

/* ============ 单选 / 多选选项组件（替代 .pill+input） ============ */
.opt-row { display: flex; gap: 8px; flex-wrap: wrap; }
.opt {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  white-space: nowrap; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 11px;
  background: #fff; font-size: 13px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; user-select: none; transition: .12s;
}
.opt:hover { border-color: var(--accent-2); color: var(--accent-dark); }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt::before {
  content: ""; width: 16px; height: 16px; flex: none; border: 1.5px solid var(--grey);
  border-radius: 50%; background: #fff; transition: .12s;
}
.opt.cbx::before { border-radius: 5px; }
/* 选中态：现代浏览器支持 :has() */
.opt:has(input:checked) { border-color: var(--accent); background: var(--soft); color: var(--accent-dark); }
.opt:has(input:checked)::before { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--accent); }
.opt.cbx:has(input:checked)::before { background: var(--accent); box-shadow: none; }
.opt.cbx:has(input:checked)::after {
  content: "✓"; position: absolute; left: 3px; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 11px; font-weight: 800;
}
/* :has 不支持时的兜底（旧浏览器）：JS 加 .on */
.opt.on { border-color: var(--accent); background: var(--soft); color: var(--accent-dark); }
.opt.on::before { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--accent); }
.opt.cbx.on::before { background: var(--accent); box-shadow: none; }

/* ============ 问题停车场：截图粘贴 ============ */
.upzone {
  border: 1.5px dashed var(--line); border-radius: 12px; padding: 14px; margin-top: 8px;
  background: #fafbff; transition: .15s; cursor: pointer;
}
.upzone.over { border-color: var(--accent); background: var(--soft); }
.upzone-hint { font-size: 12.5px; color: var(--ink-2); margin-bottom: 8px; line-height: 1.5; }
.upzone-link { color: var(--accent); font-weight: 700; text-decoration: underline; cursor: pointer; }
.upzone-pre { display: flex; gap: 8px; flex-wrap: wrap; }
.pho {
  position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #fff; flex: none;
}
.pho img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pho.sm { width: 56px; height: 56px; }
.pho-x {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border: none; border-radius: 50%;
  background: rgba(20,30,50,.7); color: #fff; font-size: 11px; line-height: 1; cursor: pointer; display: flex;
  align-items: center; justify-content: center; padding: 0;
}
.pho-x:hover { background: var(--red); }
.pho-loading {
  display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--accent);
  background: var(--soft); animation: stPulse 1.1s ease-in-out infinite;
}

/* ============ AI 机会分析 · 分析过程弹窗（把方法展示出来） ============ */
.modal.wide { max-width: 720px; }
.proc-lead {
  background: var(--soft); border-radius: 10px; padding: 10px 12px; margin: 10px 0;
  font-size: 13px; line-height: 1.7;
}
.proc-criteria { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 2px; }
.proc-criteria .pill { font-size: 11.5px; padding: 3px 9px; }

.ps { border-left: 2px solid var(--line); padding: 0 0 0 14px; margin: 14px 0 0 2px; position: relative; }
.ps.done { border-left-color: var(--green); }
.ps.running { border-left-color: var(--accent); }
.ps.pending { opacity: .5; }
.ps-h { display: flex; align-items: center; gap: 8px; }
.ps-mark { width: 18px; height: 18px; flex: none; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 11px; font-weight: 800; background: var(--line); color: var(--ink-2); }
.ps.done .ps-mark { background: #d3f9d8; color: var(--green); }
.ps.running .ps-mark { background: var(--soft); }
.ps-spin { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent);
  border-top-color: transparent; display: inline-block; animation: psSpin .8s linear infinite; }
@keyframes psSpin { to { transform: rotate(360deg); } }
.ps-no { font-size: 11px; font-weight: 800; color: var(--accent); background: var(--soft);
  border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.ps-title { font-weight: 700; font-size: 13.5px; }
.ps-at { margin-left: auto; font-size: 11px; color: var(--grey); }
.ps-method { font-size: 12.5px; color: var(--ink-2); line-height: 1.65; margin: 4px 0 0 26px; }
.ps-body { margin: 8px 0 0 26px; }
.ps-lab { font-size: 12px; font-weight: 700; color: var(--ink-2); margin: 8px 0 4px; }
.ps-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.ps-cand { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-top: 8px; background: #fff; }
.ps-cand-h { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ps-cand-h b { font-size: 13px; }

/* 8 项标准逐项判断 */
.dim-row { display: flex; align-items: flex-start; gap: 10px; padding: 3px 0; font-size: 12.5px; }
.dim-row .dim-k { flex: none; width: 96px; color: var(--ink-2); }
.dim-row .dim-v { flex: 1; color: var(--ink); }
.dim-row.hit .dim-v { font-weight: 600; }
.dots { letter-spacing: 2px; color: var(--accent); margin-right: 6px; font-size: 11px; }

/* 机会分计算链 */
.calc-chain { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-top: 8px; background: #fcfcff; }
.chain-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; margin-top: 4px; }
.chain-line b { color: var(--ink); }
.chain-res { font-weight: 800; color: var(--accent-dark); }
.ps-flags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.proc-done { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 12px; }

/* ============ 熊叔 · AI任务拆解（七步法对话） ============ */
.workmodes { display: flex; gap: 6px; margin: 10px 0 4px; }
.wm { border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 9px;
  padding: 6px 12px; font-size: 12.5px; font-weight: 600; }
.wm.active { background: var(--grad); color: #fff; border-color: transparent; }

.coach-wrap { display: grid; grid-template-columns: 190px 1fr; gap: 16px; margin-top: 12px; }
@media (max-width: 900px) { .coach-wrap { grid-template-columns: 1fr; } }
.coach-left { border-right: 1px solid var(--line); padding-right: 12px; }
.cs { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 12.5px; color: var(--ink-2); }
.cs.done { color: var(--green); }
.cs.doing, .cs.confirm { color: var(--accent); font-weight: 700; }
.cs-mark { width: 16px; text-align: center; }
.cs-no { font-size: 11px; font-weight: 800; background: var(--soft); color: var(--accent);
  border-radius: 999px; padding: 1px 7px; }

.coach-chat { max-height: 240px; overflow: auto; padding: 4px 2px; }
.cb { margin-bottom: 10px; }
.cb-txt { background: #f7f8fc; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px;
  font-size: 13px; line-height: 1.7; white-space: pre-wrap; }
.cb.coach .cb-txt { background: var(--soft); border-color: transparent; }
.cb-who { font-size: 11.5px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.cb.stu { text-align: right; }
.cb.stu .cb-txt { display: inline-block; text-align: left; background: #fff; border-color: var(--accent); }

.coach-ask { background: var(--soft); border-radius: 10px; padding: 10px 12px; font-size: 13.5px;
  line-height: 1.7; margin: 10px 0; }
.coach-confirm { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-top: 10px; background: #fcfcff; }
.flow { margin-top: 6px; }
.flow-row { display: flex; align-items: baseline; gap: 10px; padding: 4px 0; font-size: 13px;
  border-bottom: 1px dashed var(--line); }
.flow-row b { flex: none; }
.iv-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 5px 0; font-size: 13px; }
.iv-mode { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 9px; white-space: nowrap;
  background: #f1f3f5; color: var(--ink-2); }
.iv-mode.ai { background: #e8f7ee; color: #1a7f4b; }
.iv-mode.ai_assist { background: #fff4e0; color: #9a6200; }
.iv-mode.ai_advice { background: #fff0e6; color: #d9480f; }
.iv-mode.human { background: #eef0f3; color: #495057; }

.scope-box { border: 1px solid #ffd8a8; background: #fffaf0; border-radius: 12px; padding: 14px; margin-top: 12px; }
.scope-title { font-weight: 800; color: var(--yellow); margin-bottom: 4px; }
.slice-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-top: 8px;
  background: #fff; cursor: pointer; transition: .15s; }
.slice-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.slice-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.bp-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 12px; background: #fcfcff; }
.bp-head { font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bp-sec { margin-top: 10px; }
.bp-sec b { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 3px; }
.coach-intro { margin-top: 12px; }

/* ---- 04 实战验证层（P1~P6） ---- */
.prac-block { margin-top: 12px; }
.prac-tip { margin-top: 10px; font-size: 12.5px; line-height: 1.6; background: #f6f8ff;
  border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; padding: 8px 12px; }
.prac-gate { margin-top: 10px; font-size: 12.5px; padding: 8px 12px; border-radius: 8px; }
.prac-gate.ok { background: #e8f7ee; color: #1a7f4b; }
.prac-gate.no { background: #fff4e0; color: #9a6200; }
.prac-inline { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.pin-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 10px; align-items: center;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-top: 8px; }
.pin-name b { font-size: 13px; }
.pin-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.pin-btns .btn.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.pin-val { grid-column: 1 / -1; }

.runplan { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.rp-row { display: grid; grid-template-columns: 130px auto 1fr; gap: 10px; align-items: center;
  padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.rp-row:last-child { border-bottom: 0; }
.rp-row.on { background: #f6f8ff; }
.rp-step { font-weight: 700; }
.prompt-box { min-height: 190px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px; line-height: 1.7; background: #fbfbfe; }

.chk-row { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.chk-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.chk-btns .btn.on { background: var(--accent); color: #fff; border-color: var(--accent); }

.fail-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-top: 8px; cursor: pointer; }
.fail-card:hover { border-color: var(--accent); }
.fail-card.on { border-color: var(--accent); background: #f6f8ff; box-shadow: var(--shadow); }
.fail-h { display: flex; align-items: center; gap: 8px; font-size: 13px; }

.boundary-box { border: 1px solid #ffd8a8; background: #fffaf0; border-radius: 10px; padding: 12px; margin-top: 10px; }
.bd-t { font-weight: 800; font-size: 13px; margin-bottom: 4px; }

.lv-card { display: flex; align-items: center; gap: 14px; margin-top: 10px;
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fcfcff; }
.lv-b { font-size: 26px; font-weight: 900; color: var(--accent); }
.lv-t { font-size: 13.5px; font-weight: 700; }
.rd-row { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; flex-wrap: wrap; }
.rd-lv { font-weight: 800; color: var(--ink-2); }

/* ---------- 教师端：实战驾驶舱（规则书 §11） ---------- */
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .cols-4 { grid-template-columns: repeat(2, 1fr); } }

.focus-pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: #ffe8e0; color: var(--red); }
.focus-pill.ok { background: #e8f6ec; color: var(--green); }

.metric.tier-D .n { color: var(--red); }
.metric.tier-C .n { color: var(--yellow); }
.metric.tier-B .n { color: var(--accent); }
.metric.tier-A .n { color: var(--green); }
.metric.tier-D { border-color: #ffd9cc; background: #fff8f5; }

.q-card { margin-bottom: 12px; border-left: 4px solid var(--red); }
.q-card.handled { border-left-color: var(--grey); opacity: .72; }
.q-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.q-title { font-weight: 700; }
.q-sub { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.q-sub.s-d3 { background: #ffe8e0; color: var(--red); }
.q-sub.s-d1 { background: #fff0d6; color: #b35c00; }
.q-sub.s-d2 { background: #e8eeff; color: var(--accent-dark); }
.q-sub.s-a  { background: #e8f6ec; color: var(--green); }
.q-sub.s-b  { background: #eef1ff; color: var(--accent); }
.lv-tag { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.tag.ok { font-size: 11.5px; padding: 2px 8px; border-radius: 999px;
  background: #e8f6ec; color: var(--green); font-weight: 700; }
.q-reason { font-size: 13.5px; margin: 6px 0 2px; }
.q-bd { margin-top: 6px; font-size: 12.5px; color: var(--ink-2); background: #f7f5ff;
  border-radius: 8px; padding: 6px 10px; }
.q-line { margin-top: 8px; font-size: 12.5px; color: var(--ink-2); background: #fbfbff;
  border: 1px dashed var(--line); border-radius: 8px; padding: 8px 10px;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.q-note { display: flex; gap: 8px; margin-top: 10px; }
.q-note .inp { flex: 1; min-width: 0; }
.inp { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px;
  font-size: 13px; font-family: inherit; background: #fff; color: var(--ink); }
.inp:focus { outline: 2px solid var(--soft); border-color: var(--accent); }
.w-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 0; border-top: 1px dashed var(--line); font-size: 13px; }
.w-row:first-child { border-top: none; }
.w-row.muted { color: var(--ink-2); }

/* ---------- 任务蓝图（只读总结） ---------- */
.ro { white-space: pre-wrap; background: #f7f7fb; border-radius: 8px;
  padding: 8px 10px; font-size: 13px; color: var(--ink); margin: 4px 0; }

/* ---------- AI 实战 · 方法论页 ---------- */
.prac-steps { display: flex; flex-direction: column; gap: 8px; }
.pstep { display: flex; gap: 8px; align-items: baseline;
  background: #f7f7fb; border-radius: 8px; padding: 8px 10px; }
.pstep b { color: var(--accent-dark); white-space: nowrap; flex: 0 0 auto; }
.pstep span { font-size: 13px; color: var(--ink-2); }
.prac-rules { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.prac-rules .pill { background: #fff3e9; color: #b35c00; }
#pracSkeleton { white-space: pre-wrap; font-size: 12.5px; line-height: 1.6;
  background: #0f1020; color: #e8e8f5; border-radius: 10px; padding: 12px 14px;
  font-family: ui-monospace, Menlo, Consolas, monospace; user-select: all; }

/* ---- AI 实战 · 方法论页（上下结构：自报在上，方法论在下） ---- */
.prac-vwrap { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.prac-method { border-top: 1px dashed var(--line); padding-top: 12px; }
.pill.blue { background: #e8f0ff; color: var(--accent-dark); }
.dot-s.blue { background: var(--accent); }

/* ---- 顶栏 · 课程期数 + 当前阶段 ---- */
.camp-pill { font-size: 12.5px; font-weight: 800; color: var(--accent-dark);
  background: var(--soft); border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.stage-now { font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }

/* ---- 中栏 · 六步旅程图（回型/蛇形 2×3） ---- */
.journey-card { border: 1px solid var(--line); border-radius: 12px; background: #fcfcff;
  padding: 12px 14px; margin-bottom: 12px; }
.journey-head { font-weight: 700; margin-bottom: 8px; }
.j-row { display: grid; grid-template-columns: 1fr 18px 1fr 18px 1fr; gap: 6px; align-items: stretch; }
.jc { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 10px;
  background: #eef0f4; min-width: 0; }
.jc-no { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; font-size: 11px; font-weight: 800; background: #fff; color: var(--ink-2);
  flex: none; }
.jc-t { font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.jc.done { background: #e8f6ec; }
.jc.done .jc-no { background: rgba(255,255,255,.85); color: var(--green); }
.jc.done .jc-t { color: var(--ink); }
.jc.cur { background: var(--grad); }
.jc.cur .jc-no { background: rgba(255,255,255,.22); color: #fff; }
.jc.cur .jc-t { color: #fff; font-weight: 800; }
.j-now { font-size: 10.5px; font-weight: 800; color: #fff; background: rgba(255,255,255,.2);
  border-radius: 999px; padding: 1px 7px; flex: none; }
.j-h { display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
  color: #c4c9d4; font-weight: 800; }
.j-h.done { color: var(--green); }
.j-down { display: flex; justify-content: flex-end; padding: 2px 26px 2px 0; }
.j-down span { font-size: 12px; color: #c4c9d4; font-weight: 800; }
.j-down.done span { color: var(--green); }

/* ---- 右栏 · 成就卡 ---- */
.badge-strip { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bd-sep { width: 1px; height: 24px; background: var(--line); margin: 0 3px; flex: none; }
.bd-ico.plan { background: #eef4ff; filter: none; opacity: 1; }
.bd-ico { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center;
  justify-content: center; font-size: 17px; background: #eef0f4; filter: grayscale(1); opacity: .55; }
.bd-ico.on { background: linear-gradient(135deg, #fff3d6, #ffe3a9); filter: none; opacity: 1;
  box-shadow: 0 2px 6px rgba(232, 163, 23, .25); }
.badge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
@media (max-width: 700px) { .badge-grid { grid-template-columns: repeat(2, 1fr); } }
.badge-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; text-align: center; }
.badge-card.on { background: linear-gradient(160deg, #fffdf5, #fff6e0); border-color: #f2d896; }
.badge-card.off { opacity: .62; }
.bc-ico { font-size: 30px; margin-bottom: 6px; }
.badge-card.off .bc-ico { filter: grayscale(1); }
.bc-name { font-weight: 800; font-size: 13.5px; margin-bottom: 3px; }

/* ---- 右栏 · 成果卡内嵌沉淀按钮 ---- */
.mine-dep { border-top: 1px dashed var(--line); padding-top: 10px; }

/* ---- 成就 · 分享卡牌（朋友圈版，竖版 3:4） ---- */
/* 透明卡模态：无白底容器，卡牌直接悬浮在遮罩上 */
.modal.card-modal-host { background: transparent; box-shadow: none; padding: 0; max-width: none;
  width: auto; overflow: visible; border-radius: 0; }
.card-actions { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.sc-x { position: absolute; top: 10px; right: 12px; z-index: 3; background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85); border: none; border-radius: 50%; width: 26px; height: 26px;
  font-size: 12px; cursor: pointer; line-height: 1; }
.sc-x:hover { background: rgba(255,255,255,.25); }
.share-card { width: 300px; border-radius: 18px; position: relative;
  background: linear-gradient(160deg, #1d1e3a 0%, #2b2c58 55%, #3d2f6b 100%);
  color: #fff; display: flex; flex-direction: column; align-items: center;
  padding: 20px 18px 18px; overflow: hidden;
  animation: cardPop .5s cubic-bezier(.2, 1.4, .35, 1) both,
             cardGlow 2.6s ease-in-out .5s infinite; }
/* 弹出特效：缩小+上扬 → 弹性落位 */
@keyframes cardPop {
  0% { transform: scale(.55) translateY(36px); opacity: 0; }
  70% { transform: scale(1.04) translateY(-4px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
/* 外发光：金色光晕呼吸 */
@keyframes cardGlow {
  0%, 100% { box-shadow: 0 0 24px rgba(233, 196, 124, .35), 0 0 60px rgba(233, 196, 124, .18),
    0 14px 40px rgba(0,0,0,.45); }
  50% { box-shadow: 0 0 36px rgba(233, 196, 124, .6), 0 0 90px rgba(233, 196, 124, .3),
    0 14px 40px rgba(0,0,0,.45); }
}
.share-card::before { content: ""; position: absolute; inset: 9px; border: 1.5px solid rgba(232, 180, 80, .65);
  border-radius: 13px; pointer-events: none; }
.sc-brand { font-size: 11px; font-weight: 800; letter-spacing: 2.5px; color: #e9c47c; }
.sc-avatar { width: 108px; height: 108px; border-radius: 50%; object-fit: cover; margin-top: 14px;
  border: 3px solid rgba(233, 196, 124, .9); background: radial-gradient(circle, #34355e 0%, #23244a 100%);
  box-shadow: 0 0 0 2px rgba(233,196,124,.25), 0 8px 22px rgba(0,0,0,.35); }
.share-card .sc-ico { font-size: 58px; margin-top: 14px; line-height: 1; }
.share-card:has(.sc-avatar) .sc-ico { display: none; }
.sc-name { font-size: 21px; font-weight: 900; color: #f3d896; margin-top: 10px; }
.sc-user { font-size: 11.5px; color: rgba(255,255,255,.8); margin-top: 5px;
  letter-spacing: .5px; }
.sc-line { width: 72px; height: 2px; background: rgba(232, 180, 80, .5); margin: 10px 0; border-radius: 2px; }
.sc-desc { font-size: 12.5px; line-height: 1.65; color: rgba(255,255,255,.92); text-align: center;
  padding: 0 2px; }
.sc-quote { font-size: 12.5px; line-height: 1.65; color: #f3d896; text-align: center;
  margin-top: 9px; padding: 0 2px; }
.sc-quote.sc-gen { color: #fff; animation: genPulse 1.6s ease-in-out infinite; }
@keyframes genPulse { 0%,100% { opacity: .65; } 50% { opacity: 1; } }
.sc-user { font-size: 11.5px; color: rgba(255,255,255,.72); }
.sc-dots { display: flex; gap: 6px; margin-top: 10px; }
.sc-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.18); }
.sc-dot.on { background: #e9c47c; }
.sc-slogan { font-size: 11px; color: rgba(233, 196, 124, .85); margin-top: 10px; letter-spacing: 1px; }

/* ---- 卡牌弹层：左右切换 + 头像生成中遮罩 ---- */
.share-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.sc-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 34px; height: 34px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.14); color: rgba(255,255,255,.9);
  font-size: 20px; line-height: 1; padding: 0 0 3px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease; }
.sc-nav:hover { background: rgba(255,255,255,.3); }
.sc-nav-l { left: -8px; }
.sc-nav-r { right: -8px; }
.sc-avwrap { position: relative; display: flex; align-items: center; justify-content: center; }
.sc-avload { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(20,20,45,.62); }
.sc-avload .spin { width: 26px; height: 26px; border-radius: 50%;
  border: 2.5px solid rgba(233,196,124,.3); border-top-color: #e9c47c;
  animation: avspin .8s linear infinite; }
@keyframes avspin { to { transform: rotate(360deg); } }

/* ---- 成就墙：下一张卡高亮 + 右栏「再走一步」提示 ---- */
.badge-card.next { border-color: rgba(233,196,124,.75); box-shadow: 0 0 0 1px rgba(233,196,124,.35); }
.bc-next-tag { margin-left: 6px; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 8px;
  background: rgba(233,196,124,.2); color: #b8860b; vertical-align: middle; }
.badge-next { margin-top: 7px; padding: 7px 10px; border-radius: 9px; cursor: pointer;
  background: rgba(233,196,124,.1); border: 1px solid rgba(233,196,124,.3);
  font-size: 11.5px; line-height: 1.5; color: #8a6d1f;
  display: flex; gap: 6px; align-items: flex-start; }
.badge-next:hover { background: rgba(233,196,124,.18); }
.badge-next .bn-arrow { color: #d4a017; font-weight: 700; flex: none; }

/* ---- 中栏 · 今日任务下方引导语条 ---- */
.journey-head-bar { margin-top: 10px; padding: 9px 14px; border-radius: 10px;
  background: linear-gradient(90deg, var(--soft), rgba(232, 230, 252, .35));
  color: var(--accent-dark); font-size: 12.5px; font-weight: 700; }

/* ==========================================================================
   两个离营沉淀物 —— 视觉必须彻底区分：
     上路计划 = 结业证明（总结性）· 沉稳金色，像一张证书
     30 天计划 = 行动系统（行动性）· 清爽青蓝，像一个执行面板
   ========================================================================== */

/* ---- 共用：弹层加宽 + 分节 ---- */
.modal.jr-wide { max-width: 660px; }
.jr-sec { padding: 14px 0; border-top: 1px dashed var(--line); }
.jr-sec:first-of-type { border-top: none; padding-top: 4px; }
.jr-sec-t { font-size: 12px; font-weight: 800; letter-spacing: .04em;
  color: var(--muted); margin-bottom: 9px; }

/* ================= 上路计划（结业证明） ================= */
.jr-onboard { border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(212,160,23,.35); background: #fffdf7; }
.jr-ob-hero { padding: 18px 20px 16px;
  background: linear-gradient(135deg, #fdf6e3 0%, #fbf1dc 55%, #f7ead0 100%);
  border-bottom: 1px solid rgba(212,160,23,.28); }
.jr-ob-flag { font-size: 10.5px; font-weight: 800; letter-spacing: .16em;
  color: #b8860b; margin-bottom: 8px; }
.jr-ob-name { font-size: 21px; font-weight: 900; color: #4a3a12; letter-spacing: .01em; }
.jr-ob-meta { margin-top: 5px; font-size: 12.5px; color: #8a6d1f; font-weight: 600; }
.jr-ob-works { margin-top: 11px; display: flex; flex-wrap: wrap; gap: 6px; }
.jr-ob-works span { font-size: 11px; padding: 3px 9px; border-radius: 20px;
  background: rgba(212,160,23,.13); border: 1px solid rgba(212,160,23,.3); color: #8a6d1f; }
.jr-onboard .jr-body { padding: 4px 20px 18px; }

/* 已跑通的任务：原样 → 现在 对比 */
.jr-did { display: flex; gap: 11px; padding: 10px 12px; border-radius: 10px;
  background: #fff; border: 1px solid rgba(212,160,23,.22); margin-bottom: 8px; }
.jr-did-no { flex: none; width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(135deg,#e9c47c,#d4a017); color: #fff;
  font-size: 11.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.jr-did-main { flex: 1; min-width: 0; }
.jr-did-title { font-size: 13.5px; font-weight: 800; color: #4a3a12;
  display: flex; align-items: center; gap: 6px; }
.jr-did-title .ok { color: #2f9e44; font-weight: 900; }
.jr-did-flow { margin-top: 5px; font-size: 11.5px; line-height: 1.65; color: #6b5a2a; }
.jr-did-flow b { color: #a9821a; font-weight: 700; }
.jr-did-flow .arw { color: #d4a017; margin: 0 5px; font-weight: 700; }

/* 我的 AI 工作方法：竖排流程 */
.jr-method { display: flex; flex-direction: column; gap: 0; }
.jr-method-i { display: flex; align-items: flex-start; gap: 9px; position: relative;
  padding-bottom: 9px; }
.jr-method-i:last-child { padding-bottom: 0; }
.jr-method-i:not(:last-child)::before { content: ""; position: absolute;
  left: 7.5px; top: 16px; bottom: 0; width: 1.5px; background: rgba(212,160,23,.35); }
.jr-method-d { flex: none; width: 16px; height: 16px; border-radius: 50%; margin-top: 1px;
  background: #fff; border: 2px solid #d4a017; }
.jr-method-t { font-size: 12.5px; font-weight: 700; color: #4a3a12; line-height: 1.5; }

/* 能力边界：两栏并列 */
.jr-bound { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jr-bound-col { padding: 11px 12px; border-radius: 10px; }
.jr-bound-col.ai { background: rgba(47,158,68,.07); border: 1px solid rgba(47,158,68,.25); }
.jr-bound-col.me { background: rgba(212,160,23,.08); border: 1px solid rgba(212,160,23,.25); }
.jr-bound-h { font-size: 11.5px; font-weight: 800; margin-bottom: 7px; }
.jr-bound-col.ai .jr-bound-h { color: #2f7d40; }
.jr-bound-col.me .jr-bound-h { color: #a9821a; }
.jr-bound-list { display: flex; flex-wrap: wrap; gap: 5px; }
.jr-bound-list span { font-size: 11px; padding: 3px 8px; border-radius: 6px;
  background: #fff; color: #5a4a1a; border: 1px solid rgba(0,0,0,.06); }

/* 下一批机会 */
.jr-next-note { font-size: 11px; color: #8a6d1f; margin-bottom: 8px; line-height: 1.6; }
.jr-next-list { display: flex; flex-wrap: wrap; gap: 7px; }
.jr-next-list span { font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 20px;
  background: linear-gradient(135deg,#fdf6e3,#f7ead0); color: #8a6d1f;
  border: 1px solid rgba(212,160,23,.32); }

/* 落款 */
.jr-ob-foot { margin-top: 4px; padding: 13px 20px; text-align: center;
  background: linear-gradient(90deg,#fdf6e3,#fbf1dc,#fdf6e3);
  border-top: 1px solid rgba(212,160,23,.28); }
.jr-ob-foot .big { font-size: 14px; font-weight: 900; color: #8a6d1f; letter-spacing: .08em; }
.jr-ob-foot .sub { font-size: 11px; color: #b8860b; margin-top: 4px; letter-spacing: .04em; }

/* ================= 30 天计划（行动系统） ================= */
.jr-plan-hd { padding: 15px 18px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(135deg,#eef7fb 0%,#e7f2f8 100%);
  border: 1px solid rgba(28,126,166,.22); }
.jr-plan-hd .t { font-size: 15px; font-weight: 900; color: #10556f; }
.jr-plan-hd .s { font-size: 11.5px; color: #3d7f9c; margin-top: 5px; line-height: 1.6; }

.jr-stages { display: flex; flex-direction: column; gap: 10px; }
.jr-stage { border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(28,126,166,.2); background: #fff; }
.jr-stage-hd { display: flex; align-items: center; gap: 9px; padding: 9px 13px;
  background: linear-gradient(90deg,rgba(28,126,166,.09),rgba(28,126,166,.03)); }
.jr-stage-step { flex: none; width: 20px; height: 20px; border-radius: 6px;
  background: #1c7ea6; color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; }
.jr-stage-name { font-size: 13px; font-weight: 800; color: #10556f; }
.jr-stage-days { margin-left: auto; font-size: 11px; font-weight: 700;
  color: #3d7f9c; background: rgba(28,126,166,.1); padding: 2px 8px; border-radius: 10px; }
.jr-stage-body { padding: 10px 13px 12px; }
.jr-stage-goal { font-size: 12.5px; font-weight: 700; color: #1c7ea6; margin-bottom: 7px; }
.jr-stage-row { display: flex; gap: 8px; font-size: 12px; line-height: 1.65;
  padding: 3px 0; color: #35484f; }
.jr-stage-row .lb { flex: none; width: 62px; color: #7593a0; font-weight: 600; }
.jr-stage-row .vl { flex: 1; }
.jr-stage-row .vl.mark { color: #1c7ea6; font-weight: 700; }

/* ---- 两个沉淀物的「生成中」反馈（原地转圈 + 阶段文案，不换弹层） ---- */
.jr-loading { display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  margin-top: 12px; padding: 11px 14px; border-radius: 11px;
  background: rgba(28,126,166,.07); border: 1px solid rgba(28,126,166,.2);
  font-size: 12.5px; color: #10556f; line-height: 1.5; }
.jr-loading .spin { width: 15px; height: 15px; flex: none; border-radius: 50%;
  border: 2px solid rgba(28,126,166,.25); border-top-color: #1c7ea6;
  animation: jrSpin .8s linear infinite; }
.jr-loading .tiny { flex-basis: 100%; }
.jr-loading-top { margin: 0 0 12px; }
.jr-busy { opacity: .5; filter: saturate(.7); transition: opacity .2s;
  pointer-events: none; }
@keyframes jrSpin { to { transform: rotate(360deg); } }
button.btn .spin { display: inline-block; vertical-align: -2px; margin-right: 6px;
  width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: jrSpin .8s linear infinite; }
button.btn.ghost .spin { border-color: rgba(28,126,166,.28); border-top-color: #1c7ea6; }
