/* Recruitment prototype · 暖纸手帐（warm paper journal）设计系统 */
:root {
  /* —— 基础色板（暖纸手帐规范 2.1） —— */
  --paper: #F0EAE1;
  --paper-deep: #E6DED0;
  --ink: #171717;
  --ink-soft: #3d3a36;
  --muted: #7a7368;
  --line: rgba(160, 142, 120, 0.35);
  --sage: #8B9B6E;
  --rose: #C3A8A2;
  --blush: #D49494;
  --tan: #B89A6B;
  --washi-sage: rgba(139, 155, 110, 0.78);
  --washi-rose: rgba(195, 168, 162, 0.78);
  --washi-pink: rgba(212, 148, 148, 0.78);
  --washi-tan: rgba(184, 154, 107, 0.78);

  /* —— 语义映射（保留现有变量名以便 HTML 兼容） —— */
  --bg: var(--paper);
  --surface: rgba(255, 253, 247, 0.88);
  --fg: var(--ink);
  --border: var(--line);
  --accent: var(--sage);
  --accent-soft: rgba(139, 155, 110, 0.12);
  --trust: var(--sage);
  --trust-strong: #6f7e54;
  --trust-soft: rgba(139, 155, 110, 0.12);
  --warning: var(--tan);
  --warning-soft: rgba(184, 154, 107, 0.14);
  --danger: var(--blush);
  --danger-soft: rgba(212, 148, 148, 0.14);
  --info: var(--rose);
  --info-soft: rgba(195, 168, 162, 0.16);

  --font-display: 'Playfair Display', 'Noto Serif SC', serif;
  --font-body: 'Inter', 'Noto Sans SC', sans-serif;
  --font-mono: ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --shadow-xs: 0 1px 2px rgba(80, 55, 35, 0.05);
  --shadow-sm: 0 1px 3px rgba(80, 55, 35, 0.06);
  --shadow-md: 0 4px 16px rgba(80, 55, 35, 0.07);
  --shadow-lg: 0 8px 24px rgba(80, 55, 35, 0.08);

  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --ease-out: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --radius: var(--radius-sm);
  --shadow: var(--shadow-md);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.55 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* 暖纸纹理（规范 13） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(184, 154, 107, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(139, 155, 110, 0.05) 0%, transparent 50%),
    repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(23, 23, 23, 0.012) 3px, rgba(23, 23, 23, 0.012) 4px);
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { outline: none; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
p { text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.01em; }
h3 { font-family: var(--font-display); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { box-shadow: 0 0 0 3px rgba(139, 155, 110, 0.35); border-color: var(--sage) !important; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; border-radius: 8px; background: var(--surface); color: var(--fg); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn { min-height: 44px; border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--fg); background: transparent; transition: background .15s ease, border-color .15s ease, transform .05s ease; }
.btn:hover { border-color: var(--rose); background: rgba(139, 155, 110, 0.06); }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #fff; background: var(--accent); border-color: var(--accent); }
.btn-primary:hover { color: #fff; background: var(--trust-strong); border-color: var(--trust-strong); }
.btn-trust { color: #fff; background: var(--trust); border-color: var(--trust); }
.btn-trust:hover { color: #fff; background: var(--trust-strong); border-color: var(--trust-strong); }
.btn-secondary { background: var(--surface); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface); border-color: var(--rose); }
.btn-danger { color: var(--danger); border-color: rgba(212, 148, 148, 0.4); background: var(--surface); }
.btn-danger:hover { color: #fff; background: var(--danger); border-color: var(--danger); }
.btn[disabled] { cursor: not-allowed; opacity: .48; transform: none; }
.icon-btn { width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); color: var(--fg); background: var(--surface); display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--rose); }
.input, .textarea, .select { width: 100%; min-height: 44px; border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 13px; color: var(--fg); background: var(--surface); }
.input:focus, .textarea:focus, .select:focus { border-color: var(--sage); }
.textarea { min-height: 96px; resize: vertical; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; }
.field-hint { color: var(--muted); font-size: 12px; }
.field-error { color: var(--danger); font-size: 12px; font-weight: 700; }
.eyebrow { margin: 0 0 14px; color: var(--trust); font: 800 11px/1.3 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.pill, .status { display: inline-flex; align-items: center; gap: 6px; width: fit-content; min-height: 26px; border-radius: 999px; padding: 4px 9px; font: 700 11px/1.2 var(--font-mono); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-trust { color: var(--trust); background: var(--trust-soft); }
.status-warning { color: var(--warning); background: var(--warning-soft); }
.status-danger { color: var(--danger); background: var(--danger-soft); }
.status-info { color: var(--info); background: var(--info-soft); }
.status-muted { color: var(--muted); background: rgba(122, 115, 104, 0.12); }

.notice { display: grid; grid-template-columns: auto 1fr; gap: 12px; border-radius: var(--radius); padding: 13px 14px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-xs); }
.notice strong { display: block; margin-bottom: 2px; }
.notice p { margin: 0; color: var(--muted); font-size: 13px; }
.notice-trust { background: var(--trust-soft); border-color: rgba(139, 155, 110, 0.28); }
.notice-warning { background: var(--warning-soft); border-color: rgba(184, 154, 107, 0.3); }
.notice-danger { background: var(--danger-soft); border-color: rgba(212, 148, 148, 0.3); }
.notice-icon { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: var(--trust); font: 800 10px/1 var(--font-mono); }
.notice-warning .notice-icon { background: var(--tan); }
.notice-danger .notice-icon { background: var(--danger); }

.shell { min-height: 100vh; display: grid; grid-template-columns: 224px minmax(0,1fr); grid-template-rows: 62px minmax(0,1fr); }
.sidebar { grid-row: 1 / 3; background: var(--paper-deep); color: var(--ink-soft); padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 19px; color: var(--ink); font-weight: 800; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--accent); font-family: var(--font-display); font-size: 18px; }
.nav-label { margin: 19px 10px 7px; color: rgba(122, 115, 104, 0.7); font: 700 10px/1.2 var(--font-mono); letter-spacing: .09em; }
.nav-item { min-height: 42px; margin: 2px 0; padding: 0 10px; border: 1px solid transparent; border-radius: 9px; display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 13px; }
.nav-item:hover { color: var(--ink); background: rgba(139, 155, 110, 0.1); }
.nav-item.active { color: var(--ink); background: var(--surface); font-weight: 800; box-shadow: inset 3px 0 var(--sage); }
.topbar { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 24px; background: rgba(255, 253, 247, 0.85); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 20; }
.topbar-title { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.topbar-title strong { white-space: nowrap; }
.topbar-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font: 11px/1 var(--font-mono); }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.main { min-width: 0; padding: 24px; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 auto 22px; max-width: 1440px; }
.page-head h1 { font-size: clamp(30px, 3vw, 44px); line-height: 1.04; }
.page-head p { margin: 8px 0 0; color: var(--muted); max-width: 62ch; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.workspace { max-width: 1440px; margin: auto; display: grid; grid-template-columns: 280px minmax(420px, 1fr) 330px; min-height: calc(100vh - 132px); overflow: hidden; }
.pane { min-width: 0; background: var(--surface); }
.pane + .pane { border-left: 1px solid var(--border); }
.pane-head { min-height: 58px; padding: 11px 15px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255, 253, 247, 0.7); }
.pane-head h2 { font-family: var(--font-body); font-size: 14px; letter-spacing: 0; color: var(--ink-soft); }
.pane-body { padding: 15px; }
.toolbar { display: flex; align-items: center; gap: 8px; padding: 10px; border-bottom: 1px solid var(--border); background: rgba(255, 253, 247, 0.6); }
.list { overflow-y: auto; }
.list-item { width: 100%; border: 0; border-bottom: 1px solid var(--border); background: var(--surface); color: var(--fg); text-align: left; padding: 13px; }
.list-item:hover { background: rgba(139, 155, 110, 0.08); }
.list-item.active { background: var(--trust-soft); box-shadow: inset 3px 0 var(--accent); }
.list-top { display: flex; justify-content: space-between; gap: 10px; }
.list-top strong { font-size: 13px; }
.list-top time { color: var(--muted); font: 10px/1.4 var(--font-mono); }
.list-item p { margin: 6px 0 9px; color: var(--muted); font-size: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; }
.tag { border: 1px solid var(--border); border-radius: 999px; padding: 3px 7px; color: var(--muted); background: var(--surface); font-size: 10px; }
.case-head { padding: 15px 17px; border-bottom: 1px solid var(--border); background: rgba(255, 253, 247, 0.7); }
.case-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-title h2 { font-size: 19px; }
.case-meta { margin-top: 6px; color: var(--muted); font: 10px/1.5 var(--font-mono); }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border); }
.metric { min-width: 0; padding: 11px 15px; background: rgba(255, 253, 247, 0.6); }
.metric + .metric { border-left: 1px solid var(--border); }
.metric span { display: block; color: var(--muted); font-size: 10px; }
.metric strong { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }

.timeline { padding: 17px; overflow-y: auto; }
.event { position: relative; display: grid; grid-template-columns: 16px 62px minmax(0,1fr); gap: 8px; padding-bottom: 18px; }
.event:not(:last-child)::before { content: ""; position: absolute; top: 15px; bottom: 0; left: 7px; width: 1px; background: var(--border); }
.event-dot { z-index: 1; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--surface); background: var(--trust); box-shadow: 0 0 0 1px var(--trust); }
.event-dot.system { background: var(--warning); box-shadow: 0 0 0 1px var(--warning); }
.event time { padding-top: 1px; color: var(--muted); font: 10px/1.4 var(--font-mono); }
.event-body strong { font-size: 12px; }
.event-body p { margin: 4px 0 0; font-size: 13px; }
.event-body.system { border-radius: 8px; padding: 9px; background: rgba(184, 154, 107, 0.1); }

