:root {
  /* 知遇 VI V1.3 · 商务克制（墨玉 · 宣纸 · 白领可读） */
  --brand-primary: #163d36;
  --brand-primary-hover: #0f2c27;
  --brand-gold: #b8954a;
  --brand-gold-soft: #f7f3ea;
  --bg: #fffcfa;
  --bg-mist: #f7f4ef;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e8e4dc;
  --accent: var(--brand-primary);
  --accent-hover: var(--brand-primary-hover);
  --accent-soft: #eef4f2;
  --accent-muted: #c5d4cc;
  --warn: #8a6d1d;
  --danger: #9b2c2c;
  --ok: var(--brand-primary);
  --band-strong: var(--brand-primary);
  --band-possible: #3a5a7a;
  --band-weak: #8a6d1d;
  --band-mismatch: #9b2c2c;
  --shadow-sm: 0 1px 2px rgba(22, 61, 54, 0.05);
  --shadow-md: 0 4px 16px rgba(22, 61, 54, 0.07);
  --radius: 8px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei UI",
    "Microsoft YaHei", sans-serif;
  --font-display: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --content-max: 920px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

/* ── Header ── */
header.app-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 20px;
  height: 56px;
  background: rgba(255, 252, 250, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-width: 0;
  overflow-x: auto;
}

header.app-bar .brand {
  font-weight: 600;
  font-size: 16px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  display: block;
  border-radius: 4px;
}

.brand-mark {
  display: inline-flex;
  line-height: 0;
}

.brand-mark svg {
  display: block;
  border-radius: 4px;
  width: 28px;
  height: 28px;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--brand-primary);
  letter-spacing: 0.14em;
}

header.app-bar .brand-sub {
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line);
  margin-left: 2px;
  letter-spacing: 0;
}

header.app-bar .dev-only {
  display: none;
  color: var(--muted);
  font-size: 11px;
  padding: 2px 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
}

body.dev-mode header.app-bar .dev-only {
  display: inline-block;
}

header.app-bar .persist-chip {
  display: inline-block;
  font-size: 12px;
  margin-left: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  border: none;
  font-weight: 400;
  letter-spacing: 0;
}

header.app-bar .persist-chip.warn-chip {
  background: transparent;
  color: var(--warn);
  font-weight: 500;
  border: none;
}

header.app-bar #userTag.user-chip {
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

header.app-bar #userTag .chip-sep {
  margin: 0 8px;
  color: var(--muted);
}

header.app-bar #userTag a.invite-link {
  color: var(--brand-primary, #163d36);
  font-weight: 600;
  text-decoration: none;
}

header.app-bar #userTag a.invite-link:hover {
  text-decoration: underline;
}

header.app-bar nav {
  margin-left: auto;
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 13px;
  flex-shrink: 0;
  white-space: nowrap;
}

header.app-bar nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 2px;
  transition: color 0.12s;
  background: transparent;
  white-space: nowrap;
  flex-shrink: 0;
}

header.app-bar nav a:hover {
  color: var(--ink);
  background: transparent;
}

header.app-bar nav a.nav-mode {
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 500;
}

header.app-bar nav a.nav-mode:hover {
  color: var(--ink);
  background: transparent;
}

header.app-bar nav a.nav-mode.is-active {
  color: var(--brand-primary);
  background: var(--accent-soft);
  font-weight: 600;
}

/* ── 助手入口（带路壳 · 同后台）── */
.assistant-main {
  max-width: 640px;
  margin: 0 auto 64px;
  padding: 28px 24px 0;
}

.assistant-kicker {
  font-size: 12px;
  margin: 0 0 8px;
}

.assistant-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.35;
}

.assistant-lead {
  margin: 0 0 24px;
  line-height: 1.55;
}

.assistant-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.assistant-h2 {
  font-size: 14px;
  font-weight: 650;
  margin: 0 0 12px;
  color: var(--ink);
}

.assistant-next-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.assistant-next strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.assistant-next p {
  margin: 0 0 8px;
}

.assistant-faq {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.assistant-faq-q {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
}

.assistant-faq-q:hover {
  border-color: var(--accent-muted);
  background: var(--accent-soft);
}

.assistant-faq-a {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  line-height: 1.55;
  font-size: 13px;
}

.assistant-foot {
  margin-top: 20px;
  font-size: 13px;
}

header.app-bar nav a.btn-nav {
  background: var(--brand-primary);
  color: #fff !important;
  font-weight: 550;
  border-radius: 6px;
  padding: 7px 14px;
  letter-spacing: 0;
  border: 1px solid var(--brand-primary);
}

header.app-bar nav a.btn-nav::before {
  content: none;
}

header.app-bar nav a.btn-nav:hover {
  background: var(--brand-primary-hover);
  color: #fff !important;
}

/* ── Layout ── */
main {
  max-width: var(--content-max);
  margin: 0 auto 64px;
  padding: 28px 24px 0;
}

.home-main {
  max-width: 860px;
}

.home-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 8px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.home-search {
  width: min(200px, 100%);
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 13px;
}

.home-search:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(22, 61, 54, 0.1);
}

.home-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.home-filter {
  height: 30px;
  padding: 0 11px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.home-filter .n {
  font-variant-numeric: tabular-nums;
  color: #a3a3a3;
  font-size: 11px;
}

.home-filter.is-active {
  border: none;
  background: var(--accent-soft);
  color: var(--brand-primary);
  font-weight: 600;
}

.home-filter.is-active .n {
  color: var(--brand-primary);
}

.home-filter.is-empty {
  opacity: 0.4;
}

.home-demo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  margin-left: auto;
  user-select: none;
}

.job-card-wrap {
  margin: 0;
  max-height: calc(100vh - 250px);
  overflow: auto;
  padding: 2px 2px 24px;
}

.job-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.job-card:hover {
  border-color: var(--accent-muted);
  box-shadow: var(--shadow-md);
}

.job-card.is-demo {
  opacity: 0.82;
}

.job-card-main {
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.job-card-title {
  display: block;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-card-meta {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

a.job-card-cta {
  flex-shrink: 0;
  min-width: 72px;
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}

.job-table-empty {
  margin: 0;
  padding: 36px 16px;
  text-align: center;
}

/* 旧表格样式保留但首页不再使用 */
.job-table-wrap {
  display: none;
}

.job-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f7f5f1;
  color: var(--muted);
  font-weight: 550;
  font-size: 12px;
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.job-table tbody td {
  padding: 0 12px;
  height: 40px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--ink);
}

.job-table tbody tr:last-child td {
  border-bottom: none;
}

.job-table tbody tr:hover td {
  background: #faf8f5;
}

.job-table tbody tr.is-demo td {
  color: #8a8a8a;
}

.job-table .col-title {
  width: 28%;
  min-width: 160px;
}

.job-table .col-title a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.job-table .col-title a:hover {
  color: var(--brand-primary);
}

.job-table .col-client {
  width: 18%;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.job-table .col-num {
  width: 72px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.job-table thead .col-num {
  text-align: right;
}

.job-table .col-progress {
  width: 28%;
}

.job-table .col-progress .prog {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.job-table .col-next {
  width: 96px;
}

.job-table .col-action {
  width: 72px;
  text-align: right;
}

.next-tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 550;
  line-height: 18px;
  white-space: nowrap;
}

.next-tag.next-import {
  background: #f3f4f6;
  color: #4b5563;
}
.next-tag.next-judge {
  background: var(--accent-soft);
  color: var(--brand-primary);
}
.next-tag.next-verify {
  background: #fff7ed;
  color: #9a3412;
}
.next-tag.next-outcome {
  background: #eff6ff;
  color: #1d4ed8;
}
.next-tag.next-done {
  background: #f3f4f6;
  color: #6b7280;
}

.job-table-empty {
  margin: 0;
  padding: 28px 16px;
  text-align: center;
}

.job-table .task-action {
  height: 28px;
  min-width: 48px;
  padding: 0 10px;
  font-size: 12px;
}

@media (max-width: 820px) {
  .job-table .col-client,
  .job-table .col-progress {
    display: none;
  }
}

.page-hero {
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
}

.page-hero .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 12px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
}

.chip.accent {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-muted);
}

.hint-bar {
  background: var(--accent-soft);
  border: 1px solid var(--accent-muted);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  color: #374151;
  margin-bottom: 16px;
}

h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 12px;
}

h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 16px 0 8px;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

/* Sample Gate waste honesty (cn-239) */
.sample-gate-waste {
  color: var(--muted);
  opacity: 0.92;
}

.card {
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
}

.card-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}

