/*
 * 11-05 精修（用户：「以 Awwwards、Webby、FWA 获奖级网站为品质标准……从排版、留白、视觉层级、色彩、动效、
 * 微交互、响应式和原创性上自检并持续优化」）。版式、字、留白、动效先在黑白灰里定好（「纸与墨」），
 * 11-05 晚用户：「现在ui可以按照之前的设计配色再优化了，之前我用黑白灰主要是看内容信息排版」——颜色回到 11-02 设计体系：
 * - 颜色：浅蓝白的底、白卡片、藏青的字、青绿主色。青绿只给要按的、当前在哪、点亮这几处；进行中用蓝，第三种颜色用紫，提醒用橙；
 *   达到、部分达到、未达到用青绿、琥珀、灰。字和底的对比都不低于 4.5:1（主按钮的青绿比设计稿深一点，就是为了这个）。
 * - 字：中文用系统的苹方 / 微软雅黑，西文和数字用系统字；字号一套固定的阶梯，标题 600 不用 800；数字等宽。
 * - 层次：靠深浅、细线、留白和柔和的影子，不靠框线叠框线。
 * - 动：只为说明状态（按下、展开、出现），时长 120–320ms，减速收尾；「点亮」是唯一一处特意设计的动效。
 * 这一层放在所有样式最后，老样式不删，出问题删掉这一个文件就回到原样。
 */

:root {
  /* 底和字：浅蓝白、白卡片、藏青（11-02 设计稿） */
  --paper: #f6fafc; --paper-2: #eef4f9; --paper-3: #e5eef6;
  --card: #ffffff;
  --ink-900: #12305a; --ink-800: #1f3b60; --ink-700: #2e4259; --ink-600: #455870; --ink-500: #556880; --ink-400: #5f7186; --ink-300: #a9b6c4;
  --hair: #e2eaf2; --hair-2: #d5e0ea; --hair-3: #c3d1de;
  /* 主色青绿：--accent 是填色（点、条、圈）；字和按钮用深一档的，白字放上去也看得清 */
  --accent: #0f9488; --accent-700: #0b7b71; --accent-800: #0a6660;
  --accent-50: #e8f6f4; --accent-100: #d2efea; --accent-200: #b4e2da;
  --accent-grad: linear-gradient(135deg, #0e857a 0%, #0b7870 100%);  /* 设计稿的青绿调深到白字刚好 4.5:1，另一头再深一点做出立体感 */
  --accent-grad-hover: linear-gradient(135deg, #0b7a70 0%, #096b62 100%);
  /* 别的几种：进行中蓝、第三种紫、提醒橙、部分达到琥珀、出错红 */
  --blue: #2b7de0; --blue-ink: #1d66bf; --blue-50: #eaf3fd;
  --purple: #7c6fd6; --purple-ink: #5a4eb8; --purple-50: #f0effc;
  --orange: #e8703a; --orange-ink: #b04b1a; --orange-50: #fff1e9;
  --amber-fill: #e2a12b; --amber-ink: #a16207; --amber-50: #fef7e6;
  --red-ink: #c42222; --red-50: #fdeeee;
  --shadow-1: 0 1px 2px rgba(18, 48, 90, .05), 0 1px 1px rgba(18, 48, 90, .03);
  --shadow-2: 0 1px 2px rgba(18, 48, 90, .06), 0 10px 28px -14px rgba(18, 48, 90, .22);
  --shadow-3: 0 2px 6px rgba(18, 48, 90, .07), 0 24px 56px -20px rgba(18, 48, 90, .32);
  --ring: 0 0 0 2px var(--card), 0 0 0 4px var(--accent);
  --glow: 0 0 0 4px rgba(15, 148, 136, .14);
  --ease: cubic-bezier(.16, 1, .3, 1); --ease-in: cubic-bezier(.4, 0, 1, 1);
  --t1: 120ms; --t2: 180ms; --t3: 320ms;
  --r1: 8px; --r2: 12px; --r3: 16px;
  --font-ui: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  /* 老页面用的名字，接到同一套颜色上 */
  --brand: var(--accent); --brand-hover: var(--accent-700); --brand-ink: var(--accent-700); --brand-grad: var(--accent-grad); --brand-grad-hover: var(--accent-grad-hover);
  --brand-weak: var(--accent-50); --brand-weak2: var(--accent-100); --brand-line: var(--accent-200);
  --navy: var(--ink-900); --ink: var(--ink-900); --ink2: var(--ink-700); --muted: var(--ink-500); --faint: var(--ink-400); --slate: var(--ink-600);
  --line: var(--hair); --line2: #edf2f7; --line3: var(--hair); --soft: var(--paper-2); --soft2: #f8fbfd;
  --bg: var(--paper); --panel: var(--card); --wall: var(--paper-2); --mint: var(--accent-50);
  --blue-weak: var(--blue-50); --purple-weak: var(--purple-50); --orange-weak: var(--orange-50);
  --amber: var(--amber-ink); --amber-weak: var(--amber-50); --bad: var(--red-ink); --bad-weak: var(--red-50);
  --radius: 14px; --shadow: var(--shadow-2);
  --font: var(--font-ui);
}

/* ---------- the parts nobody draws: selection, caret, scrollbars, focus ---------- */
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink-700); font-family: var(--font-ui); font-feature-settings: "kern"; text-rendering: optimizeLegibility; }
::selection { background: rgba(15, 148, 136, .2); color: var(--ink-900); }
input, textarea, [contenteditable] { caret-color: var(--accent); }
* { scrollbar-width: thin; scrollbar-color: var(--hair-2) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--hair-2); border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--hair-3); border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-track { background: transparent; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { text-wrap: balance; letter-spacing: .005em; }
p, li { text-wrap: pretty; }
table, .num, .gx-big, .dk-kpi b, .dk-kpi strong { font-variant-numeric: tabular-nums; }
a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
input::placeholder, textarea::placeholder { color: var(--ink-400); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* ==================== 学生端（.cx） ==================== */
.cx { background: var(--paper); color: var(--ink-700); font-size: 15px; }

/* ---------- 左边一条导航 ---------- */
.cx-rail { background: var(--paper-2); border-right: 1px solid var(--hair); gap: 2px; padding: 16px 8px 14px; }
.cx-rail .logo { width: 40px; height: 40px; margin-bottom: 18px; border-radius: var(--r2); background: var(--card); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--hair);
  transition: transform var(--t2) var(--ease), box-shadow var(--t2) var(--ease); }
.cx-rail .logo:hover { transform: translateY(-1px); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--hair); }
.cx-rail .logo .qy-icon, .cx-rail .logo svg { width: 26px; height: 26px; }
.cx-nav { width: 64px; padding: 9px 0 8px; gap: 5px; border-radius: var(--r2); color: var(--ink-500); font-size: 11.5px; font-weight: 500; letter-spacing: .02em;
  transition: background-color var(--t2) var(--ease), color var(--t2) var(--ease); }