.ledger { padding: 10px 15px; overflow-y: auto; }
.ledger-label { margin: 9px 0 5px; color: var(--muted); font: 800 10px/1.4 var(--font-mono); letter-spacing: .08em; }
.evidence { display: grid; grid-template-columns: 5px minmax(0,1fr); gap: 9px; padding: 11px 0; border-top: 1px solid var(--border); }
.evidence-bar { border-radius: 4px; background: var(--info); }
.evidence[data-kind="inference"] .evidence-bar { background: var(--trust); }
.evidence[data-kind="missing"] .evidence-bar, .evidence[data-kind="risk"] .evidence-bar { background: var(--warning); }
.evidence[data-kind="conflict"] .evidence-bar { background: var(--danger); }
.evidence strong { font-size: 12px; }
.evidence p { margin: 4px 0; color: var(--muted); font-size: 12px; }
.evidence button { border: 0; padding: 0; color: var(--info); background: transparent; font-size: 11px; }
.pane-actions { padding: 12px; border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: rgba(255, 253, 247, 0.6); }

.grid { max-width: 1440px; margin: auto; display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-pad { padding: 20px; }
.card h2 { font-size: 22px; }
.card h3 { font-size: 15px; font-family: var(--font-display); letter-spacing: 0; }
.card p { color: var(--muted); }
.stat { padding: 17px; }
.stat-value { font: 700 clamp(26px, 3vw, 38px)/1 var(--font-display); }
.stat-label { margin-top: 8px; color: var(--muted); font-size: 12px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 25px auto 12px; max-width: 1440px; }
.section-title h2 { font-size: 24px; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 13px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { color: var(--tan); font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .03em; border-bottom: 2px solid var(--tan); }
.table td { color: var(--ink-soft); }
.table tbody tr:hover { background: rgba(184, 154, 107, 0.06); }
.table button { border: 0; padding: 0; color: var(--info); background: transparent; font-weight: 700; }

.split { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 16px; }
.tabs { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255, 253, 247, 0.7); width: fit-content; }
.tab { min-height: 36px; border: 0; border-radius: 7px; padding: 7px 12px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 700; }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-xs); }
.tab-panel[hidden] { display: none; }