.row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: end;
}

.row > * {
  flex: 1;
  min-width: 160px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #374151;
}

label .label-hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}

input,
textarea,
select,
button {
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(22, 61, 54, 0.12);
}

textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

button,
.btn {
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
  letter-spacing: 0;
}

button:hover,
.btn:hover {
  border-color: var(--ink);
  background: var(--surface);
  color: var(--ink);
}

button.primary,
.btn.primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

button.primary:hover,
.btn.primary:hover {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
}

/** 列表行内：紧凑描边 */
.btn.task-cta {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--brand-primary);
  font-weight: 500;
  font-size: 12px;
  min-width: 52px;
  text-align: center;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: none;
  flex-shrink: 0;
  line-height: 1.3;
}

.btn.task-cta:hover {
  background: var(--accent-soft);
  border-color: var(--brand-primary);
  color: var(--brand-primary-hover);
  text-decoration: none;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ── Tabs ── */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin: 0 0 0;
  overflow-x: auto;
  background: var(--surface);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 0 8px;
}

.tabs button {
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.tabs button:hover {
  color: var(--ink);
}

.tabs button.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.tab-panel {
  display: none;
  padding-top: 20px;
}

.tab-panel.active {
  display: block;
}

.tab-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 0 20px 20px;
  margin-top: -1px;
}

/* ── Task list（旧列表保留最小兼容；首页已改 job-table）── */
.task-list {
  display: none;
}

.task-list > li.task-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
  min-height: 56px;
  padding: 10px 16px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.task-list > li.task-row:last-child {
  border-bottom: 0;
}

.task-list > li.task-row:hover {
  background: #f7f5f1;
}

.task-list > li.task-row.is-demo {
  opacity: 0.78;
}

.task-main {
  display: block;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  padding: 0;
  margin: 0;
}

.task-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.task-name .demo-badge {
  margin-left: 6px;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.task-name .demo-badge::before {
  content: "· ";
}

.task-meta {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

a.task-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--accent-muted);
  border-radius: 6px;
  background: var(--surface);
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  flex-shrink: 0;
  box-sizing: border-box;
}

a.task-action:hover {
  background: var(--accent-soft);
  border-color: var(--brand-primary);
  color: var(--brand-primary-hover);
}

/* ── Match table ── */
.match-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

table.match-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

table.match-table th,
table.match-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

table.match-table th {
  background: #f9fafb;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  text-transform: none;
}

table.match-table tr:last-child td {
  border-bottom: none;
}

table.match-table tbody tr {
  cursor: pointer;
  transition: background 0.1s;
}

table.match-table tbody tr:hover {
  background: #f9fafb;
}

table.match-table tr.selected {
  background: var(--accent-soft);
}

table.match-table tr.selected:hover {
  background: var(--accent-soft);
}

.score-cell {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.band {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 550;
}

.band.strong {
  background: #dceee8;
  color: var(--band-strong);
  border: none;
}
.band.possible {
  background: #e8eef5;
  color: var(--band-possible);
  border: none;
}
.band.weak {
  background: #f7f0dc;
  color: var(--band-weak);
  border: none;
}
.band.mismatch {
  background: #f5e4e4;
  color: var(--band-mismatch);
  border: none;
}

.status-pill {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  background: #f3f4f6;
  color: var(--muted);
  white-space: nowrap;
}

.status-pill.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.status-pill.done {
  background: #f3f4f6;
  color: var(--muted);
}

.status-pill.reject {
  background: #fee2e2;
  color: var(--danger);
}

.conf {
  font-size: 11px;
  color: var(--muted);
}

.conf.high {
  color: var(--ok);
}
.conf.medium {
  color: var(--warn);
}
.conf.low,
.conf.unknown {
  color: #9ca3af;
}

/* ── Dimension grid ── */
.dim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.dim-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fafafa;
  text-align: center;
}

.dim-card .dim-name {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.dim-card .dim-score {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.dim-card .dim-conf {
  font-size: 11px;
  margin-top: 4px;
}

.dim-card.low,
.dim-card.unknown {
  opacity: 0.55;
}

.detail-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.detail-header .big-score {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* P0 Trust Layer — professional transparency, not complexity */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 8px;
}

.trust-explain {
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.hist-kind {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 6px;
  margin-right: 6px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.trust-chip .trust-k,
.decision-trust-row .trust-k {
  color: var(--muted);
  font-weight: 500;
  min-width: 3.5em;
}

.trust-profile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin-bottom: 14px;
  background: #fafafa;
}

.trust-profile-title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
}

.trust-ver {
  font-weight: 500;
  color: var(--brand-primary);
  font-variant-numeric: tabular-nums;
}

.trust-profile-meta {
  margin: 0 0 8px;
  font-size: 12px;
}

.trust-evidence-list {
  margin: 0;
  padding-left: 1.1em;
  font-size: 12px;
  color: var(--ink);
}

.trust-evidence-list li {
  margin-bottom: 2px;
}

.ev-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 2px;
}
.ev-src-resume .ev-tag {
  background: #e8eef5;
  color: #334155;
}
.ev-src-assessment .ev-tag {
  background: var(--accent-soft);
  color: var(--brand-primary);
}
.ev-src-assessment {
  border-left: 2px solid var(--line);
  padding-left: 6px;
  margin-left: -8px;
}
.assess-ready-banner {
  margin: 10px 0 12px;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font-size: 13px;
}
.obs-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 4px;
  padding: 8px 0;
  background: transparent;
  border-radius: 0;
  border: none;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}

.trust-collab-hint {
  margin: 0 0 10px;
  font-size: 12px;
}

.judge-trust-line {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.decision-trust-card {
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-primary);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #fff;
  font-size: 13px;
}

.decision-trust-row {
  display: flex;
  gap: 8px;
  line-height: 1.45;
  margin-bottom: 2px;
}

.gap-list {
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
  color: var(--danger);
  font-size: 13px;
}

.gap-list li {
  padding: 8px 12px;
  background: #fef2f2;
  border-radius: 6px;
  margin-bottom: 6px;
  border-left: 3px solid var(--danger);
}

.record-list {
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none;
}

.record-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.record-list li:last-child {
  border-bottom: none;
}

.split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  align-items: start;
}

@media (max-width: 960px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.detail-panel {
  position: sticky;
  top: 72px;
}

.empty {
  text-align: center;
  padding: 56px 24px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.4;
}

.msg {
  min-height: 1.2em;
  margin-top: 10px;
  font-size: 13px;
}

.msg.ok {
  color: var(--ok);
}

.msg.err {
  color: var(--danger);
}

.section-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}

.form-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.form-section-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}

.landing-hero {
  text-align: center;
  padding: 40px 20px 32px;
}

.landing-hero h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.landing-hero p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 24px;
}

.job-new-main {
  max-width: 720px;
}

.flow-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13px;
}

.flow-step {
  color: var(--muted);
  font-weight: 500;
}

.flow-step.active {
  color: var(--brand-primary);
  font-weight: 600;
}

.flow-step.done {
  color: var(--ink);
}

.flow-line {
  flex: 0 0 32px;
  height: 1px;
  background: var(--line);
}

.jd-source {
  margin: 16px 0;
  font-size: 13px;
}

.jd-source summary {
  cursor: pointer;
  color: var(--accent);
}

.jd-preview {
  margin: 10px 0 0;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid var(--line);
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.5;
  max-height: 200px;
  overflow: auto;
  font-family: inherit;
}

/* ── 匹配判断台 ── */
.judge-board {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(340px, 1.1fr);
  gap: 20px;
  align-items: start;
  padding-top: 8px;
}

@media (max-width: 960px) {
  .judge-board {
    grid-template-columns: 1fr;
  }
}

.judge-list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.judge-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  padding-right: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.judge-card {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 8px 10px;
  cursor: pointer;
  transition: background 0.12s;
  font: inherit;
  color: inherit;
}

.judge-card:hover {
  border-color: transparent;
  box-shadow: none;
  background: var(--bg-mist);
}

