/* ===================================================================
   职教产品选题论证大师 —— 样式
   设计基调:学术 / 出版社 —— 沉稳深蓝 + 暖金点缀 + 大量留白
   =================================================================== */

:root {
  --c-primary: #004EA2;       /* 教科社主色 蓝 */
  --c-primary-light: #1663B5;
  --c-primary-soft: #ECF0F6;
  --c-accent: #00873C;        /* 教科社辅色 绿 */
  --c-accent-soft: #e6f4ec;
  --c-ink: #1f2733;           /* 正文墨色 */
  --c-ink-2: #5a6573;         /* 次级文字 */
  --c-ink-3: #8b95a3;         /* 弱化文字 */
  --c-line: #e3e8ef;          /* 分割线 */
  --c-bg: #f4f6fa;            /* 页面背景 */
  --c-card: #ffffff;
  --c-good: #00873C;
  --c-warn: #b7791f;
  --c-bad: #c0392b;
  --shadow-sm: 0 1px 3px rgba(0, 78, 162, 0.06), 0 1px 2px rgba(0, 78, 162, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 78, 162, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 78, 162, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  color: var(--c-ink);
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--c-primary);
  background-image: linear-gradient(90deg, var(--c-primary) 0 60%, var(--c-accent) 60% 100%);
  background-size: 100% 3px; background-repeat: no-repeat; background-position: bottom;
}
.topbar-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 24px; height: 68px;
  display: flex; align-items: center; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.brand-logo-img {
  height: 46px; width: 46px; object-fit: contain;
  display: block;
}
.brand-divider {
  width: 1px; height: 34px; background: var(--c-line);
}
.brand-title { font-size: 20px; font-weight: 800; letter-spacing: 0.5px; color: var(--c-primary); }
.brand-sub { font-size: 12px; color: var(--c-ink-3); margin-top: 1px; }
.topbar-spacer { flex: 1; }
.topbar-tag {
  font-size: 12px; padding: 4px 12px; border-radius: 20px;
  background: var(--c-accent-soft); color: var(--c-accent);
  border: 1px solid rgba(0,135,60,0.25); font-weight: 600;
}

/* ---------- 布局容器 ---------- */
.view { display: none; animation: fadeUp 0.45s ease; }
.view.active { display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 32px 24px 80px; }
#view-upload .container { padding: 16px 24px 24px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ======================= 上传首页 ======================= */
.hero { text-align: center; padding: 30px 0 18px; }
.hero h1 {
  font-size: 31px; font-weight: 800; color: var(--c-primary);
  letter-spacing: 1px; margin-bottom: 10px;
  animation: heroIn 0.6s ease both;
}
.hero h1 .accent { color: var(--c-accent); }
.hero p {
  font-size: 15px; color: var(--c-ink-2); max-width: 600px; margin: 0 auto;
  animation: heroIn 0.6s ease 0.1s both;
}

.flow-strip {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  flex-wrap: wrap; margin: 20px auto 4px;
}
.flow-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--c-ink-2);
  background: #fff; padding: 7px 15px; border-radius: 30px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-line);
  animation: heroIn 0.5s ease both;
}
.flow-step:nth-child(1) { animation-delay: 0.20s; }
.flow-step:nth-child(3) { animation-delay: 0.32s; }
.flow-step:nth-child(5) { animation-delay: 0.44s; }
.flow-step:nth-child(7) { animation-delay: 0.56s; }
.flow-step .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-primary-soft); color: var(--c-primary);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.flow-arrow { color: var(--c-ink-3); font-size: 18px; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 上传区 */
.upload-zone {
  max-width: 600px; margin: 24px auto 0;
  background: var(--c-card); border: 2px dashed #c5d2e3;
  border-radius: var(--radius); padding: 30px 32px; text-align: center;
  cursor: pointer; transition: all 0.25s ease;
  animation: heroIn 0.6s ease 0.3s both;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--c-primary); background: var(--c-primary-soft);
  transform: translateY(-3px); box-shadow: var(--shadow-md);
}
.upload-icon {
  width: 56px; height: 56px; margin: 0 auto 12px;
  background: var(--c-primary-soft); border-radius: 50%;
  display: grid; place-items: center; font-size: 26px;
  animation: floaty 3s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.upload-zone h3 { font-size: 17px; color: var(--c-ink); margin-bottom: 5px; }
.upload-zone p { font-size: 13px; color: var(--c-ink-3); }
.upload-formats { margin-top: 12px; font-size: 12px; color: var(--c-ink-3); }

.sample-hint { text-align: center; margin-top: 18px; animation: heroIn 0.6s ease 0.42s both; }
.sample-hint .label { font-size: 13px; color: var(--c-ink-3); margin-bottom: 12px; }
.sample-btns {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px; justify-content: center; max-width: 620px; margin: 0 auto;
}
.sample-btn {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  padding: 12px 16px; cursor: pointer; transition: all 0.2s; box-shadow: var(--shadow-sm);
}
.sample-btn:hover {
  border-color: var(--c-primary); transform: translateY(-2px);
  box-shadow: var(--shadow-md); background: var(--c-primary-soft);
}
.sample-btn .doc-icon {
  flex: none; width: 38px; height: 38px; border-radius: 9px;
  background: var(--c-primary-soft); display: grid; place-items: center; font-size: 19px;
}
.sample-btn:hover .doc-icon { background: #fff; }
.sb-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sb-title { font-size: 13.5px; font-weight: 600; color: var(--c-ink); line-height: 1.3; }
.sample-btn:hover .sb-title { color: var(--c-primary); }
.sb-sub { font-size: 11.5px; color: var(--c-ink-3); }

/* 解析 / 论证 进度遮罩 */
.parsing-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(244, 246, 250, 0.94); backdrop-filter: blur(4px);
  display: none; place-items: center; padding: 24px;
}
.parsing-overlay.show { display: grid; }
.parsing-card {
  width: 100%; max-width: 540px;
  background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--c-line);
  padding: 34px 38px 30px; text-align: center;
  animation: fadeUp 0.4s ease;
}
.parsing-logo img {
  width: 60px; height: 60px; object-fit: contain;
  animation: logoPulse 1.8s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.07); opacity: 0.82; }
}
.parsing-card h3 { color: var(--c-primary); font-size: 21px; font-weight: 800; margin: 14px 0 14px; }

