/* 工具页保持安静的阅读背景；品牌首页与全局动效不变。 */
body::before, body::after { display:none; }
.wrap.wb { max-width:1440px; }
.ws-current { display:flex; gap:8px 24px; flex-wrap:wrap; padding:12px 0; border-block:1px solid var(--line); }
.ws-current p { font-size:var(--fs-sm); color:var(--ink-2); overflow-wrap:anywhere; }
.ws-current p:first-child { font-weight:calc(650 - var(--polish-weight-adjust)); color:var(--ink); }
#workspaceNext[aria-disabled="true"] { opacity:.55; cursor:not-allowed; }
.ws-controls #workspaceNext { margin-left:auto; }
.ws-tabs button { white-space:nowrap; }
@media (max-width:640px) { .ws-controls #workspaceNext { margin-left:0; } .ws-current { gap:6px; } }

/* workbench.html 的页面样式（2026-10 样式收敛时从页面 <style> 原样搬出） */
/* 工作区只包裹既有产物，看板仍在自己的区域横向滚动。 */
.ws-controls { display:flex; align-items:end; gap:12px; flex-wrap:wrap; }
.ws-controls .wb-field { flex:1 1 260px; max-width:460px; }
.ws-layout { display:grid; grid-template-columns:clamp(340px,30vw,460px) minmax(0,1fr); gap:24px; align-items:start; }
.ws-layout.assistant-closed { grid-template-columns:minmax(0,1fr); }
.ws-assistant[hidden] { display:none; }
.ws-assistant { position:sticky; top:84px; display:flex; flex-direction:column; gap:14px; border:1px solid transparent; border-radius:var(--r-card); padding:18px; background:var(--polish-layer-2); height:calc(100dvh - 220px); min-height:460px; min-width:0; }
.ws-context { display:grid; gap:6px; flex:none; }
.ws-context h2 { font-size:var(--fs-lg); }
.ws-context p { font-size:var(--fs-sm); color:var(--ink-2); overflow-wrap:anywhere; }
.ws-context .btn-row { flex-wrap:wrap; }
.ws-conversation { overflow:auto; min-height:0; flex:1; display:grid; gap:12px; align-content:start; }
.ws-conversation article { display:grid; gap:8px; padding:12px; border:1px solid transparent; border-radius:var(--r-control); background:var(--polish-layer-2); overflow-wrap:anywhere; }
.ws-conversation article[data-assistant-role="user"] { background:var(--accent-soft); }
.ws-conversation p { white-space:pre-wrap; font-size:var(--fs-base); }
.ws-conversation button { font:inherit; font-size:var(--fs-sm); text-align:left; min-height:44px; padding:8px 10px; border:1px solid transparent; border-radius:var(--r-control); background:var(--polish-layer-2); color:var(--ink); cursor:pointer; }
.ws-conversation label { display:grid; gap:6px; }
.ws-conversation input { width:100%; min-height:44px; font:inherit; padding:8px; border:1px solid var(--control-line); background:var(--polish-field); color:var(--ink); border-radius:var(--r-control); }
.ws-composer { display:grid; gap:10px; flex:none; }
.ws-composer .btn-row { justify-content:space-between; flex-wrap:wrap; }
.ws-products { min-width:0; display:grid; gap:16px; }
.ws-tabs { display:flex; overflow:auto; border-bottom:1px solid var(--line); gap:6px; }
.ws-tabs button { flex:none; font:inherit; font-size:var(--fs-base); min-height:44px; padding:10px 12px; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--muted); cursor:pointer; }
.ws-tabs button[aria-selected="true"] { border-bottom-color:var(--accent); color:var(--accent); }
.ws-board { display:grid; gap:16px; min-width:0; }
.ws-board > * { min-width:0; }
.ws-summary { display:grid; gap:14px; padding:22px; border:1px solid transparent; border-radius:var(--r-card); background:var(--polish-layer-2); }
.ws-summary h2 { font-size:var(--fs-xl); }
.ws-summary p { color:var(--ink-2); overflow-wrap:anywhere; }
.ws-summary .btn-row { flex-wrap:wrap; }
.ws-pick { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.ws-pick select { flex:1 1 200px; min-width:0; font:inherit; font-size:var(--fs-base); color:var(--ink); background:var(--polish-field); border:1px solid var(--control-line); border-radius:var(--r-control); padding:9px 12px; min-height:44px; }
.ws-pick select:focus { outline:2px solid transparent; border-color:transparent; box-shadow:var(--polish-focus); outline-offset:2px; }
.ws-summary li .btn { margin-left:6px; }
.ws-mobile-toggle { display:none; }
#workspace-find .wb-finder { position:static; width:100%; max-height:none; margin:0; box-shadow:none; }
@media (max-width:1100px) { .ws-products .wb-fields { grid-template-columns:minmax(0,1fr) minmax(0,1fr); } .ws-products .wb-search,.ws-products .wb-dates { grid-column:1 / -1; } }
@media (max-width:900px) {
  .ws-layout { grid-template-columns:minmax(0,1fr); }
  .ws-mobile-toggle { display:inline-flex; }
  #assistantToggle { display:none; }
  .ws-layout[data-view="products"] .ws-assistant { display:none; }
  .ws-layout[data-view="assistant"] .ws-products { display:none; }
  .ws-assistant { position:static; height:calc(100dvh - 180px); min-height:420px; }
}
.wb { display: grid; gap: 16px; padding-block: 24px 48px; min-width: 0; }
.wb > * { min-width: 0; }
.wb-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wb-head h1 { font-size: var(--h1-tool); }
/* 工作区入口卡片（右侧内容区、标签上方，不推低左侧求职助手）：简历诊断 / 找岗位 / 网申投递 / 面试准备（含笔试练习、AI 助手）；一句话说明 + 直达对应栏目 */
.wb-go { margin-bottom: 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(208px, 1fr)); gap: 12px; }
.wb-card { display: flex; align-items: flex-start; gap: 12px; min-width: 0; min-height: 44px; padding: 14px 16px; border: 0; border-radius: var(--r-card); background: color-mix(in srgb, var(--ink) 2%, var(--surface)); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background .2s ease; }
.wb-card[hidden] { display: none; }
.wb-go button.wb-card { align-items: flex-start; justify-content: flex-start; }
.wb-go .wb-card small { color: var(--muted); font-weight: calc(400 - var(--polish-weight-adjust)); }
.wb-card-group { flex-direction: column; align-items: stretch; gap: 10px; cursor: default; }
.wb-card-main { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; color: inherit; }
a.wb-card:hover, button.wb-card:hover, .wb-card-group:has(.wb-card-main:hover) { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.wb-card:hover, .wb-card-main:hover { text-decoration: none; }
.wb-card svg { width: 22px; height: 22px; flex: none; margin-top: 1px; stroke: var(--accent); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.wb-card strong { display: block; font-size: var(--fs-lg); font-weight: calc(650 - var(--polish-weight-adjust)); line-height: 1.4; }
.wb-card small { display: block; margin-top: 2px; font-size: var(--fs-sm); line-height: 1.5; color: var(--muted); }
.wb-card-sub { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 34px; }
.wb-card-sub a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-2); font-size: var(--fs-sm); font-weight: calc(650 - var(--polish-weight-adjust)); }
.wb-card-sub a:hover { text-decoration: none; color: var(--accent); }
.wb-card-sub svg { width: 14px; height: 14px; margin: 0; stroke: currentColor; }
.wb-iv { font-size: var(--fs-base); font-weight: calc(650 - var(--polish-weight-adjust)); display: inline-flex; align-items: center; min-height: 44px; padding-left: 34px; }
/* 矮窗口电脑：说明文字收起、留标题和次级入口，入口不挤占助手和内容区 */
@media (min-width: 641px) and (max-height: 700px) {
  .wb-card { padding: 10px 14px; }
  .wb-card small { display: none; }
  .wb-card-group { gap: 6px; }
}
/* 手机：两列、只留标题，说明文字收起，避免入口把工作区挤到首屏以下 */
@media (max-width: 640px) {
  .wb-go { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .wb-card { padding: 12px; gap: 8px; }
  .wb-card-main { gap: 8px; }
  .wb-card small { display: none; }
  .wb-card svg { width: 20px; height: 20px; }
  .wb-card-sub { padding-left: 0; gap: 6px; }
  .wb-card-sub a { min-height: 44px; padding: 0 10px; }
}

/* 提示横幅 */
.wb-tip { display: flex; align-items: center; gap: 12px; padding: 12px 8px 12px 16px; border: 1px solid transparent; border-radius: var(--r-card); background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); }
.wb-tip > svg { width: 22px; height: 22px; flex: none; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wb-tip p { flex: 1; min-width: 0; font-size: var(--fs-base); color: var(--ink-2); }
.wb-tip p b { color: var(--ink); }
.wb-tip a { font-size: var(--fs-base); font-weight: calc(650 - var(--polish-weight-adjust)); white-space: nowrap; margin-left: 10px; }
.wb-x { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: var(--r-control); background: none; color: var(--muted); cursor: pointer; }
.wb-x:hover { background: var(--surface-2); color: var(--ink); }
.wb-x svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; }

/* 示例说明 / 解锁 */
.wb-demo { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 12px 16px; border: 1px dashed var(--warn); border-radius: var(--r-card); background: var(--warn-soft); color: var(--ink-2); font-size: var(--fs-base); }
.wb-demo p { flex: 1 1 220px; }
.wb-unlock { display: grid; gap: 12px; max-width: 560px; }
.wb-unlock h2 { font-size: var(--fs-2xl); }
.wb-unlock p { color: var(--ink-2); }
.wb-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.wb-field { display: grid; gap: 5px; flex: 1 1 220px; min-width: 0; }
.wb-field > span { font-size: var(--fs-sm); color: var(--muted); }
.wb-input, .wb-field input, .wb-field select {
  width: 100%; min-width: 0; font: inherit; font-size: var(--fs-md); color: var(--ink); background: var(--polish-field); border: 1px solid transparent; border-radius: var(--r-control); padding: 9px 12px; min-height: 42px;
}
.wb-input:focus, .wb-field input:focus, .wb-field select:focus { outline: 2px solid transparent; border-color: transparent; box-shadow: var(--polish-focus); outline-offset:2px; }
.msg { font-size: var(--fs-base); color: var(--muted); }
.msg.err { color: var(--danger-text); }
.msg:empty { display: none; }