.judge-card.selected {
  border-color: transparent;
  background: var(--accent-soft);
  box-shadow: inset 2px 0 0 var(--brand-primary);
}

.judge-card:last-child {
  border-bottom: none;
}

.judge-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.judge-rank {
  flex: 0 0 20px;
  height: 20px;
  border-radius: 4px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.judge-card.selected .judge-rank {
  background: var(--brand-primary);
  color: #fff;
}

.judge-name-block {
  flex: 1;
  min-width: 0;
}

.judge-name {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.done-badge {
  font-size: 10px;
  font-weight: 550;
  padding: 0 5px;
  border-radius: 3px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  flex-shrink: 0;
}

.done-badge.outcome {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.pipe-badge {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1px 7px;
  border-radius: 3px;
  vertical-align: middle;
  border: 1px solid transparent;
}

.pipe-badge.st-todo {
  color: #8a7340;
  background: rgba(166, 134, 63, 0.12);
  border-color: rgba(166, 134, 63, 0.25);
}

.pipe-badge.st-verify {
  color: #3d4a6b;
  background: rgba(61, 74, 107, 0.1);
  border-color: rgba(61, 74, 107, 0.22);
}

.pipe-badge.st-next {
  color: #163d36;
  background: rgba(22, 61, 54, 0.1);
  border-color: rgba(22, 61, 54, 0.22);
}

.pipe-badge.st-judged,
.pipe-badge.st-letter {
  color: #3d5a52;
  background: rgba(22, 61, 54, 0.06);
  border-color: rgba(22, 61, 54, 0.12);
}

.pipe-badge.st-no {
  color: #7a4a4a;
  background: rgba(155, 44, 44, 0.08);
  border-color: rgba(155, 44, 44, 0.18);
}

.pipe-badge.st-done {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
}

header.app-bar .nav-cta-soft {
  color: #6a6154 !important;
  font-weight: 500;
  border: 1px solid rgba(22, 61, 54, 0.14);
  border-radius: 6px;
  padding: 5px 12px;
  background: transparent;
}

header.app-bar .nav-cta-soft:hover {
  color: #163d36 !important;
  border-color: rgba(22, 61, 54, 0.28);
  background: rgba(22, 61, 54, 0.04);
}

.judge-meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow: hidden;
}

.judge-score {
  text-align: right;
  flex-shrink: 0;
}

.judge-score-num {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.judge-score-unit {
  display: inline;
  font-size: 10px;
  color: var(--muted);
  margin-left: 1px;
}

.judge-score-sem {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #2b4f7e;
}

.judge-gap {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.3;
  padding: 0;
  border-radius: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.judge-gap.has-gap {
  background: transparent;
  color: #9a3412;
}

.judge-gap.no-gap {
  background: transparent;
  color: var(--muted);
}

.judge-why {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--brand-primary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.judge-why.muted {
  color: #9ca3af;
  font-weight: 400;
}

.judge-gap-inline.has-gap {
  color: #9a3412;
  font-weight: 400;
}

.judge-gap-inline.no-gap {
  color: var(--muted);
  font-weight: 400;
}

.judge-why.muted {
  color: #9ca3af;
  font-weight: 400;
}

.judge-detail-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.judge-quick {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.judge-quick-btn {
  flex: 1;
  min-width: 88px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.judge-quick-btn:hover {
  border-color: var(--accent-muted);
}

.judge-quick-btn.active {
  border-color: var(--brand-primary);
  background: var(--accent-soft);
  color: var(--brand-primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.import-modes {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.import-mode {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 2px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  color: var(--muted);
}

.import-mode.active {
  border-color: var(--brand-primary);
  background: var(--accent-soft);
  color: var(--brand-primary);
  font-weight: 600;
}

.import-hint {
  margin: 8px 0 0;
}

.upload-dropzone {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.12s;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--brand-primary);
  background: var(--surface);
  box-shadow: none;
}

.upload-dropzone.busy {
  opacity: 0.65;
  pointer-events: none;
  cursor: wait;
}

.upload-icon {
  width: 40px;
  height: 48px;
  margin: 0 auto 12px;
  border: 2px solid var(--accent-muted);
  border-radius: 4px;
  position: relative;
  background: #fff;
}

.upload-icon::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, transparent 50%, var(--accent-muted) 50%);
  border-radius: 0 2px 0 0;
}

.upload-title {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 15px;
}

.upload-actions {
  margin-top: 14px;
}

.paste-fallback {
  margin-top: 16px;
  font-size: 13px;
}

.paste-fallback summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 500;
}

.paste-fallback textarea {
  margin-top: 8px;
}

.draft-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0 4px;
}

.draft-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: #fafafa;
}

.draft-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.draft-source {
  font-size: 12px;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.draft-remove {
  border: none;
  background: transparent;
  color: var(--danger);
  cursor: pointer;
  font-size: 13px;
  padding: 4px 8px;
}

.draft-note {
  margin: 8px 0 0;
  font-size: 12px;
}

.draft-evidence {
  margin: 10px 0 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px dashed #c4d4cc;
  border-radius: 6px;
}

.draft-evidence-title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 650;
  color: var(--brand-primary);
}

.draft-evidence ul {
  margin: 0;
  padding-left: 18px;
}

.draft-evidence li {
  font-size: 12px;
  line-height: 1.45;
  margin: 4px 0;
}

.draft-quote {
  color: #374151;
}

.eval-why-preview {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 12px;
  color: #374151;
  line-height: 1.45;
}

.eval-why-preview li {
  margin: 2px 0;
}

.draft-warn {
  margin: 6px 0 0;
  font-size: 12px;
  color: #92400e;
}

input.needs-attention,
textarea.needs-attention,
select.needs-attention {
  border-color: #f59e0b !important;
  background: #fffbeb !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.workspace-boot-error {
  margin: 24px 0;
  padding: 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: var(--danger);
  font-size: 14px;
}

.home-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 4px 0 0;
  padding: 0;
}

.team-trust {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted);
  padding: 0;
  border-bottom: none;
}

.home-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
  line-height: 1.3;
}

.home-empty {
  padding: 64px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-top: 8px;
  box-shadow: var(--shadow-sm);
}

.assess-eval-box {
  margin: 10px 0 12px;
  padding: 12px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-muted);
  border-radius: var(--radius);
  font-size: 13px;
}

.home-empty .empty-logo {
  margin-bottom: 12px;
  border-radius: 4px;
}

.home-empty .empty-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.home-steps-inline {
  display: block;
  list-style: decimal;
  padding: 0 0 0 1.25em;
  margin: 24px auto 0;
  max-width: 360px;
  text-align: left;
  font-size: 12px;
  color: var(--muted);
}

.home-steps-inline li {
  position: static;
  padding-left: 0;
  margin: 6px 0;
}

.home-steps-inline li::before {
  display: none;
}

.task-row.is-demo {
  opacity: 0.78;
}

.demo-badge {
  display: inline;
  margin-left: 6px;
  padding: 0;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  background: transparent;
  border: none;
  vertical-align: baseline;
}

.demo-badge::before {
  content: "· ";
}

.workspace-error {
  text-align: center;
  padding: 64px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 480px;
  margin: 40px auto;
}

.workspace-error h1 {
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.match-empty {
  text-align: center;
  padding: 48px 24px;
  background: #fafafa;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.match-empty-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.match-empty p {
  margin: 0 0 8px;
}

.match-empty .muted {
  margin-bottom: 16px;
}

/* 30-min path rail */
.path-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
}

.path-step {
  border: 1px solid transparent;
  background: transparent;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 2px;
  cursor: pointer;
}

.path-step:hover {
  color: var(--brand-primary);
  background: rgba(11, 77, 60, 0.06);
}

.path-step.active {
  color: var(--brand-primary);
  border-color: #c4d4cc;
  background: #fff;
}

.path-sep {
  width: 12px;
  height: 1px;
  background: #c4d4cc;
}

.path-rail-hint {
  margin: 6px 0 0;
  font-size: 11px;
}

.asset-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: var(--muted, #5c6b66);
}

.asset-strip .asset-cta {
  font-size: 12px;
  padding: 4px 10px;
}

.validation-strip {
  margin: 8px 0 0;
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 6px;
  background: #f3f6f4;
  color: #3d4f48;
  border: 1px solid #d5e0db;
}

.validation-strip.is-partial {
  background: #fbf6ea;
  border-color: #e8d9a8;
}