.cx-nav svg { width: 20px; height: 20px; transition: transform var(--t2) var(--ease); }
.cx-nav:hover { background: rgba(18, 48, 90, .045); color: var(--ink-800); }
.cx-nav:active svg { transform: scale(.92); }
.cx-nav.on { background: var(--accent-50); color: var(--accent-700); font-weight: 600; box-shadow: none; }
.cx-nav.on::before { content: ""; position: absolute; left: -8px; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.cx-nav .dot { width: 7px; height: 7px; background: var(--orange); border: 2px solid var(--paper-2); box-sizing: content-box; }
.cx-avatar { width: 34px; height: 34px; background: var(--accent-grad); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  transition: transform var(--t2) var(--ease), box-shadow var(--t2) var(--ease); }
.cx-avatar:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.cx-menu { border: 1px solid var(--hair); border-radius: var(--r2); box-shadow: var(--shadow-3); padding: 6px; animation: cx-pop var(--t2) var(--ease); transform-origin: left bottom; }
.cx-menu button, .cx-menu a { border-radius: var(--r1); color: var(--ink-700); transition: background-color var(--t1) var(--ease); }
.cx-menu button:hover, .cx-menu a:hover { background: var(--paper-2); }
@keyframes cx-pop { from { opacity: 0; transform: translateY(4px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- 每一页上面的标题：和下面的内容左边对齐 ---------- */
.cx-work { background: var(--paper); }
.cx-work > .cx-head, .cx-work > .cx-tabs { padding-left: max(28px, calc((100% - 860px) / 2 + 28px)); padding-right: max(28px, calc((100% - 860px) / 2 + 28px)); }
.cx-work > .cx-head { min-height: 0; padding-top: 34px; padding-bottom: 10px; background: transparent; border: 0; }
.cx-work > .cx-head .title b { font-size: 26px; line-height: 1.3; font-weight: 600; color: var(--ink-900); letter-spacing: .01em; }
.cx-work > .cx-head .title span { font-size: 14px; line-height: 1.7; color: var(--ink-500); margin-top: 4px; }
.cx-tabs { gap: 22px; padding-top: 4px; background: transparent; border-bottom: 1px solid var(--hair); }
.cx-tab { padding: 10px 0 11px; font-size: 14.5px; font-weight: 500; color: var(--ink-500); border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color var(--t2) var(--ease), border-color var(--t2) var(--ease); }
.cx-tab:hover { color: var(--ink-900); }
.cx-tab.on { color: var(--ink-900); font-weight: 600; border-bottom-color: var(--accent); }
.cx-tab .n { margin-left: 6px; font-size: 12px; color: var(--ink-400); font-weight: 500; font-variant-numeric: tabular-nums; }
.cx-pane-in { gap: 14px; padding-top: 20px; }
.cx-note { color: var(--ink-500); font-size: 13.5px; }
.cx-section-title { font-size: 13px; font-weight: 600; color: var(--ink-500); letter-spacing: .04em; margin: 14px 2px 0; }

/* ---------- 按钮：主按钮满墨，其余白纸细线 ---------- */
.cx-btn { height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--hair-2); background: var(--card); color: var(--ink-900); font-size: 14px; font-weight: 500;
  letter-spacing: .02em; box-shadow: var(--shadow-1);
  transition: background-color var(--t2) var(--ease), border-color var(--t2) var(--ease), box-shadow var(--t2) var(--ease), transform var(--t1) var(--ease), color var(--t2) var(--ease); }
.cx-btn:hover { background: var(--paper); border-color: var(--hair-3); }
.cx-btn:active { transform: translateY(1px) scale(.985); box-shadow: none; }
.cx-btn.primary { background: var(--accent-grad); border-color: transparent; color: #fff; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(11, 120, 112, .3); }
.cx-btn.primary:hover { background: var(--accent-grad-hover); border-color: transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 22px -10px rgba(14, 133, 122, .62); transform: translateY(-1px); }
.cx-btn.primary:active { transform: translateY(0) scale(.985); box-shadow: inset 0 1px 2px rgba(6, 60, 56, .45); }
.cx-btn.primary:disabled, .cx-btn:disabled { background: var(--paper-3); border-color: var(--paper-3); color: var(--ink-400); box-shadow: none; transform: none; }
.cx-btn.big { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.cx-btn.small { height: 32px; padding: 0 12px; font-size: 13px; border-radius: var(--r1); }
.cx-btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--ink-500); }
.cx-btn.ghost:hover { background: rgba(18, 48, 90, .05); color: var(--ink-900); }
.cx-btn:focus-visible, .cx-quiet:focus-visible, .cx-goto:focus-visible, .cx-row:focus-visible { outline: none; box-shadow: var(--ring); }
.cx-quiet { color: var(--ink-500); font-weight: 500; border-radius: 6px; transition: color var(--t2) var(--ease); }
.cx-quiet:hover { color: var(--accent-700); text-decoration: underline; text-decoration-color: var(--accent-200); }
.cx-goto { border: 1px solid var(--hair-2); background: var(--card); color: var(--ink-900); font-weight: 600; font-size: 13px; padding: 6px 14px; box-shadow: var(--shadow-1);
  transition: background-color var(--t2) var(--ease), border-color var(--t2) var(--ease), transform var(--t1) var(--ease); }
.cx-goto:hover { background: var(--accent-700); border-color: var(--accent-700); color: #fff; }
.cx-goto:active { transform: scale(.97); }

/* ---------- 卡片、标签、提示 ---------- */
.cx-card { border: 1px solid var(--hair); border-radius: var(--r3); background: var(--card); box-shadow: var(--shadow-1); }
.cx-card-pad { padding: 20px 22px; gap: 12px; }
.cx-card h2 { font-size: 20px; line-height: 1.4; font-weight: 600; color: var(--ink-900); }
.cx-card h3 { font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--ink-900); }
.cx-card .kicker { font-size: 12.5px; font-weight: 500; color: var(--ink-500); letter-spacing: .02em; }
.cx-card .meta { gap: 4px 0; font-size: 13px; color: var(--ink-500); }
.cx-card .meta > span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); margin: 0 9px; vertical-align: middle; }
.cx-card-foot { background: var(--paper); border-top: 1px solid var(--hair); }
.cx-tag { height: 24px; padding: 0 10px; background: var(--paper-2); color: var(--ink-600); font-size: 12px; font-weight: 500; border: 1px solid transparent; }
.cx-tag.green { background: var(--accent-50); border-color: transparent; color: var(--accent-700); }
.cx-tag.amber { background: var(--amber-50); border-color: transparent; color: var(--amber-ink); }
.cx-tag.red { background: var(--card); border-color: var(--hair-2); color: var(--ink-500); }  /* 未达到用灰（设计体系），不用刺眼的红 */
.cx-tip { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r2); color: var(--ink-700); box-shadow: var(--shadow-1); }
.cx-empty { border: 1px dashed var(--hair-3); border-radius: var(--r3); background: transparent; color: var(--ink-500); }
.cx-empty b { font-weight: 600; color: var(--ink-900); }

/* ---------- 输入框、搜索 ---------- */
.cx-search input, .cx-inline { border: 1px solid var(--hair-2); background: var(--card); border-radius: var(--r2); box-shadow: var(--shadow-1);
  transition: border-color var(--t2) var(--ease), box-shadow var(--t2) var(--ease); }