/* 放大的"系统正在做什么"实时说明文字 */
.parsing-current {
  font-size: 16px; line-height: 1.6; color: var(--c-ink);
  background: var(--c-primary-soft); border-radius: 10px;
  padding: 14px 18px; margin-bottom: 22px; min-height: 24px;
  font-weight: 500;
}

/* 分步清单 */
.parsing-checklist { list-style: none; text-align: left; display: grid; gap: 11px; margin-bottom: 22px; }
.pstep { display: flex; align-items: center; gap: 12px; transition: opacity 0.3s; }
.pstep-ico {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--c-line); position: relative; transition: all 0.3s;
}
.pstep-label { font-size: 15px; color: var(--c-ink-3); transition: color 0.3s; }

/* 待处理 */
.pstep { opacity: 0.55; }
/* 进行中:高亮 + 旋转 */
.pstep.active { opacity: 1; }
.pstep.active .pstep-label { color: var(--c-primary); font-weight: 700; }
.pstep.active .pstep-ico {
  border-color: var(--c-primary); border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}
/* 已完成:绿勾 */
.pstep.done { opacity: 1; }
.pstep.done .pstep-label { color: var(--c-ink); }
.pstep.done .pstep-ico {
  border-color: var(--c-accent); background: var(--c-accent);
  animation: none;
}
.pstep.done .pstep-ico::after {
  content: ''; position: absolute; left: 7px; top: 3px;
  width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* 进度条 */
.parsing-progress {
  height: 8px; background: var(--c-primary-soft); border-radius: 6px; overflow: hidden;
}
.parsing-progress-bar {
  height: 100%; width: 0; border-radius: 6px; position: relative; overflow: hidden;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  transition: width 0.6s ease;
}
.parsing-progress-bar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: shimmer 1.4s linear infinite;
}
.parsing-current.pulsing { animation: textPulse 1.6s ease-in-out infinite; }
@keyframes textPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.62; } }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.parsing-percent { margin-top: 8px; font-size: 12px; color: var(--c-ink-3); font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ======================= 通用:页头 ======================= */
.page-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.page-head .titles h2 { font-size: 24px; color: var(--c-primary); font-weight: 700; }
.page-head .titles .crumb { font-size: 13px; color: var(--c-ink-3); margin-bottom: 4px; }
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: var(--radius-sm); font-size: 14px;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
  font-family: inherit;
}
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--c-primary-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: #fff; color: var(--c-primary); border: 1px solid var(--c-line); }
.btn-ghost:hover { border-color: var(--c-primary); }
.btn-accent { background: var(--c-accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: #006e30; transform: translateY(-1px); }
.btn-deep { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; box-shadow: var(--shadow-sm); }
.btn-deep:hover { background: linear-gradient(135deg, #5a6fd6 0%, #6a4192 100%); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* AI badge */
.ai-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff; padding: 2px 8px; border-radius: 4px; margin-left: 8px;
  vertical-align: middle;
}

/* 深度分析内容 */
.deep-analysis-content {
  font-size: 14px; line-height: 1.8; color: var(--c-ink-2);
}
.deep-analysis-content p { margin-bottom: 12px; }
.deep-analysis-content h3.deep-h3 {
  font-size: 16px; color: var(--c-primary); margin: 18px 0 8px;
  padding-bottom: 6px; border-bottom: 1px solid var(--c-line);
}
.deep-analysis-content h2.deep-h2 {
  font-size: 18px; color: var(--c-ink); margin: 20px 0 10px;
}
.deep-analysis-content ul { margin: 8px 0 14px 20px; }
.deep-analysis-content li { margin-bottom: 4px; }

/* ======================= 申报单详情 ======================= */
.form-card {
  background: var(--c-card); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 22px;
}
.form-card-head {
  background: var(--c-primary-soft); padding: 14px 22px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--c-primary); font-size: 15px;
  border-left: 4px solid var(--c-primary);
}
.form-card-head .ico { font-size: 17px; }
.field-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; padding: 4px 0;
}
.field {
  padding: 12px 22px; border-bottom: 1px solid var(--c-line);
  border-right: 1px solid var(--c-line);
}
.field:nth-child(3n) { border-right: none; }
.field .k { font-size: 12px; color: var(--c-ink-3); margin-bottom: 3px; }
.field .v { font-size: 14px; color: var(--c-ink); font-weight: 500; word-break: break-all; }
.field-empty .v { color: var(--c-ink-3); opacity: 0.5; font-weight: 400; }
.field-full { grid-column: 1 / -1; border-right: none; }
.field-full .v { font-weight: 400; line-height: 1.75; color: var(--c-ink); }
.field-list { margin: 6px 0 0; padding-left: 4px; }
.field-list li {
  list-style: none; font-size: 14px; line-height: 1.8; color: var(--c-ink);
  padding-left: 22px; position: relative; margin-bottom: 4px;
}
.field-list li::before {
  content: counter(item); counter-increment: item;
  position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: 4px;
  background: var(--c-accent-soft); color: var(--c-accent);
  font-size: 10px; font-weight: 700; display: grid; place-items: center;
}
.field-list { counter-reset: item; }

/* —— 解析完整度提示条 —— */
.parse-banner {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 12px 18px; border-radius: 10px; margin-bottom: 22px;
  font-size: 13.5px; line-height: 1.6;
}
.parse-banner.ok { background: var(--c-accent-soft); color: #1a6b3c; border: 1px solid rgba(0,135,60,0.2); }
.parse-banner.warn { background: #fdf6e3; color: #8a6d1f; border: 1px solid #f0e0b8; }
.parse-banner b { color: inherit; font-weight: 700; }

/* —— 目录结构树 —— */
.toc-body { padding: 16px 22px 18px; }
.toc-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.toc-chip {
  font-size: 12px; color: var(--c-ink-2); background: var(--c-primary-soft);
  padding: 4px 11px; border-radius: 20px; font-weight: 500;
}
.toc-chip.ok { background: var(--c-accent-soft); color: var(--c-accent); font-weight: 600; }
.toc-tree { display: flex; flex-direction: column; gap: 4px; }
.toc-project { padding: 7px 0; border-bottom: 1px dashed var(--c-line); }
.toc-project:last-child { border-bottom: none; }
.toc-project-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.toc-project-idx {
  flex: none; width: 20px; height: 20px; border-radius: 6px;
  background: var(--c-primary); color: #fff;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
.toc-project-name { font-size: 13.5px; font-weight: 600; color: var(--c-ink); }
.toc-reviewer {
  font-size: 11px; color: var(--c-ink-3); background: #f4f6fa;
  padding: 1px 8px; border-radius: 4px;
}
.toc-project-meta { font-size: 11.5px; color: var(--c-ink-3); margin-left: auto; }
.toc-task { font-size: 12.5px; color: var(--c-ink-2); margin: 3px 0 0 30px; line-height: 1.6; }
.toc-task-meta { font-size: 11px; color: var(--c-ink-3); }

.detail-cta { text-align: center; margin-top: 30px; }
.detail-cta .hint { font-size: 13px; color: var(--c-ink-3); margin-top: 10px; }

/* ======================= 论证报告 ======================= */
.report-grid { display: grid; gap: 22px; }
.report-grid > * { animation: heroIn 0.5s ease both; }
.report-grid > *:nth-child(2) { animation-delay: 0.06s; }
.report-grid > *:nth-child(3) { animation-delay: 0.12s; }
.report-grid > *:nth-child(4) { animation-delay: 0.18s; }
.report-grid > *:nth-child(5) { animation-delay: 0.24s; }
.report-grid > *:nth-child(6) { animation-delay: 0.30s; }
.report-grid > *:nth-child(7) { animation-delay: 0.36s; }
.report-grid > *:nth-child(8) { animation-delay: 0.42s; }

.section {
  background: var(--c-card); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 24px 26px;
}
.section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; color: var(--c-primary);
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--c-primary-soft);
}
.section-title .num {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--c-primary); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
}

/* —— 总评卡 —— */
.verdict {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-light));
  color: #fff; border-radius: var(--radius); padding: 28px 30px;
  box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center;
}
.score-ring {
  position: relative; width: 132px; height: 132px;
}
.score-ring svg { transform: rotate(-90deg); }
.score-ring .score-num {
  position: absolute; inset: 0; display: grid; place-items: center;
  flex-direction: column;
}
.score-ring .score-num .n { font-size: 40px; font-weight: 800; line-height: 1; }
.score-ring .score-num .t { font-size: 12px; opacity: 0.75; margin-top: 2px; }
.verdict-body h3 { font-size: 15px; opacity: 0.85; font-weight: 500; margin-bottom: 6px; }
.verdict-rec {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px; border-radius: 30px; font-size: 18px; font-weight: 700;
  margin-bottom: 12px;
}
.verdict-rec .grade {
  background: var(--c-accent); color: #fff; font-size: 13px;
  padding: 2px 9px; border-radius: 5px; margin-left: 4px;
}
.verdict-body p { font-size: 14px; line-height: 1.7; opacity: 0.92; }