.validation-strip.is-pass {
  background: #eaf5ef;
  border-color: #b7d9c4;
}

.job-card.is-sample-gap .job-card-meta {
  color: var(--muted);
}

.second-job-hint {
  margin: 0 0 14px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.sample-gate-next-btn {
  flex: 0 0 auto;
  font-size: 13px;
  padding: 6px 12px;
}

.tabs .tab-secondary {
  opacity: 0.72;
  font-weight: 500;
}

.steps-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.step-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.step-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-item h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.step-item p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .steps-card {
    grid-template-columns: 1fr;
  }
  main {
    padding: 16px;
  }
}

/* ── 使用指引（极简：细线分区，无渐变）── */
.guide-bar {
  background: var(--surface);
  color: var(--ink);
  border-radius: 0;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  box-shadow: none;
}

.guide-inner {
  padding: 16px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

@media (max-width: 860px) {
  .guide-inner {
    grid-template-columns: 1fr;
  }
}

.guide-progress-track {
  width: 80px;
  height: 2px;
  background: var(--line);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 6px;
}

.guide-progress-fill {
  height: 100%;
  background: var(--brand-primary);
  border-radius: 0;
  transition: width 0.3s;
}

.guide-step-num {
  font-size: 11px;
  color: var(--muted);
}

.guide-content strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.guide-content p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.guide-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.guide-btn {
  padding: 6px 12px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}

.guide-btn.primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  font-weight: 500;
}

.guide-btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.guide-highlight {
  outline: 1px solid var(--brand-primary) !important;
  outline-offset: 2px;
  box-shadow: none !important;
}

.guide-tip {
  margin-top: 12px;
  padding: 10px 0;
  background: transparent;
  border-top: 1px solid var(--line);
  border-radius: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ── 缺口卡片（白话） ── */
.gap-cards {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.gap-card {
  padding: 12px 0;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 13px;
}

.gap-card.medium {
  border-color: #fde68a;
  background: #fffbeb;
}

.gap-card.low {
  border-color: var(--line);
  background: #f8fafc;
}

.gap-card-title {
  font-weight: 600;
  color: var(--danger);
  margin-bottom: 4px;
  font-size: 12px;
}

.gap-card.medium .gap-card-title {
  color: var(--warn);
}

.gap-card.low .gap-card-title {
  color: var(--muted);
}

.gap-card-body {
  color: var(--ink);
  line-height: 1.5;
}

.gap-card-advice {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.gap-card-cta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.iv-report-block {
  margin: 12px 0 16px;
}

.iv-report-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 650;
}

.iv-report-cta {
  margin: 12px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--accent-soft, rgba(0, 0, 0, 0.04));
}

.iv-report-cta .btn-iv-start-all {
  font-size: 15px;
  padding: 10px 16px;
  min-height: 40px;
}

.gap-card-cta .btn-iv-start {
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}

.gap-iv-hint {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.gap-iv-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
}

/* D3 · 报告链 vs 策展链视觉区分 */
.btn-iv-report {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 78, 216, 0.45);
}
.btn-iv-report::before {
  content: "▣ ";
  font-size: 11px;
  opacity: 0.85;
}
.btn-iv-report:hover {
  color: #1e40af;
  border-bottom-color: #1e40af;
}
.btn-iv-report-disabled {
  color: #94a3b8;
  font-weight: 500;
  border-bottom: 1px dashed #cbd5e1;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-iv-curator {
  color: #64748b;
  font-weight: 400;
}
.btn-iv-curator::before {
  content: "↗ ";
  font-size: 11px;
  opacity: 0.7;
}

.gap-iv-phase {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft, rgba(0, 0, 0, 0.06));
}

.gap-iv-gids {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
}

.gap-iv-gid {
  display: inline-block;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 1px 6px;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.12));
  border-radius: 4px;
  font-size: 11px;
  color: var(--muted);
  cursor: default;
}

.iv-link-gaps {
  margin: 4px 0 8px;
  font-size: 11px;
  word-break: break-all;
}

.iv-link-dialog {
  border: 0;
  border-radius: 12px;
  padding: 0;
  max-width: 28rem;
  width: calc(100% - 2rem);
}

.iv-link-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.iv-link-form {
  padding: 1rem 1.1rem;
}

.iv-link-form h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.iv-link-form input {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-size: 12px;
  box-sizing: border-box;
}

.explain-panel {
  margin: 12px 0 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.explain-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.explain-title {
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--brand-primary);
}

.explain-sub {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.4;
}

.explain-score-line {
  font-size: 11px;
  margin: 0 0 10px;
  font-variant-numeric: tabular-nums;
}

.explain-why-lead {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.explain-why-lead li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid #e8eee9;
  font-size: 13px;
  line-height: 1.5;
}

.explain-why-lead li:last-child {
  border-bottom: none;
}

.explain-why-lead .why-n {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border-radius: 0;
}

.explain-why-lead .why-t {
  color: #1a1a1a;
}

.explain-why-empty {
  margin: 0 0 12px;
  font-size: 12px;
}

.explain-scan-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
}

@media (max-width: 720px) {
  .explain-scan-grid {
    grid-template-columns: 1fr;
  }
}

.explain-cta {
  margin: 12px 0 0;
  font-size: 12px;
  padding-top: 10px;
  border-top: 1px dashed #d5e4dd;
}

.explain-ver {
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
}

.explain-suggestion {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
}

.explain-suggestion.suggestion-consider {
  background: rgba(26, 95, 74, 0.12);
  color: var(--brand-primary, #1a5f4a);
}

.explain-suggestion.suggestion-hold {
  background: rgba(180, 83, 9, 0.12);
  color: var(--band-weak, #b45309);
}

.explain-suggestion.suggestion-reject {
  background: rgba(185, 28, 28, 0.1);
  color: var(--band-mismatch, #b91c1c);
}

.explain-lead {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
}

.explain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 720px) {
  .explain-grid {
    grid-template-columns: 1fr;
  }
}

.explain-block h4 {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

.explain-list {
  margin: 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.45;
}

.explain-list.explain-missing li {
  color: var(--band-mismatch, #b91c1c);
}

.explain-evidence {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.45;
}

.explain-evidence li {
  margin-bottom: 6px;
}

.explain-risks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.explain-risk {
  font-size: 12px;
  line-height: 1.4;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
}

.explain-risk.high {
  border-color: rgba(185, 28, 28, 0.35);
  background: rgba(185, 28, 28, 0.04);
}

.explain-risk-sev {
  font-weight: 600;
  margin-right: 6px;
}

.explain-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border, #e5e7eb);
}

.explain-empty {
  background: #fafafa;
}

.dim-card .dim-insight {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.35;
  text-align: left;
}

.empty-detail {
  text-align: center;
  padding: 32px 16px;
  color: var(--muted);
}

.empty-detail-kicker {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.empty-detail-icon {
  font-size: 36px;
  opacity: 0.35;
  margin-bottom: 8px;
}

button.linkish {
  border: 0;
  background: none;
  color: var(--accent, #1a5f4a);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

/* ── 推荐函预览（W4 · Confidential Brief） ── */
.eval-preview-wrap {
  margin-top: 12px;
}

.eval-preview {
  background: #f7f6f2;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink);
  max-height: 640px;
  overflow-y: auto;
}

.eval-preview.letter-preview-host {
  white-space: normal;
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
}

.eval-preview-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.eval-preview-label::before {
  content: "";
  width: 2px;
  height: 12px;
  background: var(--brand-primary);
  border-radius: 0;
}

.split-eval {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 960px) {
  .split-eval {
    grid-template-columns: 1fr;
  }
}

/* Letter document */
.letter-doc {
  background: #fff;
  color: #1a1a1a;
  padding: 28px 26px 32px;
  border: 1px solid #e2e0d8;
}

.letter-header {
  border-bottom: 2px solid var(--brand-primary);
  padding-bottom: 16px;
  margin-bottom: 22px;
}

.letter-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.letter-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--brand-primary);
  box-shadow: none;
}

.letter-brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-primary);
}

.letter-brand-sub {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.letter-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
}

.letter-meta-grid .mk {
  display: inline-block;
  min-width: 4.5em;
  color: #6b7280;
  margin-right: 6px;
}

.letter-meta-grid .mv {
  color: #111;
  font-weight: 500;
}

.letter-section {
  margin-bottom: 22px;
}

.letter-section h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e2d9;
  color: var(--brand-primary);
  font-family: "Segoe UI", "PingFang SC", sans-serif;
}

.letter-section .sec-num {
  color: #c4a35a;
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}

.letter-section .sec-en {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-left: 8px;
}

.letter-origin {
  font-size: 11px;
  color: #6b7280;
  margin: 0 0 10px;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
}

.letter-decision {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 14px 14px 12px;
  border-radius: 0;
}

.letter-rec-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 16px;
  border-left: 4px solid var(--brand-primary);
  background: #fff;
  margin-bottom: 12px;
}