.cx-search input { height: 46px; padding: 0 16px 0 42px; font-size: 15px;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235f7186' stroke-width='1.8' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 15px 50%; }
.cx-search input:hover, .cx-inline:hover { border-color: var(--hair-3); }
.cx-search input:focus, .cx-inline:focus { border-color: var(--accent); box-shadow: var(--glow); }
.cx-doc { border: 1px solid var(--hair-2); border-radius: var(--r3); background: var(--card); box-shadow: var(--shadow-1); font-size: 16px; line-height: 1.9; color: var(--ink-900); padding: 22px 24px;
  transition: border-color var(--t2) var(--ease), box-shadow var(--t2) var(--ease); }
.cx-doc:focus { border-color: var(--accent); box-shadow: var(--glow); }

/* ---------- 题目列表：整行可点，黑按钮只在指着的那一行出现 ---------- */
.cx-rows { gap: 10px; }
.cx-row { border: 1px solid var(--hair); border-radius: 14px; padding: 16px 18px; gap: 16px; background: var(--card); box-shadow: var(--shadow-1);
  transition: border-color var(--t2) var(--ease), box-shadow var(--t2) var(--ease), transform var(--t2) var(--ease); }
.cx-row:hover { border-color: var(--hair-3); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.cx-row .tx { gap: 4px; }
.cx-row .tx b { font-size: 15.5px; font-weight: 600; color: var(--ink-900); line-height: 1.45; }
.cx-row .tx span { font-size: 13.5px; color: var(--ink-500); line-height: 1.65; }
.cx-row .cx-btn.primary { background: var(--card); color: var(--ink-900); border-color: var(--hair-2); box-shadow: var(--shadow-1); transform: none; }
.cx-row:hover .cx-btn.primary, .cx-row:focus-within .cx-btn.primary { background: var(--accent-grad); border-color: transparent; color: #fff; }
.cx-row .av { border-radius: 10px; background: var(--paper-2); color: var(--ink-700); font-weight: 600; box-shadow: inset 0 0 0 1px var(--hair); }

/* ---------- 表格 ---------- */
.cx-table { font-size: 13.5px; }
.cx-table th { background: var(--paper-2); color: var(--ink-700); font-weight: 600; font-size: 12.5px; letter-spacing: .02em; border-bottom: 1px solid var(--hair-2); }
.cx-table td { color: var(--ink-800); border-bottom: 1px solid var(--line2); }
.cx-table tbody tr { transition: background-color var(--t1) var(--ease); }
.cx-table tbody tr:hover { background: var(--paper); }
.cx-table-wrap { border-top: 1px solid var(--hair); }

/* ---------- 和青云的对话 ---------- */
.cx-msg { animation: cx-rise var(--t3) var(--ease) both; }
@keyframes cx-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cx-msg .av { width: 28px; height: 28px; border-radius: 9px; background: var(--card); box-shadow: inset 0 0 0 1px var(--hair); padding: 3px; }
.cx-msg .body { font-size: 15.5px; line-height: 1.8; color: var(--ink-800); gap: 12px; }
.cx-msg .body strong, .cx-msg .body b { color: var(--ink-900); font-weight: 600; }
.cx-msg.me .bubble { background: var(--accent-50); color: var(--ink-900); border-radius: 18px 18px 6px 18px; padding: 10px 15px; font-size: 15px; line-height: 1.75; }
.cx-msg .cx-plan { border: 1px solid var(--hair); border-radius: var(--r2); background: var(--card); box-shadow: var(--shadow-1); padding: 14px 16px; }
.cx-compose { border: 1px solid var(--hair-2); border-radius: 18px; padding: 8px 8px 8px 18px; background: var(--card); box-shadow: var(--shadow-2);
  transition: border-color var(--t2) var(--ease), box-shadow var(--t2) var(--ease); }
.cx-compose:focus-within { border-color: var(--accent); box-shadow: var(--glow), var(--shadow-2); }
.cx-compose textarea { font-size: 15px; line-height: 1.65; color: var(--ink-900); padding: 7px 0; }
.cx-send { transition: background-color var(--t2) var(--ease), transform var(--t1) var(--ease), opacity var(--t2) var(--ease); }
.cx-send:not(:disabled) { background: var(--accent-grad) !important; color: #fff; }
.cx-send:not(:disabled):hover { transform: translateY(-1px); }
.cx-send:not(:disabled):active { transform: scale(.94); }
.cx-send:disabled { background: var(--paper-3) !important; }
.cx-compose-wrap .cx-chips, .cx-quick { gap: 8px; }
.cx-compose-wrap .cx-chip, .cx-quick button { border: 1px solid var(--hair-2); background: var(--card); color: var(--ink-700); border-radius: 999px; font-size: 13px; font-weight: 500;
  padding: 6px 13px; box-shadow: var(--shadow-1);
  transition: background-color var(--t2) var(--ease), border-color var(--t2) var(--ease), color var(--t2) var(--ease), transform var(--t1) var(--ease); }
.cx-compose-wrap .cx-chip:hover, .cx-quick button:hover { border-color: var(--accent-200); background: var(--accent-50); color: var(--accent-700); }
.cx-compose-wrap .cx-chip:active, .cx-quick button:active { transform: scale(.97); }

/* ---------- 首页：一句话放大，放在视线中间 ---------- */
.cx-solo-col { background: var(--paper); }
.cx-solo-col .cx-scroll { display: flex; flex-direction: column; }
.cx-solo-col .cx-col:has(> .cx-msg:only-child) { margin-block: auto; padding-top: 32px; padding-bottom: 40px; }
.cx-solo-col .cx-col > .cx-msg:only-child { flex-direction: column; gap: 18px; animation-duration: 560ms; }
.cx-solo-col .cx-col > .cx-msg:only-child .av { width: 44px; height: 44px; border-radius: 14px; padding: 6px; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--hair); }
.cx-solo-col .cx-col > .cx-msg:only-child .body { gap: 22px; }
.cx-solo-col .cx-col > .cx-msg:only-child .body > p:first-child { font-size: 30px; line-height: 1.38; font-weight: 600; color: var(--ink-900); letter-spacing: .01em; max-width: 22em; }
.cx-one { max-width: 600px; box-shadow: var(--shadow-2); }
.cx-one .cx-card-pad { padding: 24px 26px 22px; gap: 14px; }
.cx-one h2 { font-size: 21px; }
.cx-one-act { gap: 18px; margin-top: 6px; }
.cx-more-list { border: 1px solid var(--hair); border-radius: var(--r2); box-shadow: var(--shadow-3); animation: cx-pop var(--t2) var(--ease); }
.cx-more-list button { border-radius: var(--r1); color: var(--ink-700); transition: background-color var(--t1) var(--ease); }
.cx-more-list button:hover { background: var(--paper-2); color: var(--ink-900); }
.cx-solo-col .cx-compose-wrap { padding-bottom: 26px; }

/* ---------- 做题页 ---------- */
.cx-talk { background: var(--paper); }
.cx-talk > .cx-head { background: rgba(246, 250, 252, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--hair); min-height: 64px; padding: 12px 28px; position: sticky; top: 0; z-index: 2; }
.cx-talk > .cx-head .title b { font-size: 17px; font-weight: 600; color: var(--ink-900); }
.cx-talk > .cx-head .title span { font-size: 12.5px; color: var(--ink-500); margin-top: 2px; }
.cx-talk .cx-col { padding-top: 30px; gap: 22px; }
/* 右边资料目录：竖排的字改成横排小标签，和左边导航一个样子 */
.cx-side { background: var(--paper); border-left: 1px solid var(--hair); }
.cx-side-dir { width: 72px; padding: 16px 0; gap: 4px; background: var(--paper-2); border-right: 1px solid var(--hair); }
.cx-side-tab { writing-mode: horizontal-tb; letter-spacing: .04em; width: 58px; min-height: 44px; padding: 8px 0; border-radius: var(--r2); border: 0; font-size: 13px; font-weight: 500;
  color: var(--ink-500); flex-direction: column; gap: 2px; line-height: 1.3; text-align: center;
  transition: background-color var(--t2) var(--ease), color var(--t2) var(--ease); }
.cx-side-tab:hover { background: rgba(18, 48, 90, .045); color: var(--ink-900); }
.cx-side-tab.on { background: var(--accent-50); color: var(--accent-700); font-weight: 600; box-shadow: none; }
.cx-side-tab .n { font-size: 11px; color: var(--ink-400); font-weight: 500; }
.cx-side-tab .dot { top: 6px; right: 8px; width: 6px; height: 6px; background: var(--orange); }
.cx-side-body { background: var(--paper); animation: cx-slide var(--t3) var(--ease); }
@keyframes cx-slide { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.cx-side-head { background: transparent; border-bottom: 1px solid var(--hair); padding: 16px 18px 14px 22px; }
.cx-side-head b { font-size: 16px; font-weight: 600; color: var(--ink-900); }
.cx-side .cx-pane-in { padding: 18px 20px 32px; }
.cx-tab.flash, .cx-side-tab.flash { animation: cx-nudge 1.4s var(--ease) 1; }
@keyframes cx-nudge { 0% { box-shadow: 0 0 0 0 rgba(15, 148, 136, .35); } 70% { box-shadow: 0 0 0 10px rgba(15, 148, 136, 0); } 100% { box-shadow: none; } }

/* 材料说明：原来的分条一行一条，「你手上有什么：」这样的小标题单独一行 */
.cx-prose { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; line-height: 1.8; color: var(--ink-800); }
.cx-prose p { margin: 0; }
.cx-prose .lead { font-weight: 600; color: var(--ink-900); margin-top: 4px; }
.cx-prose ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.cx-prose li { position: relative; padding-left: 16px; }
.cx-prose li::before { content: ""; position: absolute; left: 2px; top: .82em; width: 6px; height: 1.5px; border-radius: 1px; background: var(--accent); }

/* ---------- 意见、关键判断 ---------- */
.cx-fb-first { border: 1px solid var(--hair-2); background: var(--card); border-radius: var(--r3); box-shadow: var(--shadow-2); padding: 18px 20px; }
.cx-fb-first .kicker { color: var(--orange-ink); font-weight: 600; }
.cx-fb { border: 1px solid var(--hair); border-radius: 14px; background: var(--card); padding: 14px 16px; box-shadow: var(--shadow-1); }
.cx-fb .top b { font-weight: 600; color: var(--ink-900); }
.cx-next { background: var(--accent-50); border-radius: 10px; padding: 8px 12px; color: var(--ink-900); }
.cx-steps li i { border-color: var(--hair-2); color: var(--ink-500); font-variant-numeric: tabular-nums; }
.cx-steps li.done i { background: var(--accent-50); border-color: var(--accent-100); color: var(--accent-700); }
.cx-steps li.now i { background: var(--accent-700); border-color: var(--accent-700); color: #fff; box-shadow: 0 0 0 4px rgba(15, 148, 136, .16); }
.cx-kj-q .ask i { background: var(--paper-2); color: var(--ink-600); }
.cx-kj-q.right .ask i { background: var(--accent-700); color: #fff; }
.cx-kj-q.wrong .ask i { background: var(--card); color: var(--orange-ink); box-shadow: inset 0 0 0 1.5px var(--orange); }

/* ---------- 点亮：这一处是特意设计的动效——青绿从左往右漫过去，一个接一个亮起来 ---------- */
.gx-strip { background: var(--card); border: 1px solid var(--hair-2); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-2); }
.gx-strip .tx b { color: var(--ink-900); font-weight: 600; }
.gx-spark { background: var(--accent-grad); color: #fff; }
.gx-spark svg { fill: #fff; }
.gx-strip .gx-spark.small { animation: gx-bloom 900ms var(--ease) both; }
@keyframes gx-bloom { 0% { transform: scale(.6); box-shadow: 0 0 0 0 rgba(15, 148, 136, .45); } 60% { transform: scale(1.06); box-shadow: 0 0 0 10px rgba(15, 148, 136, 0); } 100% { transform: none; box-shadow: none; } }
.gx-chips { gap: 6px; }
.gx-chip { position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--accent-700); background: var(--card); color: #fff; font-weight: 500; padding: 3px 10px; font-size: 12.5px;
  animation: gx-ink 700ms var(--ease) both; }
.gx-chip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink-900); animation: gx-fill 700ms var(--ease) both; animation-delay: inherit; }
.gx-chip:nth-child(2) { animation-delay: 90ms; } .gx-chip:nth-child(3) { animation-delay: 180ms; } .gx-chip:nth-child(4) { animation-delay: 270ms; }
.gx-chip:nth-child(5) { animation-delay: 360ms; } .gx-chip:nth-child(n+6) { animation-delay: 450ms; }
@keyframes gx-fill { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes gx-ink { from { color: var(--ink-900); } 55% { color: var(--ink-900); } to { color: #fff; } }

/* ---------- 手机 ---------- */
@media (max-width: 860px) {
  .cx-work > .cx-head, .cx-work > .cx-tabs { padding-left: 16px; padding-right: 16px; }
  .cx-work > .cx-head { padding-top: 18px; }
  .cx-work > .cx-head .title b { font-size: 22px; }
  .cx-pane-in { padding-left: 16px; padding-right: 16px; }
  .cx > .cx-rail { background: rgba(246, 250, 252, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    padding-bottom: max(4px, env(safe-area-inset-bottom)); }
  .cx-nav { min-height: 50px; }
  .cx-nav.on { box-shadow: none; background: transparent; }
  .cx-nav.on svg { transform: translateY(-1px); }
  .cx-solo-col .cx-col > .cx-msg:only-child .body > p:first-child { font-size: 24px; }
  .cx-one .cx-card-pad { padding: 20px; }
  .cx-talk > .cx-head { padding: 10px 56px 10px 16px; }
  .cx-side-dir { width: 56px; }
  .cx-side-tab { width: 46px; font-size: 12px; }
  .cx-btn, .cx-goto, .cx-quick button { min-height: 40px; }
}

/* ---------- 各页内容区宽度不同，标题跟着各自的内容区对齐 ---------- */
.cx-work:has(.ge-page) > .cx-head, .cx-work:has(.ge-page) > .cx-tabs { padding-left: max(28px, calc((100% - 1240px) / 2 + 28px)); padding-right: max(28px, calc((100% - 1240px) / 2 + 28px)); }
.cx-work:has(.tw-page) > .cx-head, .cx-work:has(.tw-page) > .cx-tabs { padding-left: max(28px, calc((100% - 1000px) / 2 + 28px)); padding-right: max(28px, calc((100% - 1000px) / 2 + 28px)); }
@media (max-width: 860px) {
  .cx-work:has(.ge-page) > .cx-head, .cx-work:has(.tw-page) > .cx-head { padding-left: 16px; padding-right: 16px; }
}

/* ---------- 职业方向探索：三张方向卡去掉灰底色块和黑圆，靠字和细线分层 ---------- */
.ge-who { background: transparent; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); border-radius: 0; padding: 12px 2px; color: var(--ink-700); font-size: 14px; }
.ge-who i { background: var(--hair-2); }
.ge-card { border: 1px solid var(--hair); border-radius: var(--r3); box-shadow: var(--shadow-1); transition: box-shadow var(--t2) var(--ease), transform var(--t2) var(--ease), border-color var(--t2) var(--ease); }
.ge-card:hover { box-shadow: var(--shadow-2); border-color: var(--hair-2); }
.ge-card header { padding: 20px 20px 14px; align-items: flex-start; }
.ge-card.blue header { background: linear-gradient(180deg, var(--blue-50), rgba(234, 243, 253, 0)); }
.ge-card.teal header { background: linear-gradient(180deg, var(--accent-50), rgba(232, 246, 244, 0)); }
.ge-card.purple header { background: linear-gradient(180deg, var(--purple-50), rgba(240, 239, 252, 0)); }
.ge-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); color: var(--ink-900); box-shadow: none; }
.ge-card.blue .ge-ic { background: var(--blue); color: #fff; box-shadow: 0 6px 14px -6px rgba(43, 125, 224, .6); }
.ge-card.teal .ge-ic { background: var(--accent); color: #fff; box-shadow: 0 6px 14px -6px rgba(15, 148, 136, .6); }
.ge-card.purple .ge-ic { background: var(--purple); color: #fff; box-shadow: 0 6px 14px -6px rgba(124, 111, 214, .6); }
.ge-ic svg { width: 22px; height: 22px; }
.ge-card h3 { font-size: 19px; font-weight: 600; color: var(--ink-900); }
.ge-tags span { background: var(--card); color: var(--ink-600); border: 1px solid var(--hair-2); line-height: 20px; font-weight: 500; }
.ge-card.blue .ge-tags span { background: var(--blue-50); color: var(--blue-ink); border-color: transparent; }
.ge-card.teal .ge-tags span { background: var(--accent-50); color: var(--accent-700); border-color: transparent; }
.ge-card.purple .ge-tags span { background: var(--purple-50); color: var(--purple-ink); border-color: transparent; }
.ge-row { padding: 14px 20px; border-top: 1px solid var(--line2); }
.ge-row b { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.ge-row p { color: var(--ink-600); font-size: 13.5px; }
.ge-row i { color: var(--ink-500); }
.ge-card footer { background: var(--paper); border-top: 1px solid var(--hair); padding: 12px 20px; }
.ge-plan { background: var(--card); border: 1px solid var(--hair); box-shadow: var(--shadow-1); border-radius: var(--r3); padding: 22px 24px; }
.ge-plan h3 { font-size: 19px; font-weight: 600; color: var(--ink-900); }
.ge-step { border: 1px solid var(--hair); background: var(--paper); transition: border-color var(--t2) var(--ease), box-shadow var(--t2) var(--ease), transform var(--t2) var(--ease); }
.ge-step:hover { border-color: var(--hair-3); background: var(--card); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.ge-step i { color: var(--accent-700); }
.ge-step b { font-weight: 600; color: var(--ink-900); }

/* ---------- 看板（学生的探索地图、老师和企业的看板共用） ---------- */
.dk-page { background: var(--paper); padding: 34px 32px 48px; }
.dk-head { margin-bottom: 22px; }
.dk-head h1 { font-size: 26px; line-height: 1.3; font-weight: 600; color: var(--ink-900); letter-spacing: .01em; }
.dk-head p { color: var(--ink-500); font-size: 14px; line-height: 1.7; margin-top: 6px; }
.dk-kpis { gap: 14px; margin-bottom: 16px; }
.dk-kpi { border: 1px solid var(--hair); border-radius: var(--r3); padding: 16px 18px 15px; gap: 6px; box-shadow: var(--shadow-1); transition: box-shadow var(--t2) var(--ease), border-color var(--t2) var(--ease); }
.dk-kpi-label { font-size: 12.5px; font-weight: 500; color: var(--ink-500); letter-spacing: .02em; }
.dk-kpi b { font-size: 32px; line-height: 1.1; font-weight: 600; color: var(--ink-900); letter-spacing: -.01em; }
.dk-kpi b small { color: var(--ink-400); font-weight: 500; }
.dk-kpi-note { font-size: 12.5px; color: var(--ink-500); }
.dk-kpi.dk-pick:hover { border-color: var(--hair-3); box-shadow: var(--shadow-2); }
.dk-grid { gap: 16px; }
.dk-card { border: 1px solid var(--hair); border-radius: var(--r3); padding: 20px 22px; box-shadow: var(--shadow-1); }
.dk-card h3 { font-size: 16px; font-weight: 600; color: var(--ink-900); }
.dk-card header p { color: var(--ink-500); font-size: 13px; line-height: 1.6; }
.dk-empty { color: var(--ink-400); }
.gd-next { border-color: var(--hair-2); background: var(--card); box-shadow: var(--shadow-2); }
.gd-next h3 { font-weight: 600; }

/* 能力图谱：一项一块，三个点；亮了是实心的青绿点，没亮是细圈，不用发光的光晕 */
.gx-node { border: 1px solid var(--hair); border-radius: var(--r2); background: var(--card); padding: 12px 12px 10px; gap: 7px; box-shadow: var(--shadow-1);
  transition: border-color var(--t2) var(--ease), box-shadow var(--t2) var(--ease), transform var(--t2) var(--ease); }
.gx-node:hover { border-color: var(--hair-3); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.gx-node b { font-size: 13.5px; font-weight: 600; color: var(--ink-800); }
.gx-node .dots { gap: 6px; }
.gx-node .dots i { width: 10px; height: 10px; border: 1.5px solid var(--hair-3); background: transparent; }
.gx-node .dots i.l1 { background: var(--accent); border-color: var(--accent); box-shadow: none; }
.gx-node .dots i.l2 { background: var(--accent-800); border-color: var(--accent-800); box-shadow: none; }
.gx-node .lv { color: var(--ink-500); }
.gx-node.some { border-color: var(--hair-2); }
.gx-node.up { background: var(--card); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), var(--shadow-2); }
.gx-node.up .lv { color: var(--accent-700); font-weight: 500; }
.gx-dim-name { font-size: 13px; font-weight: 600; color: var(--ink-500); letter-spacing: .04em; }
.gx-rung { border: 1px solid var(--hair); border-radius: var(--r2); background: var(--card); }
.gx-rung b { color: var(--ink-500); font-weight: 600; }
.gx-rung.on { background: var(--accent-50); border-color: var(--accent-100); }
.gx-rung.on b { color: var(--ink-900); }
.gx-rung.here { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.gx-rung.need { border-style: dashed; border-color: var(--ink-400); }
.gx-rung em, .gx-rung.need em { color: var(--accent-700); font-weight: 600; }
.gx-weeks i { border-radius: 5px; }

/* 首页那句话：两行时两行一样长，不在半个词上断开 */
.cx-solo-col .cx-col > .cx-msg:only-child .body > p:first-child { text-wrap: balance; }
/* 手机做题页：右边资料目录占一条，对话、输入框给它让出位置 */
@media (max-width: 860px) {
  .cx-side-dir { width: 52px; padding: 10px 0; }
  .cx-side-tab { width: 44px; font-size: 12px; min-height: 40px; }
  .cx-talk > .cx-head { padding-right: 64px; }
  .cx-talk .cx-col { padding-right: 64px; }
  .cx-talk .cx-compose-wrap { padding-right: 64px; }
  .cx-side.open .cx-side-body { width: calc(100vw - 52px); }
}

/* ==================== 老师端、企业端（.cs 外框和老页面的通用件） ==================== */
.cs { background: var(--paper); }
.cs > .main { background: var(--paper); }
.cs-rail { background: var(--paper-2); border-right: 1px solid var(--hair); padding: 16px 10px 12px; }
.cs-rail .cs-tab, .cs.slim .cs-rail .cs-tab { height: 42px; border-radius: 10px; color: var(--ink-600); font-size: 14px; font-weight: 500;
  transition: background-color var(--t2) var(--ease), color var(--t2) var(--ease); }
.cs-rail .cs-tab svg { width: 19px; height: 19px; }
.cs-rail .cs-tab:hover { background: rgba(18, 48, 90, .045); color: var(--ink-900); }
.cs-rail .cs-tab.on { background: var(--accent-50); color: var(--accent-700); font-weight: 600; box-shadow: none; }
.cs-rail .cs-tab.on::before { background: var(--accent); }
.cs > .cs-list { background: var(--paper); border-right: 1px solid var(--hair); }
.cs-row { transition: background-color var(--t1) var(--ease); }
.cs-row.on { background: var(--accent-50); box-shadow: none; }

.card { border: 1px solid var(--hair); border-radius: var(--r3); box-shadow: var(--shadow-1); }
.card-head { border-bottom: 1px solid var(--hair); }
.card.soft { background: var(--paper-2); }
.btn { height: 38px; padding: 0 18px; border-radius: 10px; font-weight: 500; letter-spacing: .02em; background: var(--card); color: var(--ink-900); border: 1px solid var(--hair-2); box-shadow: var(--shadow-1);
  transition: background-color var(--t2) var(--ease), border-color var(--t2) var(--ease), box-shadow var(--t2) var(--ease), transform var(--t1) var(--ease); }
.btn:hover:not(:disabled) { background: var(--paper); border-color: var(--hair-3); }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.985); box-shadow: none; }
.btn.primary { background: var(--accent-grad); border-color: transparent; color: #fff; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(11, 120, 112, .3); }
.btn.primary:hover:not(:disabled) { background: var(--accent-grad-hover); border-color: transparent; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 10px 22px -10px rgba(14, 133, 122, .62); }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--ink-500); }
.btn.ghost:hover:not(:disabled) { background: rgba(18, 48, 90, .05); color: var(--ink-900); }
.btn.line { background: var(--card); border-color: var(--hair-2); }
.btn.small { height: 32px; border-radius: var(--r1); }
.btn:focus-visible, .chip:focus-visible { outline: none; box-shadow: var(--ring); }
.chip { border-color: var(--hair-2); background: var(--card); color: var(--ink-700); font-weight: 500; transition: border-color var(--t2) var(--ease), color var(--t2) var(--ease); }
.chip:hover { border-color: var(--accent-200); background: var(--accent-50); color: var(--accent-700); }
.input, .textarea, .select { border: 1px solid var(--hair-2); border-radius: var(--r2); box-shadow: var(--shadow-1); transition: border-color var(--t2) var(--ease), box-shadow var(--t2) var(--ease); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--hair-3); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); box-shadow: var(--glow); }
.field > span { color: var(--ink-500); font-weight: 500; }

/* ==================== 平台首页（三种身份进门）：第一次来的人看的，靠大字和留白说话 ==================== */
.center-wrap { background: radial-gradient(1100px 520px at 88% -12%, rgba(15, 148, 136, .09), transparent 62%),
  radial-gradient(900px 440px at -8% 4%, rgba(43, 125, 224, .07), transparent 58%), var(--paper); place-items: center; padding: 56px 24px; }
.center-wrap::before { display: none; }
.home { width: min(1080px, 100%); gap: 0; }
.home-head { align-items: flex-start; text-align: left; gap: 0; padding-bottom: 44px; border-bottom: 1px solid var(--hair); }
.home-brand { margin-bottom: 52px; }
.home-brand .qy-brand img { height: 44px; }
.home-head h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.16; font-weight: 600; color: var(--ink-900); letter-spacing: .005em; max-width: 13em; text-wrap: balance; }
.home-sub { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: var(--ink-500); margin-top: 18px; max-width: 34em; }
.home-head > .small.faint { margin-top: 10px; font-size: 13px; color: var(--ink-400); }
.role-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.role-card, .role-card.card { position: relative; border: 0; border-radius: 0; box-shadow: none; background: transparent; padding: 34px 32px 30px; gap: 12px;
  transition: background-color var(--t3) var(--ease); }
.role-card + .role-card { border-left: 1px solid var(--hair); }
.role-card:first-child { padding-left: 0; }
.role-card:last-child { padding-right: 0; }
.role-card:hover { background: linear-gradient(180deg, rgba(18, 48, 90, .025), rgba(18, 48, 90, 0) 70%); }
.role-tag, .role-tag.enterprise, .role-tag.teacher { border: 0; padding: 0; font-size: 24px; line-height: 1.3; font-weight: 600; color: var(--ink-900); letter-spacing: .02em; background: none; }
/* 11-10 三张卡顶上的短线一律灰色：青绿只给要按的、当前位置、点亮，不做装饰 */
.role-tag::before, .role-tag.enterprise::before, .role-tag.teacher::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; margin-bottom: 16px; background: var(--hair-3); }
.role-say { font-size: 15px; line-height: 1.85; color: var(--ink-700); min-height: 5.6em; }
.role-who { font-size: 13px; color: var(--ink-400); margin-top: 4px; }
.role-go { align-self: flex-start; height: 46px; padding: 0 22px; margin-top: 8px; font-size: 15px; }
.role-go::after { content: "→"; display: inline-block; margin-left: 2px; transition: transform var(--t2) var(--ease); }
.role-card:hover .role-go::after { transform: translateX(3px); }
.role-card:not(:first-child) .role-go { background: var(--card); color: var(--ink-900); border: 1px solid var(--hair-2); box-shadow: var(--shadow-1); font-weight: 600; }
.role-card:not(:first-child) .role-go:hover:not(:disabled) { background: var(--accent-700); border-color: var(--accent-700); color: #fff; }
.role-reg { align-self: flex-start; color: var(--ink-500); padding: 2px 0; font-size: 13.5px; }
.role-reg:hover { color: var(--accent-700); }
.home-steps { text-align: left; max-width: 70ch; color: var(--ink-500); line-height: 1.8; margin-top: 18px; }
.home-steps:first-of-type { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--hair); }
.home-steps .role-reg { color: var(--accent-700); font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent-200); text-underline-offset: 4px; }
.home-reg { border-radius: var(--r3); margin-top: 24px; }
/* 进门那一下：大标题先到，三列跟着一列一列出来（只这一页，只第一次） */
.home-head h1, .home-sub { animation: cx-rise 700ms var(--ease) both; }
.home-sub { animation-delay: 80ms; }
.role-card { animation: cx-rise 700ms var(--ease) both; }
.role-card:nth-child(1) { animation-delay: 160ms; } .role-card:nth-child(2) { animation-delay: 240ms; } .role-card:nth-child(3) { animation-delay: 320ms; }
@media (max-width: 860px) {
  .center-wrap { padding: 32px 20px; place-items: start center; }
  .home-brand { margin-bottom: 32px; }
  .home-head { padding-bottom: 28px; }
  .role-grid { grid-template-columns: minmax(0, 1fr); }
  .role-card, .role-card.card, .role-card:first-child, .role-card:last-child { padding: 26px 0 24px; }
  .role-card + .role-card { border-left: 0; border-top: 1px solid var(--hair); }
  .role-say { min-height: 0; }
}

/* ---------- 作品集、数字孪生（11-05 逐页看过以后补的） ---------- */
.cx-card-foot { background: var(--card); }
.dk-lv { gap: 3px; align-items: center; }
.dk-lv i { width: 9px; height: 4px; border-radius: 2px; background: var(--hair-2); }
.dk-lv i.on { background: var(--accent); }
.ge-works-top { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r3); box-shadow: var(--shadow-1); padding: 16px 22px; gap: 32px; }
.ge-num b { font-weight: 600; letter-spacing: -.01em; }
.ge-works { gap: 16px; }
.ge-work { transition: border-color var(--t2) var(--ease), box-shadow var(--t2) var(--ease), transform var(--t2) var(--ease); }
.ge-work:hover { box-shadow: var(--shadow-2); transform: translateY(-1px); }
.ge-work.on { border-color: var(--hair-3); }
.ge-work h3 { font-weight: 600; }
.ge-work h3 a { color: var(--ink-900); text-decoration: none; }
.ge-work h3 a:hover { text-decoration: underline; }
/* 公开给企业：是开关，就画成开关 */
.ge-switch { gap: 12px; }
.ge-switch input { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 36px; height: 22px; margin: 0; border-radius: 999px; background: var(--hair-2); cursor: pointer; transition: background-color var(--t2) var(--ease); }
.ge-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(18, 48, 90, .25); transition: transform var(--t3) var(--ease); }
.ge-switch input:checked { background: var(--accent-700); }
.ge-switch input:checked::after { transform: translateX(14px); }
.ge-switch input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ge-switch b { color: var(--ink-900); font-weight: 600; }

.tw-who h2 { font-weight: 600; }
.tw-nums b { font-weight: 600; letter-spacing: -.01em; }
.tw-match { border-color: var(--hair); border-radius: var(--r2); background: var(--card); }
.tw-match.current { border-color: var(--accent-200); background: linear-gradient(180deg, var(--accent-50), var(--card) 70%); }
.tw-key { border-radius: 6px; }
.tw-key.met { background: var(--accent-700); color: #fff; border-color: var(--accent-700); }
.tw-key.up { background: var(--accent-100); color: var(--accent-800); border-color: var(--accent-100); }
.tw-key.lit { background: var(--blue-50); color: var(--blue-ink); border-color: var(--blue-50); }
.tw-key.none { background: transparent; color: var(--ink-500); border: 1px dashed var(--hair-3); }
.tw-key.off { background: var(--paper-2); color: var(--ink-400); }
.tw-phone-row { border-top-color: var(--hair); }
.tw-phone-row.key span { font-weight: 600; color: var(--ink-900); }
.tw-gaps b { font-weight: 600; }

/* 测评首页：一张卡的事，用一栏窄的，标题和这一栏对齐 */
.cx-pane-in.ge-page.xm-one { max-width: 760px; }
.cx-work:has(.xm-one) > .cx-head { padding-left: max(28px, calc((100% - 760px) / 2 + 28px)); padding-right: max(28px, calc((100% - 760px) / 2 + 28px)); }
.xm-one .xm-intro { background: none; border: 0; padding: 0; font-size: 15px; line-height: 1.85; color: var(--ink-600); max-width: 40em; }
.xm-one .xm-say { margin: 18px 0 -2px; font-size: 14px; color: var(--ink-500); }
.xm-one .cx-one { max-width: none; }
.xm-folds { gap: 6px 26px; padding-top: 2px; }
@media (max-width: 860px) { .cx-work:has(.xm-one) > .cx-head { padding-left: 16px; padding-right: 16px; } }

/* ---------- 单选、多选：和整套一样的墨色，不用浏览器自带的灰圈 ---------- */
input[type="radio"], input[type="checkbox"]:not([role="switch"]) {
  appearance: none; -webkit-appearance: none; flex: none; width: 16px; height: 16px; margin: 0; display: inline-grid; place-content: center;
  background: var(--card); border: 1.5px solid var(--hair-3); cursor: pointer; vertical-align: -3px;
  transition: border-color var(--t1) var(--ease), background-color var(--t1) var(--ease), box-shadow var(--t1) var(--ease);
}
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]:not([role="switch"]) { border-radius: 4px; }
input[type="radio"]:hover, input[type="checkbox"]:not([role="switch"]):hover { border-color: var(--accent); }
input[type="radio"]:checked { border-color: var(--accent-700); background: var(--accent-700); box-shadow: inset 0 0 0 3.5px var(--card); }
input[type="checkbox"]:not([role="switch"]):checked { border-color: var(--accent-700); background: var(--accent-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
input[type="radio"]:disabled, input[type="checkbox"]:not([role="switch"]):disabled { opacity: .45; cursor: not-allowed; }
input[type="radio"]:focus-visible, input[type="checkbox"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.xm-opt { gap: 10px; padding: 7px 10px; margin: 0 -10px; border-radius: var(--r1); transition: background-color var(--t1) var(--ease); }
.xm-opt input { margin-top: 4px; }
.xm-opt:hover { background: var(--paper); }
.xm-opt:has(input:checked) { background: var(--accent-50); color: var(--ink-900); }

/* ---------- 折叠：去掉浏览器自带的黑三角，换成细的折角，展开时转下来 ---------- */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details:not(.ti-fold):not(.figures) > summary:not(.card-head)::before {
  content: ""; display: inline-block; flex: none; width: 6px; height: 6px; margin: 0 10px 0 2px; vertical-align: 2px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); opacity: .7;
  transition: transform var(--t2) var(--ease);
}
details:not(.ti-fold):not(.figures)[open] > summary:not(.card-head)::before { transform: rotate(45deg); vertical-align: 4px; }
details > summary:hover { color: var(--accent-700); }
.zn-rules summary { font-weight: 600; color: var(--ink-900); }

/* 导航上「有新点亮」的小点：贴着图标的右上角，竖栏和手机底栏都一样（原来按右边量，底栏一宽就飘到两项中间） */
.cx-nav .dot { position: absolute; top: 6px; left: calc(50% + 5px); right: auto; margin: 0; }

/* 「点亮」改成一道干净的擦除（11-05 逐帧看过）：原来墨色先铺满、字后变白，中间有一小段整块黑、字看不见。
   现在底下是白底墨字，上面一层是墨底白字，从左往右揭开；任何一帧左边白字、右边墨字，都读得出来。 */
.gx-chip { animation: none; color: var(--accent-700); background: var(--card); }
.gx-chip::before { content: none; animation: none; }
.gx-chip::after {
  content: attr(data-label); content: attr(data-label) / "";
  position: absolute; inset: 0; display: flex; align-items: center; padding: inherit; white-space: nowrap;
  background: var(--accent-700); color: #fff; animation: gx-fill 760ms var(--ease) both; animation-delay: inherit;
}

/* 首页底下「看一名做过题的学生」：跟着整页左对齐，是一条带箭头的链接，不是居中的一行粗字 */
.home-sample { margin-bottom: 0; }
.home-sample .role-reg { font-size: 14px; padding: 0; }
.home-sample .role-reg::after { content: " →"; display: inline-block; transition: transform var(--t2) var(--ease); }
.home-sample .role-reg:hover::after { transform: translateX(3px); }
.home-steps.muted { margin-top: 8px; }
.home .small.faint { font-size: 13px; }
.home-sample { max-width: none; }
.home-sample .role-reg { text-align: left; line-height: 1.7; }

/* ---------- 课程原版练习、专区课题在旧外壳里打开时（新版的学生，11-05 用户：「好，接着改」） ----------
   跟新版做题页一个样子：左边一条窄的导航（图标上、名字下），不放那一列头像，剩下的地方全给这道题。 */
.cs.hosted > .cs-list, .cs.hosted .cs-list-btn { display: none !important; }
@media (min-width: 861px) {
  .cs.hosted, .cs.hosted.slim { grid-template-columns: 80px minmax(0, 1fr) !important; }
  .cs.hosted > .main { grid-column: 2; }
  .cs.hosted > .cs-rail { align-items: center; gap: 2px; padding: 16px 8px 14px; background: var(--paper-2); border-right: 1px solid var(--hair); }
  .cs.hosted .cs-rail-logo { display: flex; justify-content: center; padding: 0 0 18px; }
  .cs.hosted .cs-rail-logo .cs-rail-full { display: none; }
  .cs.hosted .cs-rail-logo .cs-rail-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r2); background: var(--card);
    box-shadow: var(--shadow-1), inset 0 0 0 1px var(--hair); transition: transform var(--t2) var(--ease), box-shadow var(--t2) var(--ease); }
  .cs.hosted .cs-rail-logo:hover .cs-rail-icon { transform: translateY(-1px); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--hair); }
  .cs.hosted .cs-rail-logo .cs-rail-icon img, .cs.hosted .cs-rail-logo .cs-rail-icon svg { width: 26px; height: 26px; }
  .cs.hosted .cs-rail .cs-tabs { align-items: center; gap: 2px; width: 100%; }
  .cs.hosted .cs-rail .cs-tab, .cs.hosted.slim .cs-rail .cs-tab { flex-direction: column; justify-content: center; gap: 5px; width: 64px; height: auto; padding: 9px 0 8px;
    border-radius: var(--r2); font-size: 11.5px; font-weight: 500; letter-spacing: .02em; color: var(--ink-500); }
  .cs.hosted .cs-rail .cs-tab span { display: inline; }
  .cs.hosted .cs-rail .cs-tab svg { width: 20px; height: 20px; transition: transform var(--t2) var(--ease); }
  .cs.hosted .cs-rail .cs-tab:hover { background: rgba(18, 48, 90, .045); color: var(--ink-800); }
  .cs.hosted .cs-rail .cs-tab:active svg { transform: scale(.92); }
}
/* 手机：底下一排导航。原来打开一道题时（外壳是「窄」的样子）几项竖着叠成一列，占掉小半屏，这里改回一排 */
@media (max-width: 760px) {
  .cs.slim .cs-rail .cs-tabs { flex-direction: row; align-items: stretch; padding: 0; gap: 0; width: 100%; }
}
/* 学生从新版打开的题：860 以下跟新版一样，导航在底下一排 */
@media (max-width: 860px) {
  .cs.hosted, .cs.hosted.slim { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: minmax(0, 1fr) auto !important; }
  .cs.hosted > .main { grid-column: 1; grid-row: 1; }
  .cs.hosted > .cs-rail { grid-column: 1; grid-row: 2; flex-direction: row; align-items: stretch; gap: 0; overflow: visible;
    padding: 2px 4px calc(2px + env(safe-area-inset-bottom)); border-right: 0; border-top: 1px solid var(--hair);
    background: rgba(246, 250, 252, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
  .cs.hosted .cs-rail-logo { display: none; }
  .cs.hosted .cs-rail .cs-tabs { flex-direction: row; align-items: stretch; padding: 0; gap: 0; width: 100%; }
  .cs.hosted .cs-rail .cs-gap { display: none; }
  .cs.hosted .cs-rail .cs-tab, .cs.hosted.slim .cs-rail .cs-tab { flex: 1 1 0; min-width: 0; width: auto; max-width: none; height: 54px; flex-direction: column; justify-content: center; gap: 3px;
    padding: 0; font-size: 10.5px; font-weight: 500; color: var(--ink-500); border-radius: var(--r1); }
  .cs.hosted .cs-rail .cs-tab span { display: inline; }
  .cs.hosted .cs-rail .cs-tab svg { width: 20px; height: 20px; }
}
/* 761–860：老外壳原来在这一段把竖栏挪到底下一排，又没把它横过来，竖着的一条掉在左下角，内容只占上半屏
   （老师、企业端在平板竖着拿时都这样）。老师、企业端在这一段照电脑上的窄竖栏放回左边。 */
@media (min-width: 761px) and (max-width: 860px) {
  .cs:not(.hosted) { grid-template-rows: minmax(0, 1fr) !important; }
  .cs:not(.hosted) > .cs-rail, .cs:not(.hosted) > .cs-list, .cs:not(.hosted) > .main { grid-row: 1; }
  .cs:not(.hosted) .cs-rail-logo { display: flex; justify-content: center; padding: 4px 0 12px; }
}
/* 老师端手机底栏有八项，四个字的名字原来折成两行（「学情看 / 板」）；字小一号、不折行，八项一排放得下 */
@media (max-width: 760px) {
  .cs:not(.hosted) .cs-rail .cs-tab span { white-space: nowrap; font-size: 10px; letter-spacing: 0; overflow: hidden; max-width: 100%; }
}
/* 旧版做题页（北大专区的课题在这里做）原来在手机上也是左右两半，右半边挂在屏幕外、整页能横着拖。
   和课程原版练习一样改成上下两屏：先是和青云的对话，往下翻是作品和课题资料 */
@media (max-width: 760px) {
  .tp-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: 100% 100%; overflow-y: auto; scroll-snap-type: y proximity; overscroll-behavior: contain; }
  .tp-body > .tp-talk, .tp-body > .tp-studio { min-width: 0; scroll-snap-align: start; }
  .tp-body > .tp-talk { border-right: 0; }
  .tp-body > .tp-studio { border-top: 1px solid var(--hair); }
}
/* 1180 以下老师、企业端左边是一条窄的竖栏（64 像素）：图标在上、名字在下、小一号字。
   前面给宽竖栏定的 42 像素高、14 号字压过了这一档，窄栏里名字折成两行（「学情看 / 板」），这里按窄栏重新定 */
@media (min-width: 761px) and (max-width: 1180px) {
  .cs:not(.hosted) .cs-rail { padding: 12px 4px; }
  .cs:not(.hosted) .cs-rail .cs-tabs { align-items: center; gap: 2px; }
  .cs:not(.hosted) .cs-rail .cs-tab, .cs.slim:not(.hosted) .cs-rail .cs-tab { flex-direction: column; justify-content: center; gap: 4px; width: 56px; height: auto; min-height: 54px;
    padding: 8px 0 7px; font-size: 11px; font-weight: 500; }
  .cs:not(.hosted) .cs-rail .cs-tab span { white-space: nowrap; }
  .cs:not(.hosted) .cs-rail .cs-tab.on::before { left: -4px; }
}

/* 11-05 配色回来以后逐页查了对比度：白字直接放在原色青绿上只有 3.7:1，改放深一档的；金色星星换成深一点的琥珀 */
.cs-mark.brand:not(:has(svg)), .cs-mark:not(:has(svg)) { background: var(--accent-grad); }
.gx-legend .star, .gx-node .star { color: var(--amber-ink); }

/* ---------- 11-05 配色独立复查后补的（三位 Claude 分头查、两位 Claude 试着推翻） ---------- */
/* 已达到岗位要求的能力：青绿实心块、白字（原来被设成白底，白字白底看不见名字） */
.gx-node.met { background: var(--accent-700); border-color: var(--accent-700); box-shadow: var(--shadow-2); }
.gx-node.met b, .gx-node.met .lv { color: #fff; }
.gx-node.met .dots i.l1, .gx-node.met .dots i.l2 { background: #fff; border-color: #fff; }
.gx-node.met .dots i:not(.l1):not(.l2) { background: transparent; border-color: rgba(255, 255, 255, .6); }
.gx-node.met .star { color: #fde68a; }
.gx-node.some { border-color: var(--accent-200); }
/* 步骤和「我的路」：做完的是青绿实心圆加对勾，正在做的是蓝圈（设计体系的三种状态，原来反了） */
.cx-steps li.done i, .tg-stops li.done i { background: var(--accent-700); border-color: var(--accent-700); color: #fff; }
.cx-steps li.now i, .tg-stops li.now i { background: var(--card); border: 2px solid var(--blue); color: var(--blue-ink); box-shadow: 0 0 0 4px var(--blue-50); }
/* 白字不放在原色青绿上 */
.bd-step b, .bf-step b em, .k-p i { background: var(--accent-700); }
.tg-node.met { background: var(--accent-700); border-color: var(--accent-700); }
.xm-cell.l2 small, .xm-point.l2 small, .dk-exam-items .l2 small { color: #fff; }
/* 未达到用灰，不用红（老师、企业端的徽章，作品里标出的句子也一样） */
.badge.bad { background: var(--card); color: var(--ink-500); box-shadow: inset 0 0 0 1px var(--hair-2); }
.pin-chip.missing { border-color: var(--hair-3); background: var(--paper-2); color: var(--ink-600); }
.pin-mark.missing { background: var(--paper-3); }
.pin-note.missing { border-left-color: var(--hair-3); }
.cx-kj-q.wrong .ask i { color: var(--ink-500); box-shadow: inset 0 0 0 1.5px var(--hair-3); }
.xm-items li.none span { color: var(--ink-500); }
.xm-items li.some span { color: var(--amber-ink); }
/* 提醒一律是橙色：字用深一档，「有新东西」的小点都用同一个橙 */
.xm-over { color: var(--orange-ink) !important; }
.cx-recent .dot, .cx-tab .dot, .cx-row .dot, .cx-quiet .dot, .cx-more-list .dot, .cs-dot { background: var(--orange); }
.cx-fb-first { background: var(--orange-50); border-color: #f6cdb4; }
/* 职业发展的「岗位要求」那一级：琥珀虚线（还没到），和「你在这里」的青绿分开 */
.gx-rung.need { border-style: dashed; border-color: var(--amber-fill); }
.gx-rung.need em { color: var(--amber-ink); }
.tg-star { color: var(--amber-ink); }
/* 关键能力四档：一个色相从深到浅（原来第三档跑成了蓝） */
.tw-key.up { background: var(--accent-200); color: var(--accent-800); border-color: var(--accent-200); }
.tw-key.lit { background: var(--accent-50); color: var(--accent-800); border-color: var(--accent-50); }
/* 青绿只给要按的、当前在哪、点亮：自己说的话、列表的小横、提示框回到浅蓝灰 */
.cx-msg.me .bubble { background: var(--paper-3); }
.cx-prose li::before { background: var(--ink-300); }
.cx-next { background: var(--paper-2); }
/* 职业方向探索：学生那一条浅蓝，探索计划青绿到蓝的浅渐变（照设计稿 2） */
.ge-who { background: var(--blue-50); border: 0; border-radius: var(--r2); padding: 11px 18px; color: var(--ink-900); }
.ge-who i { background: #b9cde3; }
.ge-plan { background: linear-gradient(90deg, var(--accent-50), var(--blue-50)); border: 0; box-shadow: none; }
.ge-step { background: var(--card); }
.ge-work.on { border-color: var(--accent-200); }
/* 招聘考察：正在生成是蓝（进行中），没读完是灰 */
.dk-tag.st-进行 { background: var(--blue-50); color: var(--blue-ink); }
.dk-tag.st-失败 { background: var(--paper-2); color: var(--ink-500); }
/* 题目里「这道题看哪些能力」的编号：深一档的青绿（原色写小字只有 3.6:1） */
.look b { color: var(--accent-700); }
.tg-star { color: #8a5506; }  /* 老师「完整记录」里的星落在浅青绿块上，琥珀再深一点（4.4:1 → 5:1 以上） */