/* 顶部：数量 + 标签 + 视图 + 添加 */
.wb-top { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 0; }
.wb-count { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 14px; border: 1px solid transparent; border-radius: var(--r-control); background: var(--accent-soft); color: var(--accent); font-size: var(--fs-sm); font-weight: calc(650 - var(--polish-weight-adjust)); margin-bottom: 10px; }
.wb-count b { font-size: var(--fs-3xl); font-weight: calc(800 - var(--polish-weight-adjust)); line-height: 1.1; }
.wb-tabs { display: flex; gap: 22px; align-self: stretch; }
.wb-tabs button { font: inherit; font-size: var(--fs-md); font-weight: calc(650 - var(--polish-weight-adjust)); color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 2px 12px; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 5px; }
.wb-tabs button b { font-size: var(--fs-xs); font-weight: calc(600 - var(--polish-weight-adjust)); color: var(--muted); }
.wb-tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.wb-tabs button:hover { color: var(--accent); }
.wb-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.wb-seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid transparent; border-radius: calc(var(--r-sm) + 3px); background: var(--polish-layer-2); }
.wb-seg button { font: inherit; font-size: var(--fs-base); font-weight: calc(650 - var(--polish-weight-adjust)); color: var(--ink-2); background: none; border: 0; border-radius: var(--r-sm); padding: 6px 12px; min-height: 36px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.wb-seg button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
.wb-seg svg, .wb-link svg, .wb-icon svg, .wb-search svg, .wb-view svg { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 筛选 */
.wb-filters { display: grid; gap: 10px; }
.wb-fields { display: grid; grid-template-columns: minmax(170px, 2fr) minmax(300px, 1.6fr) minmax(110px, 1fr) minmax(110px, 1fr) auto; gap: 10px; align-items: center; }
.wb-search { position: relative; display: block; }
.wb-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.wb-search input { padding-left: 36px; border-radius: var(--r-pill); }
.wb-dates { display: flex; align-items: center; gap: 6px; border: 1px solid transparent; border-radius: var(--r-control); background: var(--polish-field); padding: 0 8px; min-height: 42px; min-width: 0; }
.wb-dates input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: var(--fs-base); color: var(--ink); padding: 8px 2px; }
.wb-dates input:focus { outline: none; }
.wb-dates:focus-within { border-color: transparent; box-shadow: var(--polish-focus); outline:2px solid transparent; outline-offset:2px; }
.wb-dates span { color: var(--muted); font-size: var(--fs-sm); }
.wb-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--polish-layer-2); color: var(--muted); cursor: pointer; }
.wb-icon:hover { color: var(--accent); border-color: transparent; background:var(--polish-layer-3); }
.wb-filter-toggle { display: none; justify-self: start; }

/* 次行：管理 + 结果数 + 显示阶段 + 看板/列表 */
.wb-sub { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; font-size: var(--fs-base); color: var(--muted); }
.wb-link { font: inherit; font-size: var(--fs-base); font-weight: calc(650 - var(--polish-weight-adjust)); color: var(--ink-2); background: none; border: 0; padding: 6px 4px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.wb-link:hover, .wb-link[aria-pressed="true"] { color: var(--accent); }
.wb-sep { width: 1px; height: 16px; background: var(--line); }
.wb-save { font-size: var(--fs-sm); }
.wb-save.err { color: var(--danger-text); }
.wb-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.wb-stages { position: relative; }
.wb-stages summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid transparent; border-radius: var(--r-control); background: var(--polish-layer-2); color: var(--ink-2); font-size: var(--fs-base); min-height: 36px; user-select: none; }
.wb-stages summary::-webkit-details-marker { display: none; }
.wb-stages summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.wb-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 170px; padding: 6px; background: var(--polish-layer-1); border: 1px solid transparent; border-radius: var(--r-card); box-shadow: var(--shadow-pop); display: grid; }
.wb-pop label { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-control); color: var(--ink); font-size: var(--fs-base); cursor: pointer; white-space: nowrap; }
.wb-pop label:hover { background: var(--surface-2); }
.wb-pop input { width: 16px; height: 16px; accent-color: var(--accent); }
.wb-view { display: inline-flex; align-items: center; gap: 2px; color: var(--line); }
.wb-view button { font: inherit; font-size: var(--fs-base); font-weight: calc(650 - var(--polish-weight-adjust)); color: var(--muted); background: none; border: 0; padding: 6px 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; min-height: 36px; }
.wb-view button[aria-pressed="true"] { color: var(--ink); }
.wb-bulk { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border: 1px solid transparent; border-radius: var(--r-card); background: var(--polish-layer-2); font-size: var(--fs-base); color: var(--ink-2); }
.wb-bulk .btn { margin-left: 0; }
.wb-bulk .grow { flex: 1; }
.btn-danger-line { background: var(--surface); color: var(--danger-text); border-color: var(--line); }
.btn-danger-line:hover { border-color: var(--danger); }

/* 看板（结构由 board.js 生成，和插件一致） */
.wb-boardwrap { position: relative; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid transparent; border-radius: var(--r-card); background: var(--polish-layer-2); scrollbar-width: thin; }
.col { min-height: 240px; border-right: 1px solid var(--line); outline: 2px dashed transparent; outline-offset: -4px; transition: background .15s; min-width: 0; }
.col:last-child { border-right: 0; }
.col-head { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 13px 10px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 70%, var(--line)); font-size: var(--fs-base); font-weight: calc(700 - var(--polish-weight-adjust)); color: var(--ink); }
.col-count { color: var(--muted); font-weight: calc(500 - var(--polish-weight-adjust)); }
.col-body { display: flex; flex-direction: column; gap: 10px; padding: 10px; }
.col.drag-over { outline-color: var(--accent); background: var(--accent-soft); }
.col.no-drop { opacity: .55; outline-color: var(--danger); }
.kcard { position: relative; background: var(--polish-layer-2); border: 1px solid transparent; border-radius: var(--r-card); padding: 12px; box-shadow: var(--shadow); cursor: grab; transition: border-color .15s, box-shadow .15s; }
.kcard:not([draggable]) { cursor: pointer; }
.kcard:hover, .kcard:focus-visible { border-color: transparent; outline: none; background:var(--polish-layer-3); }
.kcard:focus-visible { border-color: transparent; outline: 2px solid transparent; background:var(--polish-layer-3); outline-offset:2px; box-shadow:var(--polish-focus-visible); }
.kcard.picked { border-color: transparent; box-shadow: none; background:var(--accent-soft); }
.kcard.dragging { opacity: .4; }
.kc-top { display: flex; gap: 10px; align-items: flex-start; }
.kc-logo { width: 36px; height: 36px; border-radius: var(--r-control); display: grid; place-items: center; font-weight: calc(750 - var(--polish-weight-adjust)); color: #fff; flex: none; font-size: var(--fs-lg); }
.kc-main { flex: 1; min-width: 0; }
.kc-pos { font-weight: calc(750 - var(--polish-weight-adjust)); font-size: var(--fs-base); color: var(--ink); line-height: 1.4; padding-right: 24px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.kc-co { color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.5; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.kc-city { display: flex; align-items: center; gap: 3px; color: var(--muted); font-size: var(--fs-xs); margin-top: 4px; min-width: 0; }
.kc-city .ic { width: 10px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; }
.kc-cityname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kc-tag { margin-left: 4px; padding: 0 7px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); font-size: var(--fs-xs); line-height: 20px; white-space: nowrap; }
/* 卡片「更多操作」图标按钮：有边线，可键盘聚焦（名称在 aria-label） */
.kc-more { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--wb-control-line); border-radius: var(--r-control); background: var(--wb-control-bg); color: var(--ink-2); cursor: pointer; }
.kc-more:hover, .kc-more[aria-expanded="true"] { background: var(--wb-control-hover); border-color: var(--wb-control-line-hover); color: var(--ink); }
.kc-more:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: none; }
.kc-more .ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.kc-pick { width: 18px; height: 18px; margin: 11px 0 0; flex: none; accent-color: var(--accent); }
.kc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: var(--fs-xs); color: var(--muted); }
.kc-foot > span { white-space: nowrap; }
.kmenu { position: fixed; z-index: 70; min-width: 150px; padding: 6px; background: var(--polish-layer-1); border: 1px solid transparent; border-radius: var(--r-card); box-shadow: var(--shadow-pop); display: grid; }
.kmenu button { font: inherit; font-size: var(--fs-base); text-align: left; color: var(--ink); background: none; border: 0; border-radius: var(--r-control); padding: 9px 12px; cursor: pointer; }
.kmenu button:hover { background: var(--surface-2); outline: none; }
.kmenu button:focus-visible { background: var(--surface-2); outline: 2px solid transparent; outline-offset:2px; box-shadow:var(--polish-focus-visible); }
.kmenu button.danger { color: var(--danger-text); }
.wb-empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 22px 16px; color: var(--muted); font-size: var(--fs-base); }

/* 列表 */
.wb-tablewrap { overflow-x: auto; border: 1px solid transparent; border-radius: var(--r-card); background: var(--polish-layer-2); }
.wb-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: var(--fs-base); }
.wb-table th { text-align: left; font-size: var(--fs-xs); font-weight: calc(600 - var(--polish-weight-adjust)); color: var(--muted); padding: 11px 10px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.wb-table td { padding: 12px 10px; border-bottom: 1px solid var(--line-2); vertical-align: middle; color: var(--ink-2); }
.wb-table tr:last-child td { border-bottom: 0; }
.wb-table td:nth-last-child(-n+5) { white-space: nowrap; }
.wb-table td:nth-last-child(6) { min-width: 8em; }
/* 岗位 / 城市：长文字最多两行（完整文字在 title 里）；用内层限宽，免得一长串城市把整列撑宽 */
.wb-table td.wb-pos { min-width: 180px; }
.wb-table td.wb-city { min-width: 96px; white-space: normal; }
.wb-clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; white-space: normal; line-height: 1.45; }
.wb-pos .wb-clamp { max-width: 320px; }
.wb-city .wb-clamp { max-width: 150px; }
.wb-table tbody tr:hover td { background: color-mix(in srgb, var(--accent-soft) 40%, transparent); }
.wb-co { display: flex; align-items: center; gap: 10px; font-weight: calc(650 - var(--polish-weight-adjust)); color: var(--ink); }
.wb-co .kc-logo { width: 30px; height: 30px; font-size: var(--fs-sm); border-radius: var(--r-control); }
.wb-table .ops { white-space: nowrap; text-align: right; }
/* 窄屏时表格可以横向滚动，但行内操作（任务 / 编辑 / …）固定在右边，不用滚动也点得到 */
.wb-table th:last-child, .wb-table td.ops { position: sticky; right: 0; z-index: 1; }
.wb-table td.ops { background: var(--wb-page, var(--polish-layer-2)); box-shadow: -1px 0 0 var(--line-2); }
.wb .wb-table tbody tr:hover td.ops { background: var(--wb-soft); }
.wb-table .ops .kc-more { position: static; display: inline-grid; vertical-align: middle; }
.wb-table .btn-small { min-height: 32px; padding: 5px 12px; }