.letter-rec-badge .rec-zh {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-primary);
}

.letter-rec-badge .rec-en {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  font-family: "Segoe UI", sans-serif;
}

.letter-rec-badge.rec-submit {
  border-left-color: var(--brand-primary);
}
.letter-rec-badge.rec-consider {
  border-left-color: #c4a35a;
}
.letter-rec-badge.rec-hold {
  border-left-color: #9ca3af;
}
.letter-rec-badge.rec-reject {
  border-left-color: #b45353;
}
.letter-rec-badge.rec-reject .rec-zh {
  color: #8b3a3a;
}

.letter-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 4px;
  font-family: "Segoe UI", sans-serif;
}

.letter-summary-body {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 8px;
}

.letter-comment {
  font-size: 13px;
  margin: 8px 0 0;
  color: #374151;
}

.letter-disclaimer {
  font-size: 11px;
  color: #6b7280;
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px dashed #d5e4dd;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
}

.letter-ev-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eeebe3;
  align-items: start;
}

.letter-ev-num {
  font-family: "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #c4a35a;
  padding-top: 2px;
}

.letter-ev-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 修-2 · 纵向证据行：窄栏 / 打印层不易塌 */
.letter-ev-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
  line-height: 1.45;
}

.letter-ev-row .k {
  color: #6b7280;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.letter-ev-row .v {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: #1f2937;
}

.letter-ev-row .v.quote {
  font-style: italic;
  color: #1f2937;
}

.letter-ev-src {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #9ca3af;
  margin-top: 2px;
  font-family: "Segoe UI", sans-serif;
}

.letter-closing p {
  margin: 0 0 6px;
  font-size: 12.5px;
  color: #4b5563;
  line-height: 1.5;
}

.letter-risk-list,
.letter-steps {
  margin: 0;
  padding-left: 1.1em;
  font-size: 13px;
}

.letter-risk-list li,
.letter-steps li {
  margin-bottom: 6px;
}

.risk-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8b5a2b;
  background: #f5efe4;
  padding: 1px 6px;
  margin-right: 6px;
  font-family: "Segoe UI", sans-serif;
}

.letter-system {
  background: #fafaf8;
  padding: 12px 12px 8px;
  border: 1px solid #ebe8e0;
}

.letter-sys-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 12px;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
  margin-bottom: 12px;
  color: #374151;
}

.letter-dim-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
}

.letter-dim-table th,
.letter-dim-table td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid #e8e5dc;
}

.letter-dim-table th {
  color: #6b7280;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.letter-muted {
  color: #9ca3af;
  font-size: 12px;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
}

.letter-footer {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 2px solid var(--brand-primary);
  font-size: 11px;
  color: #6b7280;
  font-family: "Segoe UI", "PingFang SC", sans-serif;
}

.letter-footer p {
  margin: 0 0 4px;
}

/* 推荐函打印：同页 Modal → 确认 → window.print（不弹新窗，避免拦截） */
.letter-print-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.letter-print-modal[hidden] {
  display: none !important;
}
.letter-print-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.letter-print-modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(90vh, 900px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d7e0db;
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}
.letter-print-modal-head {
  padding: 16px 20px 8px;
  border-bottom: 1px solid #e8ebe8;
}
.letter-print-modal-body {
  padding: 16px 20px;
  overflow: auto;
  flex: 1;
}
.letter-print-modal-actions {
  padding: 12px 20px 16px;
  margin: 0;
  border-top: 1px solid #e8ebe8;
  justify-content: flex-end;
}
.letter-print-sheet {
  display: none;
}
body.letter-print-modal-open {
  overflow: hidden;
}

/* 旧版「只打 letter-doc」：仅非 letter-printing 时生效，避免与 Modal 打印叠字 */
@media print {
  body:not(.letter-printing) * {
    visibility: hidden;
  }
  body:not(.letter-printing) .letter-doc,
  body:not(.letter-printing) .letter-doc * {
    visibility: visible;
  }
  body:not(.letter-printing) .letter-system,
  body:not(.letter-printing) .letter-system * {
    visibility: hidden !important;
    display: none !important;
  }
  body:not(.letter-printing) .letter-doc {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: none;
    box-shadow: none;
  }
  body.letter-printing > *:not(#letterPrintSheet) {
    display: none !important;
  }
  body.letter-printing #letterPrintSheet {
    display: block !important;
    position: static !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
  }
  body.letter-printing #letterPrintSheet .letter-doc {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    box-shadow: none !important;
    max-width: none !important;
    margin: 0 !important;
    border: none !important;
  }
  body.letter-printing #letterPrintSheet .letter-system {
    display: none !important;
  }
}

body.letter-print-root {
  background: #fff;
}


/* ── Premium Recruiter Workspace (P0 W1) ── */
.dev-only {
  display: none;
}

body.dev-mode .dev-only {
  display: inline;
}

/* ── 工作台视觉：单层纸面，禁止「米色底→白卡片→再套层」 ── */
body.premium-workspace,
body.atelier-ws {
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #1c1a17;
  background: #faf8f4;
  background-image: none;
  -webkit-font-smoothing: antialiased;
}

body.premium-workspace header.app-bar {
  background: #faf8f4;
  border-bottom: 1px solid rgba(22, 61, 54, 0.08);
  box-shadow: none;
  backdrop-filter: none;
  height: 52px;
}

body.premium-workspace main,
body.atelier-ws main {
  max-width: none !important;
  width: 100%;
  padding: 12px 20px 0;
  margin: 0 !important;
  box-sizing: border-box;
}

body.premium-workspace .page-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
  margin: 0 0 10px;
  padding: 4px 0 12px;
  border-bottom: 1px solid rgba(22, 61, 54, 0.08);
  max-width: none;
  background: transparent;
}

body.premium-workspace .page-hero h1 {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #163d36;
  margin: 0;
  flex: 0 1 auto;
}

body.premium-workspace .page-hero .meta-row {
  width: 100%;
  order: 3;
  margin: 0;
}

body.premium-workspace .path-rail {
  order: 2;
  margin: 0;
  margin-left: auto;
  gap: 2px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  width: auto;
  max-width: 100%;
  box-shadow: none;
}

body.premium-workspace .path-step {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 0;
  color: #7a7164;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  box-shadow: none;
}

body.premium-workspace .path-step:hover {
  color: #163d36;
  background: transparent;
}

body.premium-workspace .path-step.active {
  color: #163d36;
  background: transparent;
  border-bottom-color: #163d36;
  box-shadow: none;
}

body.premium-workspace .path-sep {
  display: none;
}

body.premium-workspace .path-rail-hint {
  order: 4;
  width: 100%;
  margin: 2px 0 0;
  font-size: 12.5px;
  color: #8a8174;
  letter-spacing: 0.01em;
}

body.premium-workspace .path-rail-aux {
  order: 5;
  margin-top: 0;
  opacity: 0.75;
}

body.premium-workspace .asset-strip,
body.premium-workspace .validation-strip {
  order: 6;
  width: 100%;
  margin: 4px 0 0;
  padding: 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 12.5px;
  color: #7a7164;
}

/* 路径条已承担主导航 */
body.premium-workspace .tabs {
  display: none;
}

body.premium-workspace .tab-shell {
  margin-top: 0;
  width: 100%;
}

body.premium-workspace .tab-panel.active {
  width: 100%;
}

/* 匹配台：一整面，中间一根线，不要两张浮卡 */
body.premium-workspace .judge-board {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.4fr);
  gap: 0;
  padding: 0;
  min-height: calc(100vh - 140px);
  align-items: stretch;
  background: #fffcf7;
  border: 1px solid rgba(22, 61, 54, 0.08);
  border-radius: 0;
  border-left: none;
  border-right: none;
  box-shadow: none;
  margin: 0 -20px;
  width: calc(100% + 40px);
}

