body { font-family: "Microsoft YaHei", sans-serif; margin: 0; background: #f4f6f9; color: #222; }
header { background: #1a5fb4; color: #fff; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; }
header h1 { font-size: 18px; margin: 0; }
main { max-width: 860px; margin: 20px auto; padding: 0 16px; }
.card { background: #fff; border-radius: 10px; padding: 18px 22px; margin-bottom: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.card h2 { font-size: 16px; margin-top: 0; }
input, select { padding: 9px 12px; border: 1px solid #ccc; border-radius: 6px; margin: 5px 8px 5px 0; width: 240px; }
button { padding: 9px 18px; border: 0; border-radius: 6px; background: #1a5fb4; color: #fff; cursor: pointer; margin: 4px 6px 4px 0; }
button.ghost { background: #e8eef7; color: #1a5fb4; }
button.primary { background: #26a269; }
button.big { font-size: 16px; padding: 12px 36px; }
.chips label { display: inline-block; background: #eef2f8; border: 1px solid #ccd8e8; border-radius: 18px; padding: 6px 14px; margin: 4px 6px 4px 0; cursor: pointer; }
.chips input { width: auto; margin-right: 6px; }
.chips label:has(input:checked) { background: #1a5fb4; color: #fff; }
.field-row { margin: 8px 0; }
.field-row > span { display: inline-block; min-width: 190px; }

/* ===== 其他信息表单：两列对齐布局 ===== */
#fieldList { max-width: 640px; }
#fieldList .field-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #eef1f5;
}
#fieldList .field-row.row-wrap { flex-wrap: wrap; row-gap: 2px; }
#fieldList .field-row > span {
  width: 230px;
  flex-shrink: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}
#fieldList input[type="number"] { width: 120px; margin: 0; flex-shrink: 0; }
#fieldList select { width: 200px; margin: 0; }
#fieldList input[type="checkbox"] { width: auto; margin: 0; transform: scale(1.15); }
#fieldList .inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef2f8;
  border: 1px solid #ccd8e8;
  border-radius: 18px;
  padding: 6px 16px;
  margin: 4px 10px 4px 0;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
#fieldList .inline:has(input:checked) { background: #1a5fb4; color: #fff; border-color: #1a5fb4; }
.unit { color: #888; font-size: 13px; margin-left: 6px; white-space: nowrap; }
.req { color: #e54d42; }

/* 账号设置折叠 */
.acc-toggle { background: none; border: none; color: var(--blue); font-size: 13px; padding: 0; cursor: pointer; width: 100%; text-align: left; }
.msg { color: #c01c28; }
.hidden { display: none; }
.result-item { border-left: 4px solid #26a269; }
.result-item.miss { border-left-color: #e5a50a; }
.badge { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: #26a269; color: #fff; margin-left: 8px; }
.badge.miss { background: #e5a50a; }
.guide { background: #f6faf7; padding: 10px 14px; border-radius: 6px; margin-top: 10px; font-size: 14px; }
.guide h4 { margin: 4px 0; }
.src { color: #777; font-size: 12px; margin-top: 6px; }
.status-mark { margin-left: 10px; }

/* 准确性反馈行 */
.fb-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed #eef1f5; }
.fb-q { font-size: 13px; color: #555; }
.fb-btn { padding: 4px 14px; border-radius: 16px; font-size: 13px; border: 1rpx solid #ccd8e8; background: #f0f3f8; color: #333; margin: 0; }
.fb-btn:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.fb-no:hover:not(:disabled) { border-color: #e5a50a; color: #b7791f; }
.fb-done { font-size: 13px; margin-left: 4px; }

/* 打印报告：仅输出结果区 */
@media print {
  header, #authBox, #wizardBox, #historyBox, #accountBox, .msg, button { display: none !important; }
  body { background: #fff; }
  main { max-width: 100%; margin: 0; }
  .card { box-shadow: none; border: 1px solid #ccc; page-break-inside: avoid; }
  #resultBox h2 { font-size: 18px; }
}

/* ===== 页脚（隐私政策 / 用户协议入口）===== */
.site-footer { text-align: center; padding: 24px 0 40px; font-size: 13px; color: #8a94a6; }
.site-footer a { color: #8a94a6; text-decoration: none; }
.site-footer a:hover { color: #1a5fb4; text-decoration: underline; }
.site-footer .sep { margin: 0 8px; color: #c6cdd9; }