/* 数据洞察（结构由 board.js 生成） */
.ins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ins-card { background: var(--polish-layer-2); border: 1px solid transparent; border-radius: var(--radius); padding: 18px 20px; min-width: 0; }
.ins-card h3 { font-size: var(--fs-lg); }
.ins-sub { color: var(--muted); font-size: var(--fs-sm); margin: 2px 0 14px; }
.ins-bars { display: grid; gap: 10px; }
.ins-row { display: grid; grid-template-columns: 84px 1fr 34px; gap: 10px; align-items: center; font-size: var(--fs-sm); }
.ins-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.ins-track { height: 12px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.ins-track i { display: block; height: 100%; border-radius: var(--r-pill); background: var(--accent); }
.ins-row b { text-align: right; color: var(--ink); }
.ins-svg { width: 100%; height: auto; display: block; color: var(--ink); }
.ins-big { margin-top: 18px; color: var(--muted); font-size: var(--fs-md); }
.ins-big b { font-size: 52px; font-weight: calc(800 - var(--polish-weight-adjust)); letter-spacing: -.02em; color: var(--ink); margin-right: 4px; }
.ins-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 56px 16px; background: var(--polish-layer-2); border: 1px solid transparent; border-radius: var(--radius); color: var(--muted); }
.ins-empty-title { font-size: var(--fs-lg); font-weight: calc(700 - var(--polish-weight-adjust)); color: var(--ink); }
.ins-empty .btn { margin-top: 8px; }

/* 添加 / 编辑 */
.wb-dlg { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 1px solid transparent; border-radius: var(--r-card); background: var(--polish-layer-1); color: var(--ink); padding: 0; box-shadow: var(--shadow-pop); }
.wb-dlg::backdrop { background: rgba(12, 15, 24, .45); }
.wb-dlg form { display: grid; gap: 14px; padding: 22px; }
.wb-dlg h2 { font-size: var(--fs-2xl); }
.wb-dlg .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.wb-dlg .wide { grid-column: 1 / -1; }
.wb-dlg .btn-row { justify-content: flex-end; }
.wb-dlg .wb-sprint { margin-right: auto; }