.empty { min-height: 240px; padding: 32px; display: grid; place-items: center; text-align: center; }
.empty-mark { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; color: var(--trust); background: var(--trust-soft); }
.empty p { max-width: 42ch; margin: 6px auto 16px; color: var(--muted); }
.modal-backdrop { position: fixed; inset: 0; z-index: 80; padding: 20px; display: grid; place-items: center; background: rgba(23, 23, 23, 0.32); }
.modal-backdrop[hidden] { display: none; }
.modal { width: min(520px, 100%); padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.modal h2 { font-size: 27px; }
.modal p { color: var(--muted); }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; max-width: 360px; padding: 13px 15px; border: 1px solid rgba(139, 155, 110, 0.3); border-radius: 10px; color: var(--fg); background: var(--surface); box-shadow: var(--shadow-lg); transform: translateY(20px); opacity: 0; pointer-events: none; transition: .18s ease; }
.toast.show { transform: none; opacity: 1; }

/* Candidate */
.candidate-page { min-height: 100vh; padding: 22px; display: grid; place-items: center; background: var(--bg); }
.candidate-shell { width: min(600px, 100%); min-height: calc(100vh - 44px); display: grid; grid-template-rows: auto minmax(0,1fr) auto; overflow: hidden; box-shadow: var(--shadow-lg); }
.candidate-head { padding: 16px 18px 13px; border-bottom: 1px solid var(--border); background: var(--surface); }
.candidate-brand { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.candidate-brand-main { display: flex; align-items: center; gap: 10px; }
.candidate-brand strong { display: block; }
.candidate-brand small { display: block; color: var(--muted); }
.trust-banner { margin-top: 12px; }
.chat { padding: 20px 18px 28px; overflow-y: auto; background: rgba(255, 253, 247, 0.5); }
.journey { display: flex; align-items: center; gap: 7px; margin-bottom: 22px; }
.journey span { color: var(--muted); font: 700 10px/1.2 var(--font-mono); white-space: nowrap; }
.journey span.active { color: var(--trust); }
.journey i { height: 2px; flex: 1; background: var(--border); }
.journey i.done { background: var(--trust); }
.message { max-width: 85%; margin-bottom: 18px; }
.message-meta { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; color: var(--trust); font-size: 11px; font-weight: 800; }
.ai-chip { padding: 2px 5px; border-radius: 4px; color: #fff; background: var(--trust); font: 800 8px/1.3 var(--font-mono); }
.bubble { margin: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 4px 13px 13px 13px; background: var(--surface); }
.message.user { margin-left: auto; }
.message.user .bubble { border-color: transparent; border-radius: 13px 13px 4px 13px; background: rgba(139, 155, 110, 0.1); }
.citation { margin-top: 7px; border: 0; padding: 0; color: var(--info); background: transparent; font-size: 11px; }
.choice-card { margin-bottom: 18px; padding: 14px; }
.choice-card h2 { font-family: var(--font-display); font-size: 18px; letter-spacing: 0; }
.choice-card > p { margin: 4px 0 10px; font-size: 12px; }
.choice { width: 100%; min-height: 44px; margin-top: 7px; border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px; text-align: left; color: var(--fg); background: var(--surface); }
.choice:hover, .choice.active { border-color: var(--trust); background: var(--trust-soft); }
.choice.active::after { content: "已选择"; float: right; color: var(--trust); font-size: 10px; }
.composer { padding: 12px 14px 14px; border-top: 1px solid var(--border); background: var(--surface); }
.compose-row { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 8px; }
.utility-row { display: flex; justify-content: space-between; gap: 6px; margin-top: 8px; }
.utility-row button, .utility-row a { min-height: 36px; border: 0; padding: 7px 5px; color: var(--muted); background: transparent; font-size: 11px; }
.utility-row button:hover, .utility-row a:hover { color: var(--ink); }

/* Launcher */
.launcher { max-width: 1180px; margin: auto; padding: 40px 28px 64px; position: relative; }
.launcher-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 56px; align-items: end; padding: 58px 0 48px; border-bottom: 1px solid var(--border); }
.launcher h1 { max-width: 14ch; font-size: clamp(48px, 7vw, 86px); line-height: .98; letter-spacing: -0.01em; }
.launcher-lead { margin: 0 0 5px; color: var(--muted); font-size: 18px; }
.launcher-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 28px; }
.launch-card { min-height: 230px; padding: 22px; display: flex; flex-direction: column; position: relative; }
.launch-card small { color: var(--trust); font: 800 10px/1.3 var(--font-mono); letter-spacing: .07em; }
.launch-card h2 { margin-top: 13px; font-size: 29px; }
.launch-card p { flex: 1; }
.launch-card .btn { align-self: flex-start; }
/* 极克制的手帐感：卡片左上角 washi 胶带（pointer-events:none，不影响布局） */
.launch-card::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 22px;
  width: 56px;
  height: 14px;
  background: var(--washi-sage);
  opacity: 0.5;
  transform: rotate(-4deg);
  border-radius: 2px;
  pointer-events: none;
  z-index: 2;
}
.coverage { margin-top: 28px; padding: 20px; }

