/* =====================================================================
   考评系统 —— 对照 new_system_v2 的 exam.html
   ===================================================================== */

.exam-h {
  font-size: 1.2rem;
  color: var(--c-red);
  border-left: 4px solid var(--c-gold);
  padding-left: 10px;
  margin: 0 0 14px;
}
.exam-sub { font-size: 1rem; color: var(--c-ink); margin: 18px 0 8px; }

.exam-desc { background: linear-gradient(135deg, #fff, #fdf6ec); }
.exam-rich { color: #555; line-height: 1.95; font-size: .9rem; }
.exam-rich ul, .exam-rich ol { margin: 0 0 14px; padding-left: 22px; }
.exam-rich li { margin: 6px 0; }
.exam-rich strong { color: var(--c-ink); }
.exam-rich p { margin: 0 0 10px; }

/* ── 考评流程 ── */
.exam-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap; padding: 15px 0;
}
.ef-step { padding: 8px 18px; border-radius: 12px; font-size: .88rem; font-weight: 600; }
.ef-red   { background: #8b1a1a; color: #fff; }
.ef-gold  { background: #b8860b; color: #fff; }
.ef-green { background: #2f6b2f; color: #fff; }
.ef-arrow { color: #b8860b; font-weight: 700; }

/* ── 证书样本 ── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.cert-item {
  border: 1px solid var(--c-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fffdf8;
}
.cert-item img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.cert-ph {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; background: #f7f1e6; font-size: 2.4rem;
}
.cert-label {
  padding: 10px 12px;
  font-size: .84rem;
  color: var(--c-ink);
  border-top: 1px solid var(--c-border);
}
.cert-label small { display: block; margin-top: 3px; color: var(--c-muted); font-size: .74rem; }

/* ── 荣誉段位 ── */
.honor-ranks { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.honor-ranks span {
  background: linear-gradient(135deg, #b8860b, #d4a017);
  color: #fff; padding: 5px 14px; border-radius: 12px;
  font-size: .8rem; font-weight: 700;
}
.honor-box {
  background: linear-gradient(135deg, #fff, #fdf6ec);
  border-left: 4px solid var(--c-gold);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin-top: 12px;
}
.honor-box h4 { color: #b8860b; margin: 0 0 10px; font-size: 1rem; }

/* ── 级段标准表 ── */
.exam-table .rank-cell {
  font-weight: 700;
  color: var(--c-red);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ── 考评文件卡片 ── */
.doc-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.doc-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-gold);
  border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: var(--transition);
}
.doc-card:hover { border-color: var(--c-red); border-left-color: var(--c-red); transform: translateY(-2px); }
.dc-no {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .72rem; color: #b8860b; letter-spacing: .1em;
}
.dc-title { font-weight: 700; color: var(--c-red); font-size: .98rem; line-height: 1.5; }
.dc-desc { color: var(--c-muted); font-size: .8rem; line-height: 1.7; }
.dc-go { color: var(--c-red); font-size: .8rem; margin-top: 2px; }