body.premium-workspace .judge-list-col {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 140px);
  height: calc(100vh - 140px);
  background: transparent;
  border: none;
  border-right: 1px solid rgba(22, 61, 54, 0.08);
  border-radius: 0;
  padding: 16px 18px 18px;
  box-shadow: none;
}

body.premium-workspace .judge-list-head .card-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: #163d36;
}

body.premium-workspace .judge-list {
  flex: 1;
  gap: 8px;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
  border: none;
  background: transparent;
  padding-right: 2px;
}

body.premium-workspace .judge-card {
  border: 1px solid rgba(22, 61, 54, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 14px 14px 12px;
  box-shadow: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

body.premium-workspace .judge-card:hover {
  border-color: rgba(22, 61, 54, 0.22);
  background: #fff;
  box-shadow: none;
  transform: none;
}

body.premium-workspace .judge-card.selected {
  border-color: rgba(22, 61, 54, 0.35);
  background: #fff;
  box-shadow:
    inset 3px 0 0 #163d36,
    0 14px 32px rgba(22, 61, 54, 0.1);
}

body.premium-workspace .judge-rank {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  border-radius: 8px;
  font-size: 12px;
  background: #efe6d8;
  color: #5c564c;
}

body.premium-workspace .judge-card.selected .judge-rank {
  background: #163d36;
  color: #fffcf7;
}

body.premium-workspace .judge-name {
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 6px;
  white-space: normal;
}

body.premium-workspace .judge-score-num {
  font-size: 22px;
  letter-spacing: -0.02em;
}

body.premium-workspace .judge-score-unit {
  font-size: 12px;
}

body.premium-workspace .judge-why,
body.premium-workspace .judge-gap {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  font-size: 13px;
  line-height: 1.55;
  margin-top: 10px;
}

body.premium-workspace .judge-why-plus,
body.premium-workspace .judge-gap-minus {
  font-size: 13px;
  line-height: 1.55;
}

body.premium-workspace .judge-detail,
body.premium-workspace .detail-panel.judge-detail {
  max-height: none;
  min-height: calc(100vh - 140px);
  height: calc(100vh - 140px);
  overflow-y: auto;
  width: 100%;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 16px 22px 28px;
  box-shadow: none !important;
}

body.premium-workspace .judge-detail-name {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #163d36;
}

body.premium-workspace .big-score {
  font-size: 2.4rem;
  font-weight: 700;
  color: #163d36;
  letter-spacing: -0.03em;
}

body.premium-workspace .premium-detail-header {
  border-bottom: 1px solid rgba(22, 61, 54, 0.1);
  padding-bottom: 16px;
  margin-bottom: 14px;
}

body.premium-workspace .judgment-primary {
  border: none;
  border-top: 1px solid rgba(22, 61, 54, 0.1);
  background: transparent;
  border-radius: 0;
  padding: 18px 0 8px;
  margin: 16px 0 12px;
  box-shadow: none;
  position: relative;
  top: auto;
}

body.premium-workspace .judgment-lead {
  margin: 4px 0 12px;
  font-size: 13px;
  line-height: 1.55;
}

body.premium-workspace .now-coach {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-radius: 0;
  border-bottom: 1px solid rgba(22, 61, 54, 0.08);
  background: transparent;
  color: #3d4a45;
}

body.premium-workspace .now-coach-k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #163d36;
  opacity: 1;
}

body.premium-workspace .now-coach-t {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.5;
  color: #5a564c;
}

body.premium-workspace .focus-badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(166, 134, 63, 0.18);
  color: #8a7340;
}

body.premium-workspace .focus-badge-act {
  background: rgba(22, 61, 54, 0.12);
  color: #163d36;
  margin-right: 8px;
  vertical-align: middle;
}

body.premium-workspace .match-why-risk {
  border: 2px solid rgba(22, 61, 54, 0.18);
  box-shadow: 0 10px 28px rgba(22, 61, 54, 0.06);
}

body.premium-workspace .mwr-block-gap {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(139, 69, 19, 0.06);
}

body.premium-workspace .focus-next {
  margin: 12px 0 0;
  font-size: 12.5px;
}

body.premium-workspace .focus-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

body.premium-workspace .path-rail-aux {
  margin-top: 6px;
  opacity: 0.85;
}

body.premium-workspace .judge-list-head .card-title::after {
  content: none;
}

body.premium-workspace .judgment-compact-row {
  margin-bottom: 12px;
}

body.premium-workspace .judgment-evidence-fold {
  margin: 12px 0 8px;
  border: 1px dashed rgba(22, 61, 54, 0.18);
  border-radius: 10px;
  padding: 8px 12px 12px;
  background: rgba(255, 255, 255, 0.65);
}

body.premium-workspace .judgment-evidence-fold > summary {
  cursor: pointer;
  font-size: 12.5px;
  color: #6a6154;
  letter-spacing: 0.02em;
  padding: 4px 0;
}

body.premium-workspace .judgment-evidence-fold[open] > summary {
  margin-bottom: 8px;
}

body.premium-workspace .assessment-box {
  border-radius: 12px;
  padding-top: 8px;
}

body.premium-workspace .assessment-box > .muted {
  font-size: 13px;
  line-height: 1.55;
}

body.premium-workspace .judge-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 14px;
}

body.premium-workspace .judge-quick-btn {
  border: 1px solid rgba(22, 61, 54, 0.16);
  background: #fff;
  color: #3a342c;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.premium-workspace .judge-quick-btn:hover {
  border-color: rgba(22, 61, 54, 0.35);
  color: #163d36;
}

body.premium-workspace .judge-quick-btn.active {
  background: #163d36;
  border-color: #163d36;
  color: #fffcf7;
}

body.premium-workspace .judgment-primary textarea.field-evidence {
  min-height: 220px;
  font-size: 14.5px;
  line-height: 1.75;
  border-radius: 10px;
  padding: 14px;
  background: #fff;
}

body.premium-workspace .judgment-primary textarea.field-comment {
  min-height: 110px;
  font-size: 14.5px;
  line-height: 1.7;
  border-radius: 10px;
  padding: 14px;
}

body.premium-workspace .judgment-primary .primary,
body.premium-workspace .btn.primary,
body.premium-workspace button.primary {
  border-radius: 10px;
  min-height: 44px;
  padding: 0 20px;
  letter-spacing: 0.08em;
}

body.premium-workspace .card {
  border: 1px solid rgba(22, 61, 54, 0.08);
  border-radius: 0;
  background: #fffcf7;
  box-shadow: none;
  padding: 18px 20px;
}

body.premium-workspace .card-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #163d36;
}

body.premium-workspace .match-why-risk {
  background: transparent;
  border: 1px solid rgba(22, 61, 54, 0.12);
  border-radius: 8px;
  padding: 14px 14px;
  box-shadow: none;
}

/* asset/validation：保持上文「透明一行」，勿再套色块 */
body.premium-workspace .asset-strip,
body.premium-workspace .validation-strip {
  margin-top: 4px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

body.premium-workspace #panel-eval .split-eval,
body.premium-workspace #panel-workflow .card {
  max-width: none;
}

body.premium-workspace #panel-eval .split-eval {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  width: calc(100% + 40px);
  margin: 0 -20px;
  background: #fffcf7;
  border-top: 1px solid rgba(22, 61, 54, 0.08);
}

@media (max-width: 960px) {
  body.premium-workspace #panel-eval .split-eval {
    grid-template-columns: 1fr;
    width: calc(100% + 24px);
    margin: 0 -12px;
  }

  body.premium-workspace .judge-board {
    grid-template-columns: 1fr;
    min-height: auto;
    margin: 0 -12px;
    width: calc(100% + 24px);
  }

  body.premium-workspace .judge-list-col,
  body.premium-workspace .judge-detail,
  body.premium-workspace .detail-panel.judge-detail {
    max-height: none;
    min-height: auto;
    height: auto;
    border-right: none;
  }

  body.premium-workspace .path-rail {
    margin-left: 0;
    width: 100%;
  }

  body.premium-workspace main {
    padding: 10px 12px 0;
  }
}

.premium-detail-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 4px;
}