/* —— 评分维度条 —— */
.score-bars { display: grid; gap: 14px; }
.score-bar-row { display: grid; grid-template-columns: 80px 1fr 48px; align-items: center; gap: 12px; }
.score-bar-row .label { font-size: 13px; color: var(--c-ink-2); }
.score-bar-track { height: 10px; background: var(--c-primary-soft); border-radius: 6px; overflow: hidden; }
.score-bar-fill {
  height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, var(--c-primary-light), var(--c-primary));
  width: 0; transition: width 1s ease;
}
.score-bar-row .val { font-size: 13px; color: var(--c-ink); font-weight: 600; text-align: right; }

/* —— 维度下钻（可展开评分依据） —— */
.section-title .section-hint {
  margin-left: auto; font-size: 12px; font-weight: 400; color: var(--c-ink-3);
}
.dim-list { display: flex; flex-direction: column; }
.dim-item { border-bottom: 1px solid var(--c-line); }
.dim-item:last-child { border-bottom: none; }
.dim-head {
  display: grid; grid-template-columns: 116px 1fr 56px auto;
  align-items: center; gap: 14px; padding: 13px 10px;
  cursor: pointer; user-select: none; border-radius: 10px;
  transition: background .15s ease;
}
.dim-head:hover { background: var(--c-primary-soft); }
.dim-item.open .dim-head { background: var(--c-primary-soft); }
.dim-name { font-size: 13.5px; color: var(--c-ink); font-weight: 600; }
.dim-bar-track { height: 10px; background: #e3e8ef; border-radius: 6px; overflow: hidden; }
.dim-item.open .dim-bar-track { background: #fff; }
.dim-bar-fill {
  height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, var(--c-primary-light), var(--c-primary));
  width: 0; transition: width 1s ease;
}
.dim-val { font-size: 13px; color: var(--c-ink); font-weight: 700; text-align: right; }

/* 明显的“展开依据”按钮 */
.dim-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: 20px;
  background: #fff; border: 1px solid var(--c-primary);
  color: var(--c-primary); font-size: 12px; font-weight: 600;
  white-space: nowrap; transition: background .15s ease, color .15s ease;
}
.dim-head:hover .dim-toggle { background: var(--c-primary); color: #fff; }
.dim-item.open .dim-toggle { background: var(--c-primary); color: #fff; }
.dim-toggle-txt::after { content: '展开依据'; }
.dim-item.open .dim-toggle-txt::after { content: '收起'; }
.dim-chev { font-size: 10px; transition: transform .2s ease; }
.dim-item.open .dim-chev { transform: rotate(180deg); }

.dim-drill { padding: 6px 10px 18px 12px; animation: drillIn .22s ease; }
@keyframes drillIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.rule-list { display: flex; flex-direction: column; }
.rule-row {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline;
  padding: 9px 12px; border-radius: 8px;
}
.rule-row:nth-child(odd) { background: var(--c-bg); }
.rule-row.review { background: #fdf6e3; }
.rule-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rule-desc { font-size: 13px; color: var(--c-ink); font-weight: 500; }
.rule-flag {
  font-size: 10.5px; color: var(--c-warn); background: #fff;
  border: 1px solid #f0e0b8; padding: 1px 7px; border-radius: 4px; margin-left: 8px;
  vertical-align: middle; white-space: nowrap;
}
.rule-ev { font-size: 12px; color: var(--c-ink-3); line-height: 1.55; }
.rule-score { font-size: 12.5px; color: var(--c-ink-2); font-weight: 700; white-space: nowrap; }

.drill-extra { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--c-line); }
.drill-extra-title { font-size: 13px; font-weight: 700; color: var(--c-primary); margin-bottom: 8px; }
.drill-note { color: var(--c-ink-2); font-size: 12.5px; margin-bottom: 12px; line-height: 1.6; }

/* —— 竞品表 —— */
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left; padding: 11px 14px; background: var(--c-primary-soft);
  color: var(--c-primary); font-weight: 600; font-size: 13px;
}
.table th:first-child { border-radius: 8px 0 0 8px; }
.table th:last-child { border-radius: 0 8px 8px 0; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--c-line); color: var(--c-ink); }
.table tr:last-child td { border-bottom: none; }
.table .rating { color: var(--c-accent); font-weight: 700; }
.table .self-row { background: var(--c-accent-soft); }
.table .self-row td:first-child { font-weight: 700; color: var(--c-primary); }
.badge-self {
  font-size: 10px; background: var(--c-accent); color: #fff;
  padding: 1px 7px; border-radius: 4px; margin-left: 6px; vertical-align: middle;
}

