/* 三单一致性审单工作台 · 样式（三语共用）
   视觉跟随站点既有语言：深蓝 #0F2A43 / 金 #E8A33D；危险 #DC503C；警告 #D68910；通过 #1E8449 */

.rv-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.rv-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 720px;
}
.rv-tbl th {
  text-align: left;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .02em;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(15, 42, 67, .16);
  color: #47576a;
  white-space: nowrap;
  background: rgba(15, 42, 67, .03);
}
.rv-tbl td {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(15, 42, 67, .08);
  vertical-align: middle;
}
.rv-tbl input {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 13px;
  padding: 7px 9px;
  border: 1px solid rgba(15, 42, 67, .2);
  border-radius: 7px;
  background: #fff;
  color: #16202b;
}
.rv-tbl input:focus {
  outline: none;
  border-color: #E8A33D;
  box-shadow: 0 0 0 3px rgba(232, 163, 61, .16);
}
.rv-f {
  width: 216px;
  min-width: 190px;
  font-weight: 600;
  color: #22303f;
  font-size: 13px;
}
.rv-sev {
  color: #DC503C;
  font-style: normal;
  margin-left: 3px;
  font-weight: 700;
}
.rv-na { color: #b8c1cb; text-align: center; }

.rv-row { display: table-row; }
.rv-tbl tbody tr.rv-adv { display: none; }
.rv-tbl.show-adv tbody tr.rv-adv { display: table-row; }

.rv-more { margin-top: 10px; }
.rv-more-btn {
  font: inherit;
  font-size: 13px;
  color: #0F2A43;
  background: rgba(15, 42, 67, .05);
  border: 1px dashed rgba(15, 42, 67, .28);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
}
.rv-more-btn:hover { background: rgba(15, 42, 67, .09); }

/* ---------- 结论条 ---------- */
.rv-verdict {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  margin: 4px 0 20px;
  font-size: 14.5px;
  border-left: 5px solid;
}
.rv-verdict b { font-size: 15px; }
.rv-verdict span { font-size: 13px; opacity: .82; }
.rv-verdict.bad  { background: rgba(220, 80, 60, .09);  border-color: #DC503C; color: #8f2c1e; }
.rv-verdict.warn { background: rgba(214, 137, 16, .1);  border-color: #D68910; color: #7a4e08; }
.rv-verdict.ok   { background: rgba(30, 132, 73, .1);   border-color: #1E8449; color: #145c33; }

/* ---------- 输出表 ---------- */
.rv-out td.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
.rv-out tr.diff td { background: rgba(220, 80, 60, .07); }
.rv-flag { font-size: 11.5px; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.rv-flag.bad { background: rgba(220, 80, 60, .14); color: #a5321f; }
.rv-flag.ok  { background: rgba(30, 132, 73, .13);  color: #17653a; }
.rv-flag.dim { background: rgba(15, 42, 67, .07);   color: #6b7887; }

/* ---------- 标题与清单 ---------- */
.rv-h3 {
  font-size: 15px;
  margin: 26px 0 10px;
  padding-left: 10px;
  border-left: 4px solid #0F2A43;
  color: #16202b;
}
.rv-h3.bad { border-color: #DC503C; color: #8f2c1e; }
.rv-h3.rec { border-color: #D68910; color: #7a4e08; }

.rv-list { list-style: none; padding: 0; margin: 0; }
.rv-list li {
  position: relative;
  padding: 11px 14px 11px 40px;
  border-radius: 9px;
  margin-bottom: 8px;
  font-size: 13.5px;
  line-height: 1.62;
  background: rgba(15, 42, 67, .035);
}
.rv-list li::before {
  position: absolute;
  left: 14px;
  top: 11px;
  font-weight: 700;
}
.rv-list.must li { background: rgba(220, 80, 60, .075); }
.rv-list.must li::before { content: '✕'; color: #DC503C; }
.rv-list.rec li { background: rgba(214, 137, 16, .085); }
.rv-list.rec li::before { content: '!'; color: #D68910; }
.rv-list.spec li { background: rgba(15, 42, 67, .035); }
.rv-list.spec li::before { content: ''; }
.rv-list.spec li.must { background: rgba(220, 80, 60, .075); }
.rv-list.spec li.rec  { background: rgba(214, 137, 16, .075); }

.rv-tag {
  display: inline-block;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 5px;
  margin-right: 8px;
  vertical-align: 1px;
}
.rv-tag.must { background: rgba(220, 80, 60, .17);  color: #a5321f; }
.rv-tag.rec  { background: rgba(214, 137, 16, .18); color: #7a4e08; }
.rv-tag.info { background: rgba(15, 42, 67, .1);    color: #3d4d5e; }

/* ---------- 报告区 ---------- */
.rv-rep { margin-top: 26px; }
.rv-rep-h {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.rv-rep-h h3 { font-size: 15px; margin: 0; color: #16202b; }
.rv-pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.4px;
  line-height: 1.72;
  background: #f6f8fa;
  border: 1px solid rgba(15, 42, 67, .14);
  border-radius: 10px;
  padding: 16px 18px;
  max-height: 560px;
  overflow: auto;
  color: #1d2833;
}
.rv-copy { margin-top: 10px; }

/* ---------- 打印 ---------- */
@media print {
  .nav, .footer, .to-top, .thero, .rv-input-panel, .rv-rep-h button, .rv-copy, .tbadges, .crumb { display: none !important; }
  body { background: #fff !important; }
  .rv-pre { max-height: none; border: none; background: #fff; padding: 0; font-size: 11.5px; }
  .panel { box-shadow: none !important; border: none !important; }
}

@media (max-width: 720px) {
  .rv-f { width: 150px; min-width: 140px; font-size: 12.5px; }
  .rv-list li { font-size: 13px; }
}