.detail-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.trust-strip.compact {
  margin: 8px 0 4px;
}

.judgment-primary {
  border: 1px solid var(--accent-muted);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 8px;
  z-index: 4;
  margin: 10px 0 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
}

.judgment-primary textarea.field-evidence {
  min-height: 200px;
  font-size: 14px;
  line-height: 1.7;
  font-family: inherit;
}

.judgment-primary textarea.field-comment {
  min-height: 96px;
  font-size: 14px;
  line-height: 1.65;
}

.judgment-same-hint {
  font-size: 11px;
  font-weight: 500;
  margin-left: 6px;
}

.judgment-actions {
  margin-top: 10px;
}

#panel-eval textarea#summary,
#panel-eval textarea#risks,
#panel-eval textarea#questions,
#panel-eval textarea#evalEvidence,
#panel-eval textarea#reasonText,
#panel-workflow textarea#outcomeNote {
  min-height: 110px;
  font-size: 14px;
  line-height: 1.65;
}

#panel-eval textarea#evalEvidence,
#panel-eval textarea#summary {
  min-height: 140px;
}

.explain-evidence-fold {
  margin: 8px 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px 12px;
  background: #fafbfa;
}

.explain-evidence-fold > summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  color: #374151;
  padding: 4px 0;
}

.explain-evidence-fold[open] > summary {
  margin-bottom: 10px;
}

details.advanced-analysis {
  margin: 14px 0;
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  background: #fafbfa;
}

details.advanced-analysis summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
}

details.advanced-analysis[open] summary {
  margin-bottom: 10px;
  color: var(--ink);
}

/* Progressive disclose: letter / outcome secondary fields (cn-228) */
details.form-fold {
  margin: 12px 0 4px;
  border: 1px solid rgba(22, 61, 54, 0.1);
  border-radius: 8px;
  padding: 8px 12px 4px;
  background: rgba(255, 252, 247, 0.7);
}

details.form-fold > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  list-style: none;
  margin-bottom: 4px;
}

details.form-fold > summary::-webkit-details-marker {
  display: none;
}

details.form-fold > summary::before {
  content: "▸ ";
  color: var(--muted);
}

details.form-fold[open] > summary {
  margin-bottom: 10px;
  color: var(--ink);
}

details.form-fold[open] > summary::before {
  content: "▾ ";
}

details.form-fold label {
  display: block;
  margin-bottom: 10px;
}

body.start-screen main.start-main {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0 28px;
  box-sizing: border-box;
  min-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  animation: start-rise 0.45s ease-out both;
}

/* MVP start flow — full-bleed desk (cn-231) */
.start-main {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0 28px;
  box-sizing: border-box;
}

body.start-screen {
  min-height: 100vh;
  background:
    radial-gradient(1400px 560px at 8% -12%, rgba(22, 61, 54, 0.06), transparent 55%),
    radial-gradient(1000px 500px at 92% 0%, rgba(184, 149, 74, 0.07), transparent 48%),
    linear-gradient(180deg, #f5f8f6 0%, #f0f3f1 45%, #ebeef0 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.start-screen .start-main {
  min-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  animation: start-rise 0.45s ease-out both;
}

@keyframes start-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.start-screen .start-hero {
  margin: 0;
  padding: 18px 28px 10px;
  border-bottom: 1px solid rgba(22, 61, 54, 0.08);
  background: rgba(255, 255, 255, 0.55);
}

body.start-screen .start-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #6f7f78;
}

body.start-screen .start-hero h1 {
  margin: 0 0 8px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #163d36;
  line-height: 1.15;
}

body.start-screen .start-lede {
  margin: 0;
  max-width: 42em;
  font-size: 15px;
  line-height: 1.6;
  color: #5c6863;
}

body.start-screen .start-gate {
  margin-top: 8px !important;
  opacity: 0.9;
}

body.start-screen .flow-steps.start-flow,
body.start-screen .flow-steps {
  margin: 0;
  padding: 10px 28px 0;
  gap: 0;
  justify-content: flex-start;
  border-bottom: 1px solid rgba(22, 61, 54, 0.1);
  background: rgba(255, 255, 255, 0.4);
}

body.start-screen .flow-step {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 4px 12px;
  color: #8a948f;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
}

body.start-screen .flow-step:hover {
  color: #3d524b;
}

body.start-screen .flow-step.active {
  color: #163d36;
  border-bottom-color: #163d36;
  background: transparent;
  box-shadow: none;
}

body.start-screen .flow-step.done {
  color: #5a7a70;
}

/* cn-232: one step per screen + wizard nav */
/* display:flex on .start-step-card overrides bare [hidden] — force hide */
body.start-screen .start-step-card[hidden],
body.start-screen .start-intel-card[hidden],
body.start-screen .start-cta-card[hidden] {
  display: none !important;
}

body.start-screen .start-wizard-nav {
  margin-top: 20px;
  gap: 12px;
  flex: 0 0 auto;
}

body.start-screen .start-wizard-nav .primary {
  min-width: 148px;
  padding: 11px 20px;
  font-size: 15px;
}

body.start-screen .start-cta-card .start-wizard-nav {
  margin-top: 16px;
}

body.start-screen .flow-line {
  width: 28px;
  height: 1px;
  margin: 0 10px 4px;
  background: rgba(22, 61, 54, 0.18);
  align-self: center;
}

.start-step-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 18px 28px 20px;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
  min-height: 0;
  animation: start-card-in 0.5s ease-out 0.05s both;
}

@keyframes start-card-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body.start-screen .start-step-card .card-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  color: #163d36;
}

body.start-screen .start-step-card .card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #66716c;
  max-width: none;
}

.start-step-head {
  margin-bottom: 14px;
  flex: 0 0 auto;
}

.start-client-field {
  display: block;
  max-width: 360px;
  margin-top: 10px;
}

.start-client-field input {
  margin-top: 6px;
  padding: 10px 12px;
  font-size: 15px;
}

.start-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px 22px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}

.start-split-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.start-split-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6f7f78;
}

.start-split-or {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  color: #6f7f78;
  font-size: 13px;
  font-weight: 600;
}

.start-split-or span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(22, 61, 54, 0.14);
  background: #fff;
  box-shadow: 0 6px 16px rgba(22, 61, 54, 0.06);
  transition: transform 0.2s ease;
}

.start-split:hover .start-split-or span {
  transform: scale(1.04);
}

.start-drop-fill {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  margin: 0 !important;
  box-sizing: border-box;
  padding: 40px 28px;
  border-width: 1.5px;
  border-style: dashed;
  border-color: rgba(22, 61, 54, 0.22);
  background:
    linear-gradient(180deg, rgba(238, 244, 242, 0.55) 0%, rgba(255, 255, 255, 0.95) 100%);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.start-drop-fill:hover,
.start-drop-fill.dragover {
  border-color: #163d36;
  background: rgba(238, 244, 242, 0.85);
  transform: translateY(-1px);
}

body.start-screen .start-drop-fill .upload-title {
  font-size: 17px;
  font-weight: 600;
  color: #163d36;
  margin-bottom: 8px;
}

.start-paste-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin: 0;
  font-weight: 600;
  color: #44504b;
}