/* —— 两栏布局 —— */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.chart-box { position: relative; height: 280px; }
.chart-box-sm { position: relative; height: 240px; }

/* —— 读者画像分层 —— */
.persona-primary {
  background: var(--c-primary-soft); border-radius: var(--radius-sm);
  padding: 14px 18px; margin-bottom: 16px; font-size: 14px;
}
.persona-primary b { color: var(--c-primary); }
.segment { padding: 12px 0; border-bottom: 1px dashed var(--c-line); }
.segment:last-child { border-bottom: none; }
.segment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.segment-name { font-weight: 600; font-size: 14px; color: var(--c-ink); }
.segment-size { font-size: 11px; padding: 2px 9px; border-radius: 10px; background: var(--c-accent-soft); color: var(--c-accent); font-weight: 600; }
.segment-desc { font-size: 13px; color: var(--c-ink-2); }

/* —— 关键词热度 —— */
.keyword-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.kw {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 7px 14px; border-radius: 24px; font-weight: 600;
  background: var(--c-primary-soft); color: var(--c-primary);
}
.kw .heat { font-size: 11px; opacity: 0.7; font-weight: 500; }

/* —— 风险卡 —— */
.risk { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.risk:last-child { border-bottom: none; }
.risk-level {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff; align-self: start;
}
.risk-level.高 { background: var(--c-bad); }
.risk-level.中 { background: var(--c-warn); }
.risk-level.低 { background: var(--c-good); }
.risk-title { font-weight: 600; font-size: 14.5px; color: var(--c-ink); margin-bottom: 3px; }
.risk-basis { font-weight: 400; font-size: 12.5px; color: var(--c-ink-3); }
.risk-desc { font-size: 13px; color: var(--c-ink-2); margin-bottom: 6px; }
.risk-mit { font-size: 13px; color: var(--c-ink-2); background: var(--c-primary-soft); padding: 8px 12px; border-radius: 6px; }
.risk-mit b { color: var(--c-primary); }

/* —— 效益预估 —— */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.benefit-card {
  background: var(--c-primary-soft); border-radius: var(--radius-sm);
  padding: 16px; text-align: center;
}
.benefit-card .bn { font-size: 26px; font-weight: 800; color: var(--c-primary); line-height: 1.1; }
.benefit-card .bn .unit { font-size: 14px; font-weight: 600; }
.benefit-card .bl { font-size: 12px; color: var(--c-ink-2); margin-top: 6px; }
.benefit-card.highlight { background: linear-gradient(135deg, var(--c-accent-soft), #d4ecdd); }
.benefit-card.highlight .bn { color: var(--c-accent); }

/* —— 优化建议 —— */
.suggestions { display: grid; gap: 12px; }
.suggestion {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 14px 16px; background: var(--c-primary-soft); border-radius: var(--radius-sm);
  border-left: 3px solid var(--c-accent);
}
.suggestion .si {
  width: 26px; height: 26px; border-radius: 50%; background: var(--c-accent); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.suggestion p { font-size: 14px; color: var(--c-ink); line-height: 1.65; }

/* ---------- 页脚 ---------- */
.footer {
  text-align: center; padding: 26px 24px; font-size: 12px; color: var(--c-ink-3);
  border-top: 1px solid var(--c-line); background: #fff;
}
.footer-main {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin-bottom: 12px;
}
.footer-logo { width: 44px; height: 44px; object-fit: contain; flex: none; }
.footer-info { text-align: left; }
.footer-org { font-size: 13.5px; font-weight: 700; color: var(--c-primary); margin-bottom: 3px; }
.footer-line { font-size: 12px; color: var(--c-ink-3); line-height: 1.6; }
.demo-note {
  display: inline-block; margin-top: 6px; font-size: 11px;
  padding: 3px 10px; border-radius: 4px; background: var(--c-accent-soft); color: var(--c-accent);
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field:nth-child(3n) { border-right: 1px solid var(--c-line); }
  .field:nth-child(2n) { border-right: none; }
  .two-col { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .verdict { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 560px) {
  .field-grid { grid-template-columns: 1fr; }
  .field { border-right: none !important; }
  .hero h1 { font-size: 26px; }
  .flow-strip { font-size: 12px; }
}

/* ===================================================================
   人工复核调整面板
   =================================================================== */
.adjust-panel { margin-top: 32px; }
.adjust-dim {
  margin-bottom: 24px;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  overflow: hidden;
}
.adjust-dim-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--c-primary-soft);
  gap: 12px;
  flex-wrap: wrap;
}
.adjust-dim-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--c-primary);
}
.adjust-dim-weight {
  font-size: 12px;
  color: var(--c-ink-3);
}
.adjust-dim-score {
  font-size: 13px;
  color: var(--c-ink-2);
}
.adjust-dim-score b { color: var(--c-accent); }
.adjust-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.adjust-table th {
  background: #f8f9fb;
  color: var(--c-ink-2);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
}
.adjust-table td {
  padding: 10px;
  border-bottom: 1px solid #f0f2f5;
  vertical-align: middle;
}
.adjust-table tr:last-child td { border-bottom: none; }
.rule-name {
  font-weight: 600;
  color: var(--c-ink);
  font-size: 12.5px;
}
.rule-evidence {
  font-size: 12px;
  color: var(--c-ink-2);
  line-height: 1.4;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rule-ai-score {
  color: var(--c-ink-2);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.rule-slider-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}
.adj-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: #e3e8ef;
  outline: none;
  cursor: pointer;
}
.adj-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-primary);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 0.1s;
}
.adj-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.adj-number {
  width: 58px;
  padding: 4px 6px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 13px;
  text-align: center;
  font-weight: 600;
  color: var(--c-ink);
}
.adj-number:focus {
  border-color: var(--c-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,78,162,0.12);
}
.rule-adjusted-val {
  font-weight: 700;
  font-size: 14px;
  color: var(--c-accent);
  white-space: nowrap;
}
.adjust-summary {
  margin-top: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #f8f9fb 0%, var(--c-accent-soft) 100%);
  border-radius: 12px;
  border: 1px solid var(--c-line);
}
.adjust-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 768px) {
  .adjust-table { font-size: 11px; }
  .adjust-table th, .adjust-table td { padding: 6px 4px; }
  .rule-evidence { max-width: 120px; font-size: 10px; }
  .adj-number { width: 48px; font-size: 11px; }
  .adj-slider { width: 60px; }
  .adjust-summary-row { flex-direction: column; text-align: center; }
}