/* —— 暖纸手帐装饰工具类（规范 4~12，便于后续使用） —— */
.pcard { background: rgba(255, 253, 247, 0.88); border: 1px solid var(--line); padding: 16px 18px; box-shadow: 0 2px 8px rgba(80, 55, 35, 0.06), 0 8px 20px rgba(80, 55, 35, 0.08); backdrop-filter: blur(6px); position: relative; }
.pcard h3 { font-family: "Playfair Display", serif; font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.pcard p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; font-weight: 300; }
.pcard-dark { background: rgba(35, 32, 28, 0.92); color: #f5f0e8; border-color: rgba(255, 255, 255, 0.12); }
.pcard-light-alt { background: rgba(255, 253, 247, 0.95); color: var(--ink); border-color: var(--line); }

.washi { position: absolute; height: 16px; opacity: 0.78; pointer-events: none; z-index: 20; overflow: hidden; }
.washi::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0, transparent 5px, rgba(255, 255, 255, 0.25) 5px, rgba(255, 255, 255, 0.25) 6px); }
.washi-sage { background: var(--washi-sage); }
.washi-rose { background: var(--washi-rose); }
.washi-pink { background: var(--washi-pink); }
.washi-tan { background: var(--washi-tan); }

.pin { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 38% 36%, #fff 0%, #cec4b6 55%, #a89070 100%); border: 1px solid rgba(23, 23, 23, 0.15); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); z-index: 25; pointer-events: none; }

.watermark { position: absolute; font-family: "Playfair Display", serif; font-size: 100px; font-weight: 700; color: rgba(23, 23, 23, 0.03); pointer-events: none; line-height: 1; z-index: 0; }

.dashed-rule { position: absolute; height: 1px; border-top: 1px dashed rgba(23, 23, 23, 0.1); pointer-events: none; z-index: 3; }

.summary { background: linear-gradient(180deg, rgba(255, 253, 247, 0.9), rgba(230, 222, 208, 0.6)); border: 1px solid var(--line); border-left: 4px solid var(--rose); padding: 22px 24px; font-size: clamp(17px, 2.2vw, 22px); line-height: 1.9; color: var(--ink); position: relative; box-shadow: 0 4px 16px rgba(80, 55, 35, 0.06); }
.summary .q { position: absolute; top: -11px; left: 16px; background: var(--rose); color: #fff; font-weight: 600; padding: 2px 12px; font-size: 13px; font-family: "Playfair Display", serif; letter-spacing: 0.08em; }

.step { flex: 1 1 150px; min-width: 150px; background: rgba(255, 253, 247, 0.7); border: 1px solid var(--line); padding: 13px 15px; position: relative; box-shadow: 0 2px 8px rgba(80, 55, 35, 0.05); }
.step .n { font-size: 13px; color: var(--tan); font-weight: 700; letter-spacing: 0.08em; font-family: "Playfair Display", serif; }
.step .t { font-size: 16px; font-weight: 700; margin: 4px 0 8px; color: var(--ink); font-family: "Playfair Display", serif; }
.step .row { font-size: 14px; line-height: 1.65; margin: 6px 0; font-weight: 300; color: var(--ink-soft); }
.step .row b { color: var(--sage); font-weight: 600; }
.step .row.user b { color: var(--rose); }
.step .row.care b { color: var(--blush); }

table.tl { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 12px; font-size: 15px; }
table.tl th, table.tl td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 300; }
table.tl thead th { color: var(--tan); font-size: 13px; letter-spacing: 0.06em; border-bottom: 2px solid var(--tan); font-family: "Playfair Display", serif; font-weight: 700; text-transform: uppercase; }
table.tl tbody tr:hover { background: rgba(184, 154, 107, 0.04); }
table.tl .ph { font-weight: 700; font-family: "Playfair Display", serif; }

.gantt { margin-top: 14px; background: rgba(255, 253, 247, 0.7); border: 1px solid var(--line); border-left: 3px solid var(--sage); padding: 16px 18px 12px; box-shadow: 0 2px 10px rgba(80, 55, 35, 0.05); }
.gantt-title { font-size: 17px; color: var(--ink); font-weight: 700; margin-bottom: 10px; font-family: "Playfair Display", serif; }
.gantt-head { display: grid; grid-template-columns: 90px repeat(12, 1fr); gap: 2px; margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.gantt-head .gh { text-align: center; font-size: 12px; color: var(--muted); font-weight: 600; }
.gantt-row { display: grid; grid-template-columns: 90px 1fr; align-items: center; height: 30px; margin: 2px 0; }
.gantt-row .gl { font-size: 14px; color: var(--ink-soft); text-align: right; padding-right: 10px; font-weight: 500; white-space: nowrap; }
.gantt-track { position: relative; height: 24px; background: repeating-linear-gradient(to right, rgba(23, 23, 23, 0.02) 0, rgba(23, 23, 23, 0.02) 1px, transparent 1px, transparent calc(100% / 12)); overflow: hidden; }
.bar { position: absolute; height: 20px; top: 2px; box-shadow: 0 1px 4px rgba(80, 55, 35, 0.1); }
.bar.p1 { background: linear-gradient(180deg, #a3b285, #8B9B6E); }
.bar.p2 { background: linear-gradient(180deg, #d4a8a2, #C3A8A2); }
.bar.p3 { background: linear-gradient(180deg, #cc9c6f, #B89A6B); }

.risk { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
.risk .r { background: rgba(255, 253, 247, 0.7); border: 1px solid var(--line); border-left: 3px solid var(--blush); padding: 14px 16px; position: relative; box-shadow: 0 2px 8px rgba(80, 55, 35, 0.04); }
.risk .r h4 { font-size: 16px; color: var(--blush); margin-bottom: 6px; font-weight: 700; font-family: "Playfair Display", serif; }
.risk .r p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; font-weight: 300; }

.next-steps { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.next-steps div { background: rgba(255, 253, 247, 0.7); border: 1px solid var(--line); border-top: 3px solid var(--sage); padding: 14px 16px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; font-weight: 300; }
.next-steps div b { display: block; color: var(--ink); margin-bottom: 5px; font-size: 15px; font-family: "Playfair Display", serif; }

/* —— 页脚导航（规范 12，作用域 .nav 以免与通用 .btn 冲突） —— */
.foot { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 5vw, 72px); gap: 12px; z-index: 50; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav .btn { width: 38px; height: 38px; min-height: 38px; padding: 0; border: 1px solid var(--line); background: rgba(255, 253, 247, 0.8); color: var(--ink); font-size: 16px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); font-family: "Playfair Display", serif; border-radius: 50%; }
.nav .btn:hover { border-color: var(--rose); color: var(--rose); }
.nav .btn:disabled { opacity: 0.3; cursor: not-allowed; }
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); cursor: pointer; transition: 0.25s; }
.dots i.on { background: var(--rose); transform: scale(1.2); }
.counter { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; font-family: "Playfair Display", serif; }
.hint { font-size: 11px; color: var(--muted); }
.g2, .g3 { display: grid; gap: 12px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1280px) {
  .workspace { grid-template-columns: 260px minmax(420px, 1fr); }
  .workspace > .pane:last-child { display: none; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .shell { grid-template-columns: 72px minmax(0, 1fr); }
  .brand span, .nav-item span, .nav-label { display: none; }
  .brand { justify-content: center; padding-inline: 0; }
  .nav-item { justify-content: center; padding: 0; }
  .topbar { grid-column: 2; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace { grid-template-columns: 240px minmax(360px, 1fr); }
}
@media (max-width: 820px) {
  .g2, .g3 { grid-template-columns: 1fr; }
  .risk { grid-template-columns: 1fr; }
  .next-steps { grid-template-columns: 1fr; }
  .step { flex: 1 1 100%; }
}
@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar { display: none; }
  .topbar { min-height: 60px; padding: 0 14px; }
  .topbar-title span { display: none; }
  .main { padding: 16px; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .page-actions { justify-content: flex-start; }
  .grid-2, .grid-3, .grid-4, .launcher-grid, .launcher-hero { grid-template-columns: 1fr; }
  .workspace { display: block; min-height: auto; }
  .workspace > .pane:first-child { display: none; }
  .metric-row { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--border); }
  .candidate-page { padding: 0; }
  .candidate-shell { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .launcher { padding: 26px 18px 48px; }
  .launcher-hero { gap: 24px; padding: 34px 0; }
  .launcher h1 { font-size: clamp(44px, 16vw, 66px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