.start-paste-area {
  flex: 1;
  min-height: 280px;
  height: 100%;
  resize: none;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.55;
  border: 1px solid rgba(22, 61, 54, 0.14);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.start-paste-area:focus {
  outline: none;
  border-color: #163d36;
  box-shadow: 0 0 0 3px rgba(22, 61, 54, 0.1);
}

.start-step-actions {
  margin-top: 16px;
  gap: 12px;
  flex: 0 0 auto;
}

body.start-screen .start-step-actions .primary {
  min-width: 148px;
  padding: 11px 20px;
  font-size: 15px;
  letter-spacing: 0.02em;
}

body.start-screen .start-cta-card,
body.start-screen .start-intel-card {
  margin: 0;
  border: none;
  border-top: 1px solid rgba(22, 61, 54, 0.1);
  border-radius: 0;
  box-shadow: none;
  padding: 18px 28px 24px;
  background: rgba(255, 255, 255, 0.92);
}

@media (max-width: 860px) {
  body.start-screen .start-hero,
  body.start-screen .flow-steps,
  .start-step-card,
  body.start-screen .start-cta-card,
  body.start-screen .start-intel-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .start-split {
    grid-template-columns: 1fr;
    min-height: 0;
    flex: none;
  }

  .start-split-or {
    padding: 4px 0;
  }

  .start-split-or span {
    width: auto;
    height: auto;
    padding: 4px 14px;
    border-radius: 999px;
  }

  .start-drop-fill,
  .start-paste-area {
    min-height: 200px;
  }

  body.start-screen .start-hero h1 {
    font-size: 1.7rem;
  }
}

.start-cta-card {
  border: 2px solid var(--accent, #1a5c4a);
  background: linear-gradient(180deg, #f8fcfa 0%, #fff 100%);
}

.btn-lg {
  font-size: 16px;
  padding: 12px 28px;
}

.jd-intel p {
  margin: 8px 0;
  line-height: 1.55;
}

.jd-intel strong {
  display: inline-block;
  min-width: 7em;
  color: var(--ink);
}

.judge-why-plus {
  color: #1a5c4a;
  display: block;
  font-size: 12px;
  line-height: 1.4;
}

.judge-gap-minus {
  color: #8b4513;
  display: block;
  font-size: 12px;
  line-height: 1.4;
}

.match-why-risk {
  margin: 14px 0;
  padding: 16px 18px;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.7;
}

.judgment-v0-panel {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafbfa;
  font-size: 13.5px;
  line-height: 1.55;
}
.judgment-v0-panel > summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink, #1a2e28);
}
.judgment-v0-body { margin-top: 10px; }
.judgment-v0-stance { margin: 0 0 6px; }
.judgment-v0-why { margin: 0 0 10px; color: var(--muted, #5a6b64); }
.judgment-v0-qs { margin: 6px 0 0; padding-left: 1.2rem; }
.judgment-v0-qs li { margin: 0.35rem 0; }

/* Evidence Map V0 — 要求 ↔ 简历原文证据（不计分） */
.evmap-panel {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 13.5px;
  line-height: 1.55;
}
.evmap-panel > summary { cursor: pointer; font-weight: 600; color: var(--ink, #1a2e28); }
.evmap-body { margin-top: 10px; }
.evmap-intro { margin: 0 0 10px; font-size: 12.5px; }
.evmap-summary { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.evmap-list { margin: 0; padding-left: 1.2rem; }
.evmap-item { margin: 0 0 12px; }
.evmap-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.evmap-chip {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
}
.evmap-EXPLICIT { background: #e8f3ee; color: #1a5c4a; border-color: rgba(26, 92, 74, 0.25); }
.evmap-ADJACENT { background: #eef3fb; color: #2b4f7e; border-color: rgba(43, 79, 126, 0.25); }
.evmap-INFERRED { background: #fbf8f0; color: #6a5a28; border-color: rgba(140, 120, 60, 0.3); }
.evmap-UNKNOWN { background: #f5f5f4; color: #6b6b6b; border-color: rgba(0, 0, 0, 0.12); }
.gate-chip {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
}
.gate-CONFIRMED { background: #e8f3ee; color: #1a5c4a; border-color: rgba(26, 92, 74, 0.25); }
.gate-PENDING { background: #fdf3d8; color: #7a5a00; border-color: rgba(190, 140, 0, 0.45); }
.gate-ABSENT { background: #f5f5f4; color: #6b6b6b; border-color: rgba(0, 0, 0, 0.12); }
.gate-human { background: #eef3fb; color: #2b4f7e; border-color: rgba(43, 79, 126, 0.25); }
.gate-item { margin: 0 0 12px; }
.gate-item-PENDING { background: #fffaeb; border-left: 3px solid #e0b020; padding: 6px 8px; border-radius: 6px; }
.gate-preview { margin: 0 0 8px; }
.gate-pending-tag { color: var(--warn); font-weight: 600; }
.evmap-jd { margin: 4px 0; font-size: 12.5px; }
.evmap-quote {
  margin: 4px 0;
  padding: 4px 10px;
  border-left: 3px solid rgba(26, 92, 74, 0.35);
  background: #fafbfa;
  font-size: 13px;
  color: #33443e;
}
.evmap-reason { margin: 4px 0; }
.evmap-verify { margin: 2px 0 0; font-size: 12.5px; }
.evmap-meta { margin: 6px 0 8px; font-size: 12px; }
.evmap-error { margin: 6px 0; color: #8a3228; }
.evmap-gen { margin-top: 4px; }
.evmap-reviewed { font-weight: 600; box-shadow: inset 0 0 0 1px currentColor; }
.evmap-ai-muted { opacity: 0.6; }
.evmap-review { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 0; font-size: 12.5px; }
.evmap-review select { margin-left: 4px; font-size: 12.5px; }
.evmap-diff { margin: 4px 0; padding: 4px 8px; font-size: 12.5px; color: #7a4a12; background: #fdf5e8; border-left: 3px solid #d9a441; border-radius: 4px; }
.evmap-item-diff { padding-left: 2px; }
.evmap-progress { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #f0f2f1; color: #3d4f49; }
.evmap-progress-diff { background: #fdf5e8; color: #7a4a12; }
.evmap-uncovered { margin: 0 0 8px; font-size: 12.5px; }
.evmap-agree-all { margin-left: auto; }
.verdict-card { margin: 10px 0 14px; padding: 14px 16px; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 10px; background: #fff; }
.verdict-scores { display: block; }
.verdict-score { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; background: #f5f6f5; }
.verdict-score-primary strong { font-size: 28px; line-height: 1.1; color: #1f3b33; }
.verdict-score strong { font-size: 28px; line-height: 1.1; color: #1f3b33; }
.verdict-score-note { margin: 4px 0 0; font-size: 12px; line-height: 1.4; }
.verdict-coverage { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: #5b6b66; }
.verdict-k { font-size: 12px; color: #5b6b66; }
.verdict-sub { font-size: 12px; color: #6b6b6b; }
.verdict-line { margin: 12px 0 6px; font-size: 14px; line-height: 1.6; }
.verdict-reasons { margin: 0 0 6px; padding-left: 1.2rem; font-size: 13px; color: #7a4a12; }
.verdict-reasons li { margin: 2px 0; }
.verdict-foot { margin: 6px 0 0; font-size: 11.5px; }
.verify-checklist { margin: 12px 0; padding: 12px 16px; border-radius: 10px; background: #fbf8f1; border: 1px solid rgba(122, 74, 18, 0.12); }
.verify-checklist ol { margin: 6px 0 0; padding-left: 1.2rem; font-size: 13px; line-height: 1.7; }
.rule-detail > summary { font-weight: 600; }

.match-score-line {
  font-size: 16px;
  margin-bottom: 12px;
}

.match-score-line strong {
  font-size: 24px;
  color: var(--accent, #1a5c4a);
}

/* Hard Eligibility chip — industry ADOPT; parallel to score (cn-234) */
.mwr-eligibility {
  margin: 0 0 12px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.45;
  border-radius: 6px;
  border: 1px solid rgba(22, 61, 54, 0.12);
  background: #fff;
  color: #3d524b;
}
.mwr-eligibility.elig-eligible {
  border-color: rgba(26, 92, 74, 0.28);
  color: #1a5c4a;
}
.mwr-eligibility.elig-not_eligible {
  border-color: rgba(160, 60, 50, 0.35);
  background: #fdf6f5;
  color: #8a3228;
}
.mwr-eligibility.elig-unknown {
  border-color: rgba(140, 120, 60, 0.35);
  background: #fbf8f0;
  color: #6a5a28;
}

.mwr-practice {
  margin: 0 0 12px;
  padding: 8px 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #5c6863;
  background: rgba(255, 255, 255, 0.75);
  border-left: 3px solid rgba(22, 61, 54, 0.25);
}

.mwr-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 10px 0 6px;
}

.mwr-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.mwr-plus {
  color: #1a5c4a;
  margin: 6px 0;
  line-height: 1.65;
  font-size: 14.5px;
}

.mwr-minus {
  color: #8b4513;
  margin: 6px 0;
  line-height: 1.65;
  font-size: 14.5px;
}

.mwr-unk {
  color: #5a6b64;
  margin: 6px 0;
  line-height: 1.65;
  font-size: 14.5px;
}

.big-score .score-pct {
  font-size: 0.55em;
  font-weight: 600;
  opacity: 0.75;
}