/* ===================================================================
   AI 深度分析 · 专属页面
   =================================================================== */
.deep-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* —— 顶部 Hero —— */
.deep-hero {
  text-align: center;
  padding: 48px 24px 36px;
  background: linear-gradient(160deg, #0a1628 0%, #1a2a4a 40%, #1e3a5f 100%);
  border-radius: 0 0 24px 24px;
  margin: 0 calc(-1 * (100vw - 100%) / 2);
  width: 100vw;
  position: relative;
  overflow: hidden;
}
.deep-hero::before {
  content: '';
  position: absolute;
  top: -60%; left: -20%;
  width: 140%; height: 200%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(102, 126, 234, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(118, 75, 162, 0.20) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(0, 135, 60, 0.12) 0%, transparent 40%);
  pointer-events: none;
}
.deep-hero > * { position: relative; z-index: 1; }

.deep-hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  padding: 6px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}

.deep-hero-title {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.deep-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* —— 正文内容 —— */
.deep-body {
  margin-top: -16px;
  position: relative;
  z-index: 2;
}

.deep-section {
  background: var(--c-card);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 32px 36px;
  margin-bottom: 20px;
  border: 1px solid var(--c-line);
  animation: fadeUp 0.5s ease both;
}
.deep-section:nth-child(2) { animation-delay: 0.08s; }
.deep-section:nth-child(3) { animation-delay: 0.16s; }
.deep-section:nth-child(4) { animation-delay: 0.24s; }
.deep-section:nth-child(5) { animation-delay: 0.32s; }

.deep-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-primary-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.deep-section h2 .d-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--c-primary);
  color: #fff;
  display: grid; place-items: center;
  font-size: 16px;
  flex: none;
}