/* 求职任务 / 粘贴 JD */
.wb-field textarea { width: 100%; min-width: 0; font: inherit; font-size: var(--fs-md); line-height: 1.55; color: var(--ink); background: var(--polish-field); border: 1px solid var(--control-line); border-radius: var(--r-control); padding: 9px 12px; resize: vertical; }
.wb-field textarea:focus { outline: 2px solid transparent; border-color: transparent; box-shadow: var(--polish-focus); outline-offset:2px; }
.wb-task { width: min(680px, calc(100vw - 32px)); }
.wb-task h3 { font-size: var(--fs-md); margin-bottom: 6px; }
.wb-task-sub { color: var(--ink-2); font-size: var(--fs-base); margin-top: 4px; overflow-wrap: anywhere; }
.wb-task-meta { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px 14px; margin: 0; }
.wb-task-meta dt { font-size: var(--fs-sm); color: var(--muted); }
.wb-task-meta dd { margin: 2px 0 0; font-size: var(--fs-base); color: var(--ink); overflow-wrap: anywhere; }
.wb-task-gaps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.wb-task-gaps li { padding: 2px 10px; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--warn-soft); color: var(--ink-2); font-size: var(--fs-sm); }
.wb-task-gaps li.none { background: var(--accent-soft); color: var(--accent); }
.wb-task-sec { display: grid; gap: 8px; }
.wb-task-jd { margin: 0; max-height: 180px; overflow: auto; padding: 10px 12px; border: 1px solid transparent; border-radius: var(--r-control); background: var(--polish-layer-2); font: inherit; font-size: var(--fs-base); line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.wb-task-jd.none { color: var(--muted); }
.wb-task-line { margin: 0; font-size: var(--fs-base); color: var(--ink-2); overflow-wrap: anywhere; }
.wb-task-line[data-state="stale"], .wb-task-line[data-state="unknown"], .wb-task-line[data-state="bad"] { color: var(--warn-text); }
.wb-task-next { display: grid; gap: 10px; padding: 14px; border: 1px solid transparent; border-radius: var(--r-control); background: var(--polish-layer-2); }
.wb-task-next-main { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.wb-task-next-main .btn { flex-shrink: 0; }
.wb-task-next-main p { margin: 0; color: var(--ink-2); font-size: var(--fs-base); }
#taskNextPrimary[aria-disabled="true"] { opacity: .5; pointer-events: none; }
#taskRevocationList { margin: 8px 0 0; padding-left: 20px; color: var(--ink-2); }
.wb-task-ops { flex-wrap: wrap; align-items: center; }
.wb-task-ops .wb-task-edit { margin-right: auto; }
.wb-task-hint { font-size: var(--fs-sm); color: var(--muted); }
.wb-table tbody tr[data-id] { cursor: pointer; }

/* 找岗位 */
.wb-finder { width: min(760px, calc(100vw - 32px)); }
.wb-finder-box { display: grid; gap: 16px; padding: 22px; }
.wb-finder-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wb-finder h3 { font-size: var(--fs-md); margin-bottom: 2px; }
.wb-finder h4 { font-size: var(--fs-sm); color: var(--muted); font-weight: calc(650 - var(--polish-weight-adjust)); margin: 0 0 2px; }
.wb-find-intent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 0; }
.wb-find-intent dt { font-size: var(--fs-sm); color: var(--muted); }
.wb-find-intent dd { margin: 2px 0 0; font-size: var(--fs-base); color: var(--ink); overflow-wrap: anywhere; }
.wb-find-intent dd.none { color: var(--muted); }
.wb-find-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.wb-find-form .btn-row { flex: none; }
.wb-find-link { font-size: var(--fs-base); font-weight: calc(650 - var(--polish-weight-adjust)); }
.wb-find-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wb-find-item { display: grid; gap: 8px; padding: 14px; border: 1px solid transparent; border-radius: var(--r-card); background: var(--polish-layer-2); }
.wb-find-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; overflow-wrap: anywhere; }
.wb-find-title b { font-size: var(--fs-md); }
.wb-find-title span { color: var(--ink-2); font-size: var(--fs-base); }
.wb-find-item ul { margin: 0; padding-left: 18px; font-size: var(--fs-base); color: var(--ink-2); }
.wb-find-item ul li { overflow-wrap: anywhere; }
.wb-find-fit { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.wb-find-item .btn-row { justify-content: flex-start; flex-wrap: wrap; }

@media (max-width: 820px) {
  .wb-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .wb-search { grid-column: 1 / -1; }
  .wb-dates { grid-column: 1 / -1; }
  .ins { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wb { padding-top: 24px; gap: 14px; }
  .wb-filter-toggle { display: inline-flex; }
  .wb-fields { display: none; }
  .wb-fields.open { display: grid; }
  .wb-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: 0; width: 100%; margin-bottom: 12px; }
  .wb-actions .btn { width: 100%; min-width: 0; }
  .wb-actions .wb-seg, .wb-actions #addBtn { grid-column: 1 / -1; }
  .wb-actions .wb-seg { width: max-content; max-width: 100%; }
  .wb-seg button { min-height: 44px; }
  .wb-right { margin-left: 0; width: 100%; justify-content: space-between; }
  .board { grid-auto-columns: 280px; scroll-snap-type: x mandatory; scroll-padding-inline: 0; }
  .col { scroll-snap-align: start; min-height: 200px; }
  .wb-tip { align-items: flex-start; }
  .wb-tip p { font-size: var(--fs-base); }
  .wb-dlg .grid { grid-template-columns: 1fr; }
  .wb-task-meta { grid-template-columns: 1fr; }
  .wb-find-intent { grid-template-columns: 1fr; }
  .wb-finder-box { padding: 16px; }
  .wb-x, .wb-icon { width: 44px; height: 44px; }
}

@media (max-height:600px) and (min-width:901px) { .ws-assistant { position:static; height:480px; } }

/* Moffer workspace system: existing 13/14/16/24/32 type, 8px rhythm,
   neutral surfaces separated by 2% ink, brand violet reserved for action/current location. */
.wb-heading { display:grid; gap:4px; }
.ws-eyebrow { color:var(--muted); font-size:var(--fs-2xs); letter-spacing:.14em; font-weight:calc(500 - var(--polish-weight-adjust)); }
.wb-heading h1 { font-size:var(--fs-4xl); letter-spacing:-.03em; }
.wb-tip { background:transparent; border:0; padding:0 4px; gap:8px; }
.wb-tip > svg { width:18px; height:18px; }
.wb-tip p { font-size:var(--fs-sm); }
.ws-task-context { display:grid; gap:8px; padding:16px 20px; border-radius:var(--r-card); background:color-mix(in srgb,var(--ink) 2%,var(--surface)); }
.ws-current { padding:0; border:0; }
.ws-controls .wb-field { flex-basis:280px; }
.ws-controls .wb-field > span { font-size:var(--fs-xs); color:var(--muted); }
.ws-assistant { border:0; padding:20px; background:color-mix(in srgb,var(--ink) 2%,var(--surface)); }
.ws-context { gap:8px; }
.ws-context h2 { display:flex; align-items:center; gap:8px; font-weight:calc(600 - var(--polish-weight-adjust)); }
.ws-assistant-mark { display:grid; place-items:center; width:24px; height:24px; background:var(--accent); color:var(--accent-ink); border-radius:8px; font-size:var(--fs-sm); font-weight:calc(650 - var(--polish-weight-adjust)); }
.ws-basis { font-size:var(--fs-xs); color:var(--muted); }
.ws-basis summary { min-height:32px; display:flex; align-items:center; cursor:pointer; }
.ws-basis summary::after { content:'＋'; margin-left:6px; }
.ws-basis[open] summary::after { content:'−'; }
.ws-context .btn { min-height:36px; background:var(--surface); border:0; }
.ws-composer { padding:12px; border-radius:calc(12px + 12px); background:var(--surface); }
.ws-composer textarea { background:transparent; box-shadow:none; min-height:44px; max-height:180px; padding:4px 0; resize:vertical; }
.ws-composer:has(textarea:focus) { box-shadow:var(--polish-focus); outline:2px solid transparent; outline-offset:2px; }
.ws-composer textarea:focus { box-shadow:var(--polish-focus); outline:2px solid transparent; outline-offset:2px; }
.ws-composer .wb-field > span { font-size:var(--fs-xs); color:var(--muted); }
.ws-composer #assistantClear { font-size:var(--fs-xs); padding-inline:0; background:transparent; box-shadow:none; }
.ws-tabs { border:0; gap:4px; padding:4px; border-radius:var(--r-card); background:color-mix(in srgb,var(--ink) 2%,var(--surface)); }
.ws-tabs button { flex:1; padding:10px 12px; border:0; border-radius:var(--r-control); font-size:var(--fs-base); }
.ws-tabs button[aria-selected="true"] { background:var(--surface); color:var(--accent); box-shadow:0 1px 3px color-mix(in srgb,var(--ink) 5%,transparent); }
.ws-tabs button[aria-selected="true"]::before { content:''; display:inline-block; width:6px; height:6px; margin-right:7px; border-radius:50%; vertical-align:middle; background:currentColor; }
.ws-summary { border:0; padding:28px; min-height:360px; align-content:start; gap:20px; }
.ws-summary h2 { font-size:var(--fs-4xl); letter-spacing:-.03em; }
.ws-summary li { margin-block:12px; }
.ws-summary #workspaceFindings { padding-left:20px; }
.ws-summary .btn-row { margin-top:12px; }
.home-workspace { display:grid; grid-template-columns:320px minmax(0,1fr); gap:24px; min-height:calc(100dvh - 150px); }
.home-assistant { display:flex; flex-direction:column; align-self:stretch; padding:24px; gap:24px; border-radius:var(--r-panel); background:color-mix(in srgb,var(--ink) 2%,var(--surface)); }
.home-assistant-title { display:flex; align-items:center; gap:12px; }
.home-assistant-title .brand-mark { width:36px; height:36px; }
.home-assistant-title h2 { font-size:var(--fs-lg); font-weight:calc(600 - var(--polish-weight-adjust)); }
.home-assistant-title p { font-size:var(--fs-xs); color:var(--muted); margin-top:3px; }
.home-greeting { color:var(--ink-2); font-size:var(--fs-base); line-height:1.9; display:grid; gap:12px; }
.home-greeting p:first-child { color:var(--ink); font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-composer { margin-top:auto; padding:16px; border-radius:calc(var(--r-control) + 16px); background:var(--surface); display:grid; gap:10px; }
.home-composer label { font-size:var(--fs-xs); color:var(--muted); }
.home-composer textarea { width:100%; min-height:115px; resize:vertical; border:0; background:transparent; color:var(--ink); font:inherit; font-size:var(--fs-base); line-height:1.7; padding:0; }
.home-composer textarea:focus { outline:2px solid transparent; box-shadow:var(--polish-focus); outline-offset:2px; }
.home-composer:has(textarea:focus) { box-shadow:var(--polish-focus); outline:2px solid transparent; outline-offset:2px; }
.workspace-entry-actions { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.workspace-entry-actions > a { font-size:var(--fs-sm); min-height:44px; display:flex; align-items:center; }
.home-privacy { font-size:var(--fs-xs); color:var(--muted); line-height:1.7; }
.home-results { min-width:0; display:flex; flex-direction:column; background:var(--surface); border-radius:var(--r-panel); padding:8px 32px 24px; }
.home-result-nav { display:flex; gap:8px; padding:8px 0; justify-content:space-between; }
.home-result-nav a { display:flex; align-items:center; justify-content:center; min-height:44px; padding:8px 12px; color:var(--ink-2); font-size:var(--fs-base); border-radius:var(--r-control); }
.home-result-nav a:hover { background:var(--surface-2); color:var(--accent); }
.home-start { flex:1; padding:clamp(32px,5vh,72px) 16px 40px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.home-start h1 { font-size:clamp(32px,3.3vw,48px); line-height:1.3; letter-spacing:-.045em; font-weight:calc(600 - var(--polish-weight-adjust)); margin:16px 0 20px; text-wrap:balance; }
.home-lead { font-size:var(--fs-lg); line-height:1.9; color:var(--ink-2); text-wrap:pretty; }
.home-start-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; }
.home-start-actions .btn { min-height:48px; padding-inline:24px; }
.home-start-actions svg { width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.home-format { font-size:var(--fs-xs); color:var(--muted); margin-top:12px; }
.home-route { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; padding:24px 16px; list-style:none; margin:0; }
.home-route li { display:flex; align-items:baseline; gap:12px; }
.home-route .num { font-size:var(--fs-xs); color:var(--accent); font-variant-numeric:tabular-nums; }
.home-route h2 { font-size:var(--fs-base); font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-route p { font-size:var(--fs-xs); color:var(--muted); line-height:1.7; margin-top:6px; text-wrap:pretty; }
.home-context-note { font-size:var(--fs-xs); color:var(--muted); padding:8px 16px 0; }
.workspace-home .wb-unlock { order:0; width:100%; max-width:640px; margin:20px auto; text-align:left; }
.workspace-home .footer { margin-top:24px; }
@media (max-width:1100px) { .home-workspace { grid-template-columns:280px minmax(0,1fr); gap:16px; } .home-results { padding-inline:20px; } .home-route { gap:12px; padding-inline:0; } .home-route li { gap:8px; } }
@media (max-width:900px) {
  .home-workspace { grid-template-columns:1fr; min-height:0; }
  .home-results { grid-row:1; }
  .home-assistant { gap:20px; }
  .home-composer { margin-top:0; }
  .home-greeting { display:none; }
  .home-start { padding:32px 4px; }
  .home-route { padding-block:20px; }
  .home-assistant-title p { display:none; }
  .ws-assistant { height:calc(100dvh - 180px); }
}
@media (max-width:640px) {
  .home-results { padding-inline:16px; }
  .home-result-nav { gap:0; }
  .home-result-nav a { font-size:var(--fs-sm); padding-inline:8px; }
  .home-start h1 { font-size:var(--fs-6xl); }
  .home-start-actions { display:grid; width:100%; }
  .home-route { gap:12px; }
  .home-route li { display:grid; gap:6px; }
  .home-route h2 { font-size:var(--fs-sm); }
  .home-route p { font-size:var(--fs-xs); }
  .home-context-note { padding-inline:0; }
  .ws-task-context { padding:16px; }
  .ws-summary { padding:20px; }
  .ws-tabs button { flex:none; }
}

/* The composer is the focus surface; inputs inherit its transparent fill. */
.home-composer, .ws-composer { --polish-field:transparent; }
.home-composer textarea, .ws-composer textarea { --polish-focus:none; --polish-focus-visible:none; }
html .wb .btn-primary { --glass:0; background:var(--accent); border-color:transparent; box-shadow:0 2px 6px color-mix(in srgb,var(--accent) 12%,transparent); }
html .wb .btn-primary:hover { background:var(--accent-2); box-shadow:0 3px 8px color-mix(in srgb,var(--accent) 16%,transparent); }
.ws-assistant-mark svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:7; stroke-linecap:round; stroke-linejoin:round; }

/* Home is the product gateway; AI Assistant is the desktop product entry. */
.ws-desktop-label { font-size:var(--fs-xs); font-weight:calc(400 - var(--polish-weight-adjust)); color:var(--muted); margin-left:4px; }
.home-tool-entries { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:8px 16px 0; }
.home-tool-entries a { display:flex; flex-direction:column; gap:6px; min-height:64px; justify-content:center; padding:12px 16px; border-radius:var(--r-card); background:color-mix(in srgb,var(--ink) 2%,var(--surface)); color:var(--ink); }
.home-tool-entries a:hover { background:var(--accent-soft); }
.home-tool-entries strong { display:flex; justify-content:space-between; align-items:center; font-size:var(--fs-base); font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-tool-entries a > span { font-size:var(--fs-xs); color:var(--muted); text-wrap:pretty; }
@media(max-width:640px) { .home-tool-entries { padding-inline:0; grid-template-columns:1fr; } }

/* The original homepage animation remains on the same home below the working gateway. */
.home-story { margin-top:40px; }
.home-story > .hero { margin-top:0; }

.ws-assessment { display:grid; align-content:start; justify-items:start; gap:12px; padding:20px; border-radius:var(--r-card); background:var(--surface); }
.ws-assessment h3 { color:var(--ink-2); font-size:var(--fs-base); font-weight:calc(550 - var(--polish-weight-adjust)); }
.ws-assessment p { font-size:var(--fs-sm); }
.ws-assessment-result { display:flex; align-items:baseline; gap:10px; color:var(--muted); font-size:var(--fs-sm); }
.ws-assessment-result strong { font-size:var(--fs-6xl); line-height:1.2; color:var(--ink); font-weight:calc(550 - var(--polish-weight-adjust)); }
.ws-assessment-result > span:last-child { color:var(--accent); margin-left:8px; }

/* 简历流程直接在工作区：结果与预览并列，次要操作按需展开。 */
/* 新版工作区（R2）的简历诊断样式在 workbench-r2.css；这里只保留打印导出。 */
@media print { body * { visibility:hidden !important; } .ws-resume-paper,.ws-resume-paper * { visibility:visible !important; } .ws-resume-paper { position:absolute;inset:0;box-shadow:none;padding:0;min-height:0;width:100%; } .ws-resume-preview { position:static;overflow:visible;max-height:none; } @page { size:A4;margin:14mm; } }
@media print {.ws-resume-inline-edit,.ws-resume-inline-edit * {display:none !important;visibility:hidden !important;} }
@media print {
  body > :not(main),main > :not(.wb),main > .wb > :not(#wbApp),#wbApp > :not(#workspaceLayout),#workspaceLayout > :not(#workspaceProducts),#workspaceProducts > :not(#workspace-resume),.ws-resume-flow > :not(.ws-resume-output,.ws-resume-body),.ws-resume-body > :not(.ws-resume-output),.ws-resume-output > :not(.ws-resume-preview) { display:none !important; }
  main,.wrap.wb,#wbApp,#workspaceLayout,#workspaceProducts,#workspace-resume,.ws-resume-flow,.ws-resume-body,.ws-resume-output,.ws-resume-preview { display:block !important;position:static !important;padding:0 !important;margin:0 !important;width:auto !important;max-width:none !important;max-height:none !important;overflow:visible !important;background:none !important; }
  .ws-resume-paper { position:static !important;min-height:0 !important;box-shadow:none !important; }
  .ws-resume-paper h3,.ws-resume-paper h4 { break-after:avoid; }
  .ws-resume-paper li { break-inside:avoid; }
}

/* Recommendation results reuse the existing job assistant, without changing workspace geometry. */
#careerMessages {display:contents;}
.career-turn p,.career-turn small {white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;}
.career-speaker {font-size:12px;color:var(--muted);}
.career-job {display:grid;gap:8px;padding:12px;border-radius:12px;background:color-mix(in srgb,var(--accent) 3%,var(--surface));}
.career-job h3 {font-size:16px;}
.career-job small {font-size:12px;color:var(--ink-2);}
.career-job .career-match {font-size:16px;font-weight:calc(600 - var(--polish-weight-adjust));color:var(--accent);font-variant-numeric:tabular-nums;}
.career-job details {font-size:12px;line-height:1.7;}
#careerNotice {font-size:12px;}
.career-intro {display:grid;gap:10px;}
.career-intro h2 {font-size:16px;}
@media print {#careerResumePanel {display:block!important;}#workspace-resume > :not(#careerResumePanel) {display:none!important;}}

/* Composer actions: retain the original positions, with clear primary/secondary affordances. */
.ws-composer > .btn-row { flex-wrap:nowrap; gap:8px; }
html .wb .ws-composer :is(#assistantClear,#assistantSend) {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border-radius:12px;font-size:12px;font-weight:calc(550 - var(--polish-weight-adjust));line-height:1;white-space:nowrap;transition:background .18s ease,box-shadow .18s ease,transform .16s ease;}
html .wb .ws-composer #assistantClear {min-width:0;padding:0 11px;border:1px solid transparent;color:var(--ink-2);background:var(--polish-layer-2);box-shadow:none;}
html .wb .ws-composer #assistantClear span {white-space:normal;line-height:1.3;}
html .wb .ws-composer #assistantSend {flex:none;min-width:84px;padding:0 15px;border:1px solid transparent;background:linear-gradient(155deg,color-mix(in srgb,var(--accent) 90%,var(--surface)),var(--accent) 62%,var(--accent-2));color:var(--accent-ink);box-shadow:inset 0 1px 0 rgb(255 255 255 / 22%),0 3px 8px color-mix(in srgb,var(--accent) 20%,transparent);font-size:13px;}
html .wb .ws-composer :is(#assistantClear,#assistantSend) svg {width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease;}
html .wb .ws-composer #assistantClear:not(:disabled):hover {background:var(--polish-layer-3);box-shadow:none;}
html .wb .ws-composer #assistantSend:not(:disabled):hover {box-shadow:inset 0 1px 0 rgb(255 255 255 / 25%),0 4px 12px color-mix(in srgb,var(--accent) 27%,transparent);}
html .wb .ws-composer #assistantSend:not(:disabled):hover svg {transform:translate(1px,-1px);}
html .wb .ws-composer :is(#assistantClear,#assistantSend):not(:disabled):active {transform:translateY(1px);}
html .wb .ws-composer :is(#assistantClear,#assistantSend):focus-visible {outline:2px solid transparent;box-shadow:var(--polish-focus-visible);outline-offset:2px;}
html .wb .ws-composer :is(#assistantClear,#assistantSend):disabled {opacity:.5;cursor:not-allowed;}
@media(max-width:900px){html .wb .ws-composer :is(#assistantClear,#assistantSend){min-height:44px;}}
@media(prefers-reduced-motion:reduce){html .wb .ws-composer :is(#assistantClear,#assistantSend),html .wb .ws-composer :is(#assistantClear,#assistantSend) svg {transition:none;}}

/* The 24px resize target occupies the existing gap; default pane widths stay unchanged. */
.ws-layout.ws-split-ready { grid-template-columns:var(--ws-assistant-size, clamp(340px,30vw,460px)) 24px minmax(0,1fr); column-gap:0; }
.ws-split-ready > .ws-assistant { grid-column:1; grid-row:1; }
.ws-split-ready > .ws-products { grid-column:3; grid-row:1; }
.ws-split-handle { grid-column:2; grid-row:1; position:sticky; top:84px; height:calc(100dvh - 220px); min-height:460px; display:flex; align-items:center; justify-content:center; cursor:col-resize; touch-action:none; border-radius:var(--r-control); outline-offset:-4px; }
.ws-split-handle::before { content:""; width:3px; height:32px; border-radius:var(--r-pill); background:var(--polish-ink); opacity:.12; }
.ws-split-handle:hover::before, .ws-split-handle:focus-visible::before { background:var(--polish-accent); opacity:.7; }
.ws-split-handle:focus-visible { outline:2px solid transparent; box-shadow:none; }
.ws-split-handle:focus-visible::before { box-shadow:0 0 0 3px var(--polish-base), 0 0 0 5px var(--polish-accent); }
.ws-layout.ws-split-ready.ws-preview-collapsed { grid-template-columns:minmax(0,1fr) 24px; }
.ws-preview-collapsed > .ws-products { display:none; }
.ws-preview-restore { justify-self:start; margin-top:4px; }
.ws-layout.ws-split-ready.assistant-closed { grid-template-columns:minmax(0,1fr); }
.ws-split-ready.assistant-closed > .ws-products { display:grid; grid-column:1; }
.ws-split-ready.assistant-closed > .ws-split-handle { display:none; }
.ws-split-overlay { position:fixed; inset:0; z-index:1000; background:transparent; cursor:col-resize; touch-action:none; }
html.ws-split-dragging, html.ws-split-dragging * { cursor:col-resize !important; user-select:none !important; }
html.ws-split-dragging .ws-layout, html.ws-split-dragging .ws-layout > * { transition:none; animation:none; }
.ws-jump-latest { align-self:center; flex:none; display:inline-flex; align-items:center; gap:6px; min-height:36px; padding:6px 12px; border:1px solid transparent; border-radius:var(--r-pill); background:var(--polish-layer-3); color:var(--accent); font:inherit; font-size:var(--fs-xs); font-weight:calc(550 - var(--polish-weight-adjust)); cursor:pointer; }
.ws-jump-latest:hover { background:var(--accent-soft); }
.ws-jump-latest:focus-visible { box-shadow:var(--polish-focus-visible); }
@media(max-width:900px) {
  .ws-layout.ws-split-ready, .ws-layout.ws-split-ready.ws-preview-collapsed { grid-template-columns:minmax(0,1fr); }
  .ws-split-handle, .ws-preview-restore { display:none; }
  .ws-split-ready > .ws-products { grid-column:1; }
  .ws-layout.ws-split-ready[data-view="products"] > .ws-products { display:grid; }
  .ws-layout.ws-split-ready[data-view="assistant"] > .ws-products { display:none; }
}
@media(forced-colors:active) {
  .ws-split-handle::before { background:ButtonText; opacity:1; }
  .ws-split-handle:focus-visible { outline:none !important; box-shadow:none; }
  .ws-split-handle:focus-visible::before { outline:2px solid Highlight; outline-offset:3px; box-shadow:none; }
}

/* Keep the current context compact so the actual conversation owns the pane. */
.ws-assistant { height:calc(100dvh - 220px); min-height:560px; gap:12px; padding:18px; }
.ws-context { position:relative; flex:none; min-width:0; }
#assistantJob { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; line-height:1.55; }
.ws-basis { position:relative; }
.ws-basis summary { justify-content:space-between; gap:12px; min-height:36px; }
.ws-basis summary > span { font-size:11px; }
.ws-basis summary::after,.ws-basis[open] summary::after { content:none; }
.ws-basis-popover { position:absolute; z-index:8; top:calc(100% + 4px); inset-inline:0; padding:16px; max-height:min(50dvh,360px); overflow:auto; display:grid; gap:10px; border-radius:14px; background:var(--surface); color:var(--ink-2); box-shadow:0 12px 32px color-mix(in srgb,var(--ink) 14%,transparent); }
.ws-basis:not([open]) .ws-basis-popover { display:none; }
.ws-basis-popover p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.65; font-size:12px; }
.ws-basis-popover .ws-basis-label { color:var(--muted); font-size:11px; }
.ws-conversation { flex:1 1 220px; min-height:180px; }
.ws-assistant > .msg { flex:none; margin:0; font-size:12px; line-height:1.6; }
.ws-assistant > .msg:empty { display:none; }
.ws-analysis-issue { flex:none; align-self:flex-start; font-size:12px; min-height:36px; }
.ws-composer { flex:none; }
.ws-composer textarea { min-height:44px; max-height:180px; field-sizing:content; }
.ws-assistant > .ws-jump-latest { position:static; margin:4px auto; transform:none; }
.ws-conversation:has(+ .ws-jump-latest:not([hidden])) { padding-bottom:12px; }
@media(max-width:900px) { .ws-assistant { height:calc(100dvh - 156px); min-height:560px; } }
@media(max-height:700px) { .ws-assistant { min-height:460px; height:calc(100dvh - 108px); padding:14px; gap:8px; } .ws-conversation { min-height:140px; } .ws-composer textarea { min-height:48px; max-height:90px; } #assistantJob { -webkit-line-clamp:1; } }

.wb-find-summary { margin-top:6px; font-size:12px; color:var(--muted); }
.wb-find-summary summary { display:flex; align-items:center; min-height:36px; cursor:pointer; }
.wb-find-summary p { font-size:12px; line-height:1.7; margin-block:6px; }
.wb-find-match-status { padding:10px 12px; border-radius:12px; background:var(--polish-layer-2); font-size:13px; color:var(--ink-2); }

@media(max-width:900px) {
  html { scroll-padding-top:124px; }
  .ws-mobile-toggle { position:sticky; top:72px; z-index:9; background:var(--polish-layer-2); }
}
/* ≤820 顶栏是两行（约 112px）：吸顶的「查看助手」和锚点都放到顶栏下面 */
@media(max-width:820px) {
  html { scroll-padding-top:172px; }
  .ws-mobile-toggle { top:118px; }
}

.ws-interview-overview { display:grid; gap:8px; }
.ws-interview-overview > p { margin:0; font-size:13px; line-height:1.65; }
.ws-interview-overview > .ws-interview-version { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.ws-interview-overview > a { justify-self:start; }

/* Laptop windows must keep the composer inside the pane, not below its minimum height. */
@media(min-width:901px) {
  .ws-assistant { height:calc(100dvh - 220px); min-height:0; }
  .ws-context { grid-template-columns:minmax(0,1fr) auto; }
  .ws-context h2,#assistantJob { grid-column:1 / -1; }
  .ws-basis { position:static; }
}
@media(min-width:901px) and (max-height:850px) {
  .ws-assistant { padding:14px; gap:8px; }
  .ws-context { gap:6px; }
  .ws-conversation { min-height:140px; }
  .ws-composer textarea { height:56px; min-height:56px; max-height:72px; }
}
/* 笔记本矮窗口：面板仍吸附在顶栏下方、高度不超过剩余可视区，对话在面板内滚动；
   原来改成随页面滚动，下滑时整块滑到顶栏下面，「再推荐岗位」等按钮被挡住。实在太矮才退回随页面滚动。 */
@media(min-width:901px) and (max-height:700px) {
  .ws-assistant { position:sticky; top:72px; height:calc(100dvh - 84px); overflow-y:auto; }
  .ws-conversation { flex:1 1 auto; min-height:64px; }
}
@media(min-width:901px) and (max-height:460px) {
  .ws-assistant { position:static; height:auto; }
  .ws-conversation { flex:0 0 180px; min-height:180px; }
}

.master-explainer { color:var(--ink-2); font-size:14px; }.master-explainer summary { min-height:44px; cursor:pointer; display:flex; align-items:center; }
.wb-heading h2 { font-size:32px; }.ws-resume-quota { font-size:14px; line-height:1.7; color:var(--ink-2); }
@media(max-width:600px){
 .wb-head { flex-wrap:wrap; }
 .ws-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); overflow:visible; }.ws-tabs button { min-width:0; white-space:normal; padding:8px 4px; font-size:14px; }
 .ws-tabs button[aria-selected="true"]::before { display:none; }
 .ws-resume-flow-head { flex-wrap:wrap; }.ws-resume-flow-head .btn { max-width:100%; white-space:normal; }
}
/* 聊天栏省出高度：岗位名最多两行，标签不逐字折行 */
.ws-context p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.ws-basis summary, .ws-context .btn-row .btn { white-space:nowrap; }

/* ===== 工作区统一规则（2026-10 改版；顶部导航不在此范围）=====
   共用的颜色变量、按钮、输入框、提示、标签条规则已搬到 site.css 末尾（「应用页统一规则」），这里只留工作区自己的。
   一个主色只给主按钮/当前标签/链接；其余是灰。字号 20/14/12，行高 1.6；
   按钮只有主(40,r10)和次(32,r8)两种；容器只有一层，分区用 1px 分隔线；
   嵌套圆角：外 = 内 + 内边距（输入框 16 = 发送键 6 + 内边距 10）。 */
.wb { font-size: 14px; line-height: 1.6; font-weight: calc(400 - var(--polish-weight-adjust)); }
.wb p, .wb li { line-height: 1.6; }
.wb h1, .wb h2, .wb h3 { letter-spacing: 0; }
.wb-iv, .ws-current p:first-child { font-weight: calc(500 - var(--polish-weight-adjust)); }


/* 等宽数字 */
/* 长文本换行 */
.wb :is(p, li, h1, h2, h3, a, summary, .ivp-q, .career-job, .ws-conversation) { overflow-wrap: anywhere; }

/* 图标按钮提示：悬停浮出，不占布局 */
.wb [data-tip] { position: relative; }
.wb [data-tip]::after { content: attr(data-tip); position: absolute; z-index: 40; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); padding: 4px 8px; border-radius: 6px; background: var(--ink); color: var(--wb-page); font-size: 12px; line-height: 1.5; font-weight: calc(400 - var(--polish-weight-adjust)); white-space: nowrap; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .12s; }
.wb [data-tip]:is(:hover, :focus-visible)::after { opacity: 1; visibility: visible; }
.wb #assistantSend[data-tip]::after { left: auto; right: 0; transform: none; }

/* 提示：一行字 + 图标，按钮紧挨着；不加粗 */
.wb :is(.ws-assistant > .msg:not(:empty), .ws-resume-progress, .ivp-pick > .ivp-muted:first-child, .ivp-msg:not(:empty), .career-warn)::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: calc((1.6em - 16px) / 2); background: currentColor; -webkit-mask: var(--wb-ico-info) center / 16px 16px no-repeat; mask: var(--wb-ico-info) center / 16px 16px no-repeat; }
.wb :is(.ws-assistant > .msg.err:not(:empty), .ws-resume-progress.err, .ivp-msg.err:not(:empty), .career-warn)::before { -webkit-mask-image: var(--wb-ico-alert); mask-image: var(--wb-ico-alert); }
.wb .ws-resume-progress.err, .wb .ivp-msg.err { color: var(--danger-text); background: none; padding-inline: 0; }
.wb .ivp-msg:not(:empty) { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; }
.wb .career-warn { display: flex; align-items: flex-start; gap: 8px; color: var(--wb-warn); font-size: 14px; font-weight: calc(400 - var(--polish-weight-adjust)); }

/* ---------- 求职助手 ---------- */
html body .wb .ws-layout .ws-assistant { display: flex; flex-direction: column; gap: 0; padding: 0; border: 1px solid transparent; border-radius: 10px; background: var(--wb-side); box-shadow: none; overflow: visible; }
.wb .ws-assistant-mark { display: none; }
.wb .ws-layout .ws-context { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.wb .ws-context h2 { grid-column: 1; margin: 0; font-size: 14px; font-weight: calc(600 - var(--polish-weight-adjust)); line-height: 1.6; }
.wb .ws-context #assistantJob { grid-column: 1; margin: 0; font-size: 12px; color: var(--muted); -webkit-line-clamp: 1; line-clamp: 1; }
.wb .ws-context .btn-row { grid-column: 2; grid-row: 1 / span 2; flex-wrap: nowrap; gap: 8px; justify-content: flex-end; }
.wb .ws-context .ws-basis { grid-column: 1 / -1; font-size: 12px; }
.wb .ws-basis summary { min-height: 24px; font-size: 12px; color: var(--muted); }
.wb .ws-basis summary > span { font-size: 12px; color: var(--accent); }
.wb .ws-basis-popover { border-radius: 10px; border: 1px solid var(--line); background: var(--wb-page); box-shadow: 0 2px 8px rgba(17, 23, 41, .08); }
.wb .ws-basis-popover p, .wb .ws-basis-popover .ws-basis-label { font-size: 12px; line-height: 1.6; }
.wb .ws-layout .ws-conversation { flex: 1 1 220px; min-height: 180px; padding: 16px; gap: 16px; background: none; overflow-y: auto; scroll-padding-block: 16px; }
.wb .ws-conversation article { position: relative; padding: 0; border: 0; border-radius: 0; background: none; gap: 8px; }
.wb .ws-conversation article > strong, .wb .career-speaker { font-size: 12px; font-weight: calc(400 - var(--polish-weight-adjust)); color: var(--muted); line-height: 1.6; }
.wb .ws-conversation p { font-size: 14px; }
.wb .ws-conversation :is(article[data-assistant-role="user"], .career-turn[data-role="user"]) { justify-self: end; max-width: 85%; padding: 8px 12px; border-radius: 10px; background: var(--accent-soft); gap: 0; }
.wb .ws-conversation .career-turn[data-role="user"] .career-speaker, .wb .ws-conversation article[data-assistant-role="user"] > strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wb .ws-conversation .career-intro h2 { font-size: 14px; font-weight: calc(600 - var(--polish-weight-adjust)); }
.wb .ws-conversation > .btn { justify-self: start; }
.wb .ws-conversation :is(.career-question, small) { font-size: 12px; color: var(--muted); }
/* 快捷回复：聊天里唯一的胶囊 */
.wb .ws-conversation button:not(.btn) { min-height: 32px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--wb-page); color: var(--ink-2); font: inherit; font-size: 14px; text-align: left; }
.wb .ws-conversation button:not(.btn):hover { background: var(--wb-soft); }
.wb .ws-conversation input { min-height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--wb-page); font-size: 14px; }
/* 岗位卡片：一个容器，行与行之间 1px 线；警告一行字，按钮紧挨 */
.wb .career-job { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 12px 16px; border: 1px solid var(--line); border-top-width: 0; border-radius: 0; background: var(--wb-page); }
.wb .career-turn > :not(.career-job) + .career-job { border-top-width: 1px; border-top-left-radius: 10px; border-top-right-radius: 10px; }
.wb .career-turn > .career-job:is(:last-child, :has(+ :not(.career-job))) { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
.wb .career-job > :is(h3, p, small:not(.career-match), details) { flex: 1 1 100%; margin: 0; }
.wb .career-job h3 { font-size: 14px; font-weight: calc(600 - var(--polish-weight-adjust)); line-height: 1.6; }
.wb .career-job p, .wb .career-job small { font-size: 12px; color: var(--muted); line-height: 1.6; }
.wb .career-job .career-match { flex: 0 1 auto; margin: 0; font-size: 14px; color: var(--ink); font-weight: calc(400 - var(--polish-weight-adjust)); }
.wb .career-job .career-match.career-warn { color: var(--wb-warn); }
.wb .career-job details { font-size: 12px; }
.wb .career-job summary { min-height: 24px; display: flex; align-items: center; color: var(--muted); }
.wb .career-job > .btn { flex: none; margin-top: 4px; }
/* 新消息：模糊 4px + 透明 → 清晰，200ms；多段依次错开 40ms */
@keyframes wb-blur-in { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: blur(0); } }
.wb .ws-conversation .assistant-reveal-char { animation: wb-blur-in 200ms ease-out both; animation-delay: var(--assistant-char-delay, 0ms); }
.wb .wb-fresh > :nth-child(n + 3) { animation: wb-blur-in 200ms ease-out both; animation-delay: calc(40ms * (var(--wb-n, 1))); }
.wb .wb-fresh > :nth-child(3) { --wb-n: 1; } .wb .wb-fresh > :nth-child(4) { --wb-n: 2; } .wb .wb-fresh > :nth-child(5) { --wb-n: 3; } .wb .wb-fresh > :nth-child(6) { --wb-n: 4; } .wb .wb-fresh > :nth-child(n + 7) { --wb-n: 5; }
@media (prefers-reduced-motion: reduce) { .wb .wb-fresh > *, .wb .ws-conversation .assistant-reveal-char { animation: none; opacity: 1; filter: none; } }
/* 跳至最新：浮在对话底部，不占位置 */
html body .wb .ws-assistant > .ws-jump-latest { position: relative; z-index: 2; align-self: center; flex: none; margin: -44px 0 12px; min-height: 32px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--wb-page); color: var(--ink-2); font-size: 12px; font-weight: calc(400 - var(--polish-weight-adjust)); box-shadow: 0 2px 8px rgba(17, 23, 41, .08); }
html body .wb .ws-assistant > .ws-jump-latest:hover { background: var(--wb-soft); }
/* 提示行固定占位，出现/消失不挤动对话 */
.wb .ws-assistant > .msg { display: flex; align-items: flex-start; gap: 8px; flex: none; order: 2; min-height: 32px; margin: 0; padding: 4px 16px 0; font-size: 12px; color: var(--muted); }
.wb .ws-assistant > .msg[hidden] { display: none; }
.wb .ws-assistant > .msg.err { color: var(--danger-text); }
.wb .ws-assistant > .ws-analysis-issue { order: 2; align-self: flex-start; margin: 0 16px 8px; }
.wb .ws-assistant > .ws-conversation { order: 1; } .wb .ws-assistant > .ws-jump-latest { order: 1; } .wb .ws-assistant > .ws-composer { order: 3; }
.wb .ws-context { order: 0; }
/* 输入框：浮起的唯一容器；聚焦 = 1px 主色边 + 3px 主色 18% 外圈 */
html body .wb .ws-layout .ws-composer { position: relative; margin: 0 16px 16px; padding: 10px; gap: 8px; border: 1px solid var(--wb-control-line); border-radius: 16px; background: var(--wb-page); box-shadow: none; outline: none; transition: border-color .15s, box-shadow .15s; }
html body .wb .ws-layout .ws-composer:has(textarea:focus) { border-color: var(--accent); box-shadow: var(--wb-ring); }
html body .wb .ws-composer textarea, html body .wb .ws-composer textarea:focus { border: 0; box-shadow: none; outline: none; background: transparent; padding: 0 2px; font-size: 14px; line-height: 1.6; min-height: 48px; }
.wb .ws-composer .wb-field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wb .ws-composer > .btn-row { align-items: center; gap: 8px; }
html body .wb .ws-composer #assistantSend { flex: none; width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0; border: 0; border-radius: 6px; background: var(--accent); background-image: none; color: var(--accent-ink); box-shadow: none; }
html body .wb .ws-composer #assistantSend:not(:disabled):hover { background: var(--accent-2); box-shadow: none; }
html body .wb .ws-composer #assistantSend > span { position: absolute; left: 50%; top: 50%; transform: translateY(-50%); width: 1px; height: auto; line-height: 1.5; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html body .wb .ws-composer #assistantSend svg { width: 16px; height: 16px; }
html body .wb .ws-composer #assistantClear { min-height: 32px; height: 32px; min-width: 0; padding: 0 8px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); box-shadow: none; font-size: 12px; font-weight: calc(400 - var(--polish-weight-adjust)); }
html body .wb .ws-composer #assistantClear:not(:disabled):hover { background: var(--wb-soft); color: var(--ink); box-shadow: none; }
html body .wb .ws-composer #assistantClear span { white-space: nowrap; line-height: 1.5; }
/* 输入类控件统一聚焦环 */
.wb :is(.wb-input, .wb-field input, .wb-field select, .wb-field textarea, .ws-pick select, .ivp-answer, .ws-resume-results :is(input, textarea, select), .ws-resume-layout :is(input, select), .ws-resume-inline-edit textarea):focus { outline: none; border-color: var(--accent); box-shadow: var(--wb-ring); }
.wb .wb-dates:focus-within { border-color: var(--accent); box-shadow: var(--wb-ring); outline: none; }
.wb :is(.wb-input, .wb-field input, .wb-field select, .ws-pick select, .ws-resume-results :is(input, textarea, select), .ivp-answer, .wb-dates) { border: 1px solid var(--wb-control-line); border-radius: 8px; background: var(--wb-page); font-size: 14px; }
@media (max-width: 900px) { .wb .ws-assistant { height: calc(100dvh - 156px); } }

/* ---------- 标签条：当前标签才用主色 ---------- */
html body .wb .ws-tabs { display: flex; gap: 4px; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; overflow-x: auto; }
html body .wb .ws-tabs button { flex: none; min-height: 44px; padding: 10px 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; box-shadow: none; color: var(--muted); font-size: 14px; font-weight: calc(400 - var(--polish-weight-adjust)); white-space: nowrap; margin-bottom: -1px; }
html body .wb .ws-tabs button:hover { color: var(--ink); background: none; }
html body .wb .ws-tabs button[aria-selected="true"] { background: none; box-shadow: none; color: var(--accent); border-bottom-color: var(--accent); font-weight: calc(600 - var(--polish-weight-adjust)); }
html body .wb .ws-tabs button[aria-selected="true"]::before { display: none; }
@media (max-width: 640px) { html body .wb .ws-tabs { display: flex; } html body .wb .ws-tabs button { min-width: 0; white-space: nowrap; padding: 10px 12px; } }

/* ---------- 各面板：无卡片，用分隔线分区 ---------- */
html body .wb .ws-products { gap: 0; }
html body .wb .ws-summary { padding: 24px 0 0; min-height: 0; gap: 16px; border: 0; border-radius: 0; background: none; box-shadow: none; }
html body .wb .ws-summary h2, .wb .ws-resume-flow-head h2 { margin: 0; font-size: 20px; line-height: 1.4; font-weight: calc(600 - var(--polish-weight-adjust)); letter-spacing: 0; }
.wb .ws-summary p { color: var(--ink-2); }
#workspace-resume { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 8px; }
#workspace-resume[hidden] { display: none; }
#workspace-resume > :is(h2, p, div, section) { flex: 1 1 100%; margin: 0; }
#workspace-resume > .btn { flex: none; }
.wb .ws-resume-tools, .wb .ws-resume-publication details, .wb .ws-resume-publication fieldset, .wb .ws-assessment { border-radius: 0; background: none; padding: 12px 0 0; border-top: 1px solid var(--line); }
.wb .ws-assessment-result strong { font-size: 20px; font-weight: calc(600 - var(--polish-weight-adjust)); }
.wb .ws-assessment-result > span:last-child { color: var(--ink-2); }

/* 面试准备：一个标题 + 一条按岗位题单（分隔线列表，每行一个次按钮「练习」） */
.wb .ws-interview-overview { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: start; }
.wb .ws-interview-overview > * { grid-column: 1; margin: 0; }
.wb .ws-interview-overview > h2 { font-size: 20px; }
.wb .ws-interview-overview > p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.wb .ws-interview-overview > a.btn-primary { grid-column: 2; grid-row: 1 / span 3; align-self: start; justify-self: end; }
.wb .ws-interview-overview > a.btn-line, .wb .ws-interview-overview > button { justify-self: start; margin-top: 8px; }
@media (max-width: 640px) { .wb .ws-interview-overview { grid-template-columns: minmax(0, 1fr); } .wb .ws-interview-overview > a.btn-primary { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; } }
#workspace-interview-practice { margin-top: 0; }
.wb .ivp { gap: 16px; }
.wb .ivp-head { gap: 4px; padding-bottom: 8px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; }
.wb .ivp-head h2, .wb .ws-summary .ivp-head h2 { font-size: 14px; line-height: 1.6; font-weight: calc(600 - var(--polish-weight-adjust)); }
.wb .ivp-context { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.wb .ivp-who { font-size: 12px; color: var(--muted); -webkit-line-clamp: 1; line-clamp: 1; }
.wb .ivp-source { font-size: 12px; }
.wb .ivp-source summary { min-height: 24px; color: var(--accent); }
.wb .ivp-pick { gap: 12px; }
.wb .ivp-list { display: block; margin: 0; padding: 0; list-style: none; border: 0; }
.wb .ivp-list > li, .wb .ws-summary .ivp-list > li { padding: 0; margin: 0; border-radius: 0; background: none; border-bottom: 1px solid var(--line); }
.wb .ivp-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "n q b" ". d b"; gap: 0 16px; align-items: center; height: auto; padding: 12px 0; }
.wb .ivp-question-head { display: contents; }
.wb .ivp-q-index { grid-area: n; align-self: start; min-width: 0; height: auto; place-items: start; border-radius: 0; background: none; color: var(--muted); font-size: 12px; line-height: 1.6; padding-top: 3px; }
.wb .ivp-question-head .ivp-q, .wb .ivp-item .ivp-q { grid-area: q; margin: 0; font-size: 14px; line-height: 1.6; font-weight: calc(500 - var(--polish-weight-adjust)); }
.wb .ivp-item .ivp-qdims { grid-area: d; margin: 0; font-size: 12px; color: var(--muted); }
.wb .ivp-item .btn { grid-area: b; margin: 0; align-self: center; }
.wb .ivp-note, .wb .ivp-muted, .wb .ivp-save { font-size: 12px; color: var(--muted); }
.wb .ivp-pick > .ivp-muted:first-child { font-size: 14px; color: var(--ink-2); }
.wb .ivp-pick > .btn-row { margin-top: 4px; }
.wb :is(.ivp-card, .ivp-result, .ivp-res-dim, .ivp-rec) { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.wb .ivp-result { padding-top: 16px; border-top: 1px solid var(--line); }
.wb .ivp-card-q { font-size: 14px; font-weight: calc(600 - var(--polish-weight-adjust)); }
.wb .ivp-card-meta, .wb .ivp-look { font-size: 12px; color: var(--muted); }
.wb .ivp-look { font-size: 14px; color: var(--ink-2); }
.wb .ivp-res-dim { padding: 8px 0; border-top: 1px solid var(--line); }
.wb .ivp-lv { border-radius: 6px; font-size: 12px; font-weight: calc(400 - var(--polish-weight-adjust)); padding: 0 8px; }
.wb .ivp-rec { border-top: 1px solid var(--line); }
.wb .ivp-result h3, .wb .ivp-records h3 { font-size: 14px; font-weight: calc(600 - var(--polish-weight-adjust)); }
.wb .ivp-rec summary { padding: 10px 0; font-weight: calc(500 - var(--polish-weight-adjust)); font-size: 14px; }

/* ---------- 我的投递 / 找岗位：同一套灰阶 ---------- */
.wb .ws-task-context, .wb .wb-bulk { border-radius: 8px; background: var(--wb-soft); border: 0; }
/* 分段切换（申请看板 / 列表、看板 / 列表）：容器有边线，选中项主色底 + 主色字 */
.wb :is(.wb-seg, .wb-view) { border-radius: 8px; background: var(--wb-control-bg); border: 1px solid var(--wb-control-line); padding: 2px; gap: 2px; }
.wb .wb-tip { padding: 8px 8px 8px 12px; border-radius: 8px; background: var(--wb-soft); gap: 8px; }
.wb .wb-tip > svg { width: 16px; height: 16px; stroke: var(--muted); }
.wb .wb-tip p, .wb .wb-tip a { font-size: 14px; }
.wb .wb-tip p b { font-weight: calc(500 - var(--polish-weight-adjust)); }
.wb .wb-count { padding: 0; margin-bottom: 8px; border-radius: 0; background: none; color: var(--ink); font-size: 14px; font-weight: calc(400 - var(--polish-weight-adjust)); }
.wb .wb-count b { font-size: 20px; font-weight: calc(600 - var(--polish-weight-adjust)); }
.wb .wb-tabs button, .wb .wb-link, .wb .wb-view button, .wb .wb-seg button { font-size: 14px; font-weight: calc(400 - var(--polish-weight-adjust)); }
.wb .wb-tabs button[aria-selected="true"] { font-weight: calc(600 - var(--polish-weight-adjust)); }
.wb :is(.wb-seg, .wb-view) button { color: var(--ink-2); border-radius: 6px; }
.wb :is(.wb-seg, .wb-view) button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.wb .wb-icon, .wb .wb-stages summary { border: 1px solid var(--line); border-radius: 8px; background: var(--wb-page); }
.wb .wb-icon { width: 40px; height: 40px; }
.wb .board, .wb .wb-tablewrap { border: 1px solid var(--line); border-radius: 10px; background: none; }
.wb .col-head { background: var(--wb-soft); font-weight: calc(500 - var(--polish-weight-adjust)); }
.wb .kcard { border: 1px solid var(--line); border-radius: 8px; background: var(--wb-page); box-shadow: none; }
.wb .kcard:hover, .wb .kcard:focus-visible { background: var(--wb-soft); }
.wb .kc-pos { font-weight: calc(600 - var(--polish-weight-adjust)); }
.wb .kc-tag { background: var(--wb-soft); color: var(--ink-2); border-radius: 6px; }
.wb .wb-table th { background: var(--wb-soft); }
.wb .wb-table tbody tr:hover td { background: var(--wb-soft); }
.wb .wb-demo { border-radius: 8px; }
.wb .badge { font-weight: calc(400 - var(--polish-weight-adjust)); }
/* 低对比保护：系统高对比模式下保留边框 */
@media (forced-colors: active) { html body .wb .ws-layout .ws-composer, html body .wb .btn { border: 1px solid CanvasText; } }

#careerMessages > .btn { justify-self: start; }

/* 视图切换仍由 data-view / hidden 控制 */
html body .wb .ws-layout .ws-assistant[hidden] { display: none; }
@media (max-width: 900px) { html body .wb .ws-layout[data-view="products"] .ws-assistant { display: none; } }

@media (max-height: 700px) {
  .wb .ws-assistant > .msg { min-height: 24px; padding-top: 0; }
  .wb .ws-layout .ws-context { padding-block: 8px; }
  html body .wb .ws-layout .ws-composer { margin: 0 12px 12px; }
  html body .wb .ws-composer textarea { min-height: 40px; }
}

/* ===== 照样稿还原（2026-10-28）：工作区铺满导航以下；聊天栏贴左、整高、右侧一条线；内容区单栏 760 =====
   只在工作区已解锁时（#wbApp 显示）生效；顶部导航不动。 */
:root { --wb-nav-h: 62px; --wb-side: #fafbfd; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --wb-side: #10141f; } }
:root[data-theme="dark"] { --wb-side: #10141f; }
@media (min-width: 901px) {
  .wrap.wb:has(> #wbApp:not([hidden])):has(#demoBadge[hidden]) { max-width: none; padding: 0; gap: 0; }
  .wrap.wb:has(> #wbApp:not([hidden])):has(#demoBadge[hidden]) > :is(.wb-head, .wb-tip) { display: none !important; }
  .wrap.wb:has(> #wbApp:not([hidden])):has(#demoBadge[hidden]) #wbApp { gap: 0; }
  .wrap.wb:has(> #wbApp:not([hidden])):has(#demoBadge[hidden]) #workspaceEntryMsg:empty { display: none; }
  html body .wrap.wb:has(> #wbApp:not([hidden])):has(#demoBadge[hidden]) .ws-layout .ws-assistant { position: sticky; top: var(--wb-nav-h); height: calc(100dvh - var(--wb-nav-h) - 1px); min-height: 0; border: 0 solid transparent; border-radius: 0; box-shadow: inset -1px 0 0 var(--line); background: var(--wb-side); }
  .wrap.wb:has(> #wbApp:not([hidden])):has(#demoBadge[hidden]) .ws-split-handle { top: var(--wb-nav-h); height: calc(100dvh - var(--wb-nav-h) - 1px); min-height: 0; }
  .wrap.wb:has(> #wbApp:not([hidden])):has(#demoBadge[hidden]) .ws-products { padding: 0 32px 40px 16px; }
  .wrap.wb:has(> #wbApp:not([hidden])):has(#demoBadge[hidden]) .ws-products > :not(.ws-tabs):not(#workspace-resume):not(#workspace-board) { max-width: 760px; }
  
}
/* 聊天栏头：标题 + 当前岗位一行 + 右侧按钮；「查看」收在岗位行右边 */
.wb .ws-layout .ws-context { padding: 14px 20px; row-gap: 0; }
.wb .ws-context .btn-row { grid-row: 1; }
.wb .ws-context #assistantJob::before { content: "当前岗位："; }
.wb .ws-context .ws-basis { grid-column: 2; grid-row: 2; justify-self: end; }
.wb .ws-context .ws-basis summary { font-size: 0; min-height: 20px; }
.wb .ws-context .ws-basis summary::after { content: none; }
.wb .ws-context .ws-basis summary > span { font-size: 12px; }

/* ===== 我的简历：左边简历原文，右边编号批注（2026-10-28 照样稿） =====
   要用户确认/采纳的内容都在批注栏，和原文同号对应；点原文编号跳到批注，点批注编号跳回原文。 */
/* 批注卡：一层细边，编号在左上；被选中时主色双环 */

/* ===== 全部状态统一（2026-10-28）：真实账号下（非示例）不再显示「MOFFER / WORKSPACE 求职工作区」标题区和提示条；
   解锁卡居中一张、一层细边；评分卡三列等高不重叠；同一视图只留一个主按钮 ===== */
.wrap.wb:has(#demoBadge[hidden]) > :is(.wb-head, .wb-tip) { display: none !important; }
.wrap.wb:has(#demoBadge[hidden]):has(> #unlockCard:not([hidden])) { padding-top: 64px; }
html body .wb .wb-unlock { max-width: 440px; margin: 0 auto; padding: 28px; display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--wb-page); box-shadow: none; }
html body .wb .wb-unlock h2 { margin: 0; font-size: 20px; line-height: 1.4; font-weight: calc(600 - var(--polish-weight-adjust)); }
html body .wb .wb-unlock > p { margin: 0; font-size: 14px; color: var(--ink-2); }
html body .wb .wb-unlock form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
html body .wb .wb-unlock .wb-field { display: grid; gap: 6px; max-width: none; }
html body .wb .wb-unlock .wb-field > span { font-size: 12px; color: var(--muted); }
html body .wb .wb-unlock input { height: 40px; padding: 0 12px; border: 1px solid var(--wb-control-line); border-radius: 10px; background: var(--wb-page); font-size: 14px; }
html body .wb .wb-unlock input:focus { outline: none; border-color: var(--accent); box-shadow: var(--wb-ring); }
html body .wb .wb-unlock .btn-primary { width: 100%; }
html body .wb .wb-unlock .master-explainer { font-size: 12px; color: var(--muted); }
html body .wb .wb-unlock .master-explainer summary { cursor: pointer; color: var(--accent); }
html body .wb .wb-unlock .msg:empty { display: none; }
/* 评分卡：三列等高，说明文字在卡片下方另起一行，不压到卡片里 */
/* 简历页头部：按钮一行，次数和当前岗位都是 12px 说明字 */
.wb #careerSelection, .wb #careerCost { font-size: 12px; color: var(--muted); margin: 0; }

/* 简历页只留一个页头：工作区的「我的简历 + 更换简历 / 仅导入」已给出同样入口，内部那块重复标题收起 */
/* 助手回复不加底色块，只有用户自己的话是浅色气泡 */
html body .wb .ws-conversation :is(article, .career-turn):not([data-assistant-role="user"]):not([data-role="user"]) { background: none; padding: 0; border: 0; box-shadow: none; }

/* 找岗位：不再灰框套灰框；岗位一行一条，分隔线分开 */
html body .wb #workspace-find .wb-finder, html body .wb #workspace-find .wb-finder-box { padding: 24px 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.wb #workspace-find .wb-finder-head h3, .wb #workspace-find .wb-finder > h3 { font-size: 20px; }
.wb #workspace-find .wb-find-link { display: inline-block; margin: 4px 0 12px; font-size: 12px; }
html body .wb #workspace-find .wb-find-item { padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; display: grid; gap: 6px; }
.wb #workspace-find .wb-find-title { font-size: 14px; font-weight: calc(600 - var(--polish-weight-adjust)); }
.wb #workspace-find .wb-find-item p { margin: 0; font-size: 12px; color: var(--muted); }
.wb #workspace-find .wb-find-summary summary { font-size: 12px; color: var(--muted); }
/* 我的投递：搜索和筛选白底细边；看板卡片白底细边 */
html body .wb #workspace-board :is(input, select):not([type="checkbox"]) { background: var(--wb-page); border: 1px solid var(--wb-control-line); border-radius: 8px; box-shadow: none; }
html body .wb #workspace-board :is(input, select):focus { outline: none; border-color: var(--accent); box-shadow: var(--wb-ring); }
html body .wb #workspace-board .kcard { background: var(--wb-page); border: 1px solid var(--line); }
html body .wb #workspace-board .wb-dates input { border: 0; box-shadow: none; background: transparent; }

/* 打印预览始终使用纸张配色，不继承页面暗色文字。 */

@media (max-width:900px) {
  .wrap.wb:has(> #wbApp:not([hidden])):has(#demoBadge[hidden]) { padding-top:calc(24px + max(0px, var(--wb-nav-h) - 62px)); }
}

/* 工作区标题只给读屏用：这份 partial 也嵌在首页里，首页不加载 r2.css，所以隐藏规则放在两页都加载的这里 */
#workspaceHeading{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* 首页本来就有自己的主标题，这里的工作区标题直接不显示，保持首页只有一个 h1 */
.workspace-home #workspaceHeading{display:none}