.deep-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-ink);
  margin: 20px 0 10px;
}

.deep-section p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-ink-2);
  margin-bottom: 14px;
}

.deep-section ul, .deep-section ol {
  margin: 10px 0 18px 24px;
}
.deep-section li {
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-ink-2);
  margin-bottom: 14px;
}

.deep-section b, .deep-section strong {
  color: var(--c-ink);
  font-weight: 700;
}

/* Bold sub-headings at line-start: 差异点、优先级、做什么 etc. */
.deep-section b.deep-label {
  display: block;
  margin-top: 16px;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--c-ink);
}

.deep-section li b.deep-label {
  margin-top: 8px;
}

/* highlight box */
.deep-highlight {
  background: linear-gradient(135deg, #fef9e7 0%, #fdf3d0 100%);
  border-left: 4px solid #d4a017;
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 16px 0;
  font-size: 15px;
  color: #8b6914;
  line-height: 1.8;
}
.deep-highlight b { color: #6b4f0a; }

.deep-quote {
  background: var(--c-primary-soft);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 14px 0;
  font-size: 15px;
  color: var(--c-primary);
  font-style: italic;
  line-height: 1.8;
  border: 1px solid rgba(0,78,162,0.1);
}

/* —— 深度分析：板块语义色（重点突出） —— */
.deep-section.deep-pos { border-top: 3px solid var(--c-accent); }
.deep-section.deep-pos h2 { color: var(--c-accent); border-bottom-color: var(--c-accent-soft); }
.deep-section.deep-pos .d-icon { background: var(--c-accent); }
.deep-section.deep-neg { border-top: 3px solid var(--c-bad); }
.deep-section.deep-neg h2 { color: var(--c-bad); border-bottom-color: #f6dcd7; }
.deep-section.deep-neg .d-icon { background: var(--c-bad); }
.deep-section.deep-action { border-top: 3px solid var(--c-primary); }
.deep-section.deep-action .d-icon { background: var(--c-primary); }

/* —— 深度分析：正文块 —— */
.deep-content > *:first-child { margin-top: 0; }
.deep-content p {
  font-size: 15.5px; line-height: 1.9; color: var(--c-ink-2); margin: 0 0 14px;
}
.deep-content p b { color: var(--c-ink); font-weight: 700; }
.deep-content code {
  background: var(--c-primary-soft); color: var(--c-primary);
  padding: 1px 6px; border-radius: 5px; font-size: 0.92em;
}

/* 子标题（硬伤 / 锦上添花 / 段落引导句） */
.deep-subhead {
  font-size: 16px; font-weight: 800; color: var(--c-ink);
  margin: 24px 0 14px; padding: 6px 0 6px 14px;
  border-left: 4px solid var(--c-primary); line-height: 1.6;
}
.deep-section.deep-neg .deep-subhead { border-left-color: var(--c-bad); }
.deep-section.deep-pos .deep-subhead { border-left-color: var(--c-accent); }
.deep-content > .deep-subhead:first-child { margin-top: 0; }

/* 无序列表：圆点 */
ul.deep-list { list-style: none; margin: 6px 0 16px; padding: 0; }
ul.deep-list > li {
  position: relative; padding-left: 22px; margin-bottom: 12px;
  font-size: 15.5px; line-height: 1.85; color: var(--c-ink-2);
}
ul.deep-list > li::before {
  content: ''; position: absolute; left: 5px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary);
}
ul.deep-list > li b { color: var(--c-ink); }

/* 有序列表：序号徽标 + 做什么/怎么做两行 */
ol.deep-list { list-style: none; counter-reset: step; margin: 6px 0 16px; padding: 0; }
ol.deep-list > li {
  counter-increment: step; position: relative;
  padding: 15px 18px 15px 54px; margin-bottom: 14px;
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 12px;
}
ol.deep-list > li::before {
  content: counter(step);
  position: absolute; left: 15px; top: 15px;
  width: 27px; height: 27px; border-radius: 8px;
  background: var(--c-primary); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
}
.deep-section.deep-action ol.deep-list > li::before { background: var(--c-primary); }
.step-what { font-size: 15.5px; line-height: 1.8; color: var(--c-ink-2); }
.step-what b { color: var(--c-ink); font-weight: 700; }
.step-how {
  margin-top: 12px; padding: 11px 14px;
  background: #fff; border: 1px dashed var(--c-line); border-radius: 8px;
  font-size: 14.5px; line-height: 1.75; color: var(--c-ink-2);
}
.step-how .how-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--c-accent); background: var(--c-accent-soft);
  padding: 1px 9px; border-radius: 5px; margin-right: 9px; vertical-align: 1px;
}

/* 免责声明卡 */
.deep-section.deep-disclaimer {
  background: linear-gradient(135deg, #f8f9fb, #f0f4ff);
  border: 1px solid rgba(0,78,162,0.15); border-top: 1px solid rgba(0,78,162,0.15);
  padding: 20px 28px;
}
.deep-section.deep-disclaimer p {
  font-size: 13.5px; color: var(--c-ink-3); text-align: center; margin: 0; line-height: 1.7;
}

/* —— 底部操作栏 —— */
.deep-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 32px 0 0;
  flex-wrap: wrap;
}
.deep-actions .btn {
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 12px;
}
.deep-actions .btn-ghost {
  background: #fff;
  color: var(--c-ink-2);
  border: 1px solid var(--c-line);
}
.deep-actions .btn-ghost:hover {
  border-color: var(--c-ink-3);
  color: var(--c-ink);
}

/* deep analysis loading state */
.deep-loading {
  text-align: center;
  padding: 80px 20px;
  color: var(--c-ink-3);
}
.deep-loading .spinner {
  width: 48px; height: 48px;
  margin: 0 auto 20px;
  border: 4px solid var(--c-primary-soft);
  border-top-color: var(--c-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ===================================================================
   复核结果页
   =================================================================== */
.result-page {
  max-width: 720px;
  margin: 40px auto;
}
.result-card {
  background: var(--c-card);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: fadeUp 0.5s ease;
}
.result-hero {
  text-align: center;
  padding: 44px 32px 32px;
  background: linear-gradient(160deg, #f0f4ff 0%, #e8effb 40%, #dce6f8 100%);
  border-bottom: 4px solid var(--c-primary);
  position: relative;
  overflow: hidden;
}
.result-hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,78,162,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.result-hero > * { position: relative; z-index: 1; }
.result-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--c-primary);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.result-book {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 18px;
}
.result-score-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}
.result-score {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--c-primary);
}
.result-unit {
  font-size: 20px;
  font-weight: 600;
  opacity: 0.5;
  margin-left: 2px;
}
.result-grade {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: var(--c-primary);
  padding: 4px 14px;
  border-radius: 8px;
}
.result-rec {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink-2);
  margin-bottom: 6px;
}
.result-diff {
  font-size: 14px;
  color: var(--c-ink-2);
  margin-bottom: 8px;
}
.result-diff b { color: var(--c-ink); font-weight: 700; }
.result-diff-flat { color: var(--c-ink-3); }
.diff-pill {
  display: inline-block; font-size: 13px; font-weight: 700;
  padding: 2px 10px; border-radius: 20px; margin: 0 4px;
}
.diff-pill.up { color: var(--c-good); background: var(--c-accent-soft); }
.diff-pill.down { color: var(--c-bad); background: #f9e3df; }
.result-verdict {
  font-size: 14px;
  color: var(--c-ink-2);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
  padding-top: 14px;
  border-top: 1px solid rgba(0,78,162,0.15);
}
.result-dims {
  padding: 28px 32px;
  border-bottom: 1px solid var(--c-line);
  background: #fafbfd;
}
.result-dims h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 16px;
}
.result-dims h3 .rd-hint { font-size: 12px; font-weight: 400; color: var(--c-ink-3); margin-left: 8px; }
.result-dim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.result-dim {
  background: linear-gradient(135deg, #f5f7fd 0%, #eef2fa 100%);
  border: 1px solid rgba(0,78,162,0.08);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.result-dim.is-changed { border-color: rgba(0,135,60,0.35); box-shadow: 0 0 0 1px rgba(0,135,60,0.15); }
.result-dim-name {
  font-size: 13px;
  color: var(--c-ink-2);
  margin-bottom: 6px;
  font-weight: 600;
}
.result-dim-score {
  font-size: 28px;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1.1;
}
.result-dim-score .unit {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.5;
}
.result-dim-weight {
  font-size: 11px;
  color: var(--c-ink-3);
  margin-top: 4px;
}
.result-dim-adj {
  font-size: 11px;
  margin-top: 6px;
  font-weight: 700;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
}
.result-dim-adj.up { color: var(--c-good); background: var(--c-accent-soft); }
.result-dim-adj.down { color: var(--c-bad); background: #f9e3df; }

/* 复核备注 + 时间 */
.result-meta {
  padding: 18px 32px;
  border-bottom: 1px solid var(--c-line);
  background: #fff;
  display: flex; flex-direction: column; gap: 10px;
}
.result-notes {
  font-size: 13.5px; color: var(--c-ink-2); line-height: 1.6;
  display: flex; gap: 10px; align-items: baseline;
}
.result-notes .rm-label {
  flex: none; font-size: 12px; font-weight: 700; color: var(--c-primary);
  background: var(--c-primary-soft); padding: 2px 9px; border-radius: 5px;
}
.result-time { font-size: 12.5px; color: var(--c-ink-3); }

.result-actions {
  padding: 24px 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.result-actions .btn {
  font-size: 14px;
  padding: 12px 24px;
}

/* 人工复核 CTA */
.adjust-cta {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  box-shadow: 0 -2px 16px rgba(31,39,51,0.08);
}
.adjust-live {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.adjust-live .al-label { font-size: 13px; color: var(--c-ink-2); }
.adjust-live .al-total { font-size: 28px; font-weight: 800; color: var(--c-accent); line-height: 1; }
.adjust-live .al-sep { font-size: 13px; color: var(--c-ink-3); }
.adjust-live .al-grade {
  font-size: 14px; font-weight: 700; color: #fff; background: var(--c-accent);
  padding: 2px 10px; border-radius: 6px; margin-left: 2px;
}
.adjust-live .al-delta { font-size: 13px; font-weight: 700; margin-left: 6px; }
.adjust-live .al-delta.up { color: var(--c-good); }
.adjust-live .al-delta.down { color: var(--c-bad); }
.adjust-live .al-delta.flat { color: var(--c-ink-3); font-weight: 500; }
.adjust-cta-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.adjust-notes {
  padding: 9px 14px; border: 1px solid var(--c-line); border-radius: 8px;
  font-size: 13.5px; width: 220px;
}
.adjust-notes:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 2px rgba(0,78,162,0.12); }

/* 行级即时反馈 */
.adjust-table tr.row-changed { background: #fef9e7 !important; }
.adjust-table tr.row-changed .rule-adjusted-val { color: var(--c-accent); }
.adj-delta-badge {
  font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px; margin-left: 4px;
  vertical-align: middle;
}
.adj-delta-badge.up { color: var(--c-good); background: var(--c-accent-soft); }
.adj-delta-badge.down { color: var(--c-bad); background: #f9e3df; }
.adj-dim-val.dim-changed { color: var(--c-accent) !important; }

@media (max-width: 768px) {
  .adjust-cta { flex-direction: column; align-items: stretch; }
  .adjust-cta-actions { justify-content: center; }
  .adjust-notes { width: 100%; }
}

/* 打印 / 导出 */
@media print {
  .topbar, .footer, .no-print, .detail-cta { display: none !important; }
  body { background: #fff; }
  .section, .form-card { box-shadow: none; border: 1px solid var(--c-line); break-inside: avoid; }
  .view { display: block !important; }
}
