/* sample-forensic-app：設計 token 由 /assets/tokens.css（shared/jade-design-tokens，單一來源）提供，本檔不另定義 --jade-* */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  color: #1f2933;
  background: #f4f6f8;
  line-height: 1.6;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--jade-primary, #1f4e79);
  color: #fff;
}
.brand { font-weight: 700; font-size: 1.125rem; letter-spacing: 0.05em; }
.env { font-size: 0.8125rem; padding: 0.125rem 0.625rem; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; }
.page { max-width: 720px; margin: 2rem auto; padding: 0 1rem; }
.card {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 1.75rem 2rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
h1 { font-size: 1.375rem; margin: 0 0 0.75rem; }
h2 { font-size: 1.0625rem; margin: 1.5rem 0 0.5rem; }
.lead { color: #52606d; }
button {
  font: inherit;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--jade-primary, #1f4e79);
}
button.primary { background: var(--jade-primary, #1f4e79); color: #fff; }
button.secondary { background: #fff; color: var(--jade-primary, #1f4e79); }
button:disabled { opacity: 0.6; cursor: wait; }
#qr { display: block; margin: 1rem auto; border: 1px solid #d9e2ec; border-radius: 4px; background: #fff; }
.countdown, .status, .same-device { text-align: center; margin: 0.25rem 0; }
.status { color: #334e68; }
.same-device a { font-size: 0.875rem; }
#waiting button { display: block; margin: 1rem auto 0; }
.result-title { font-weight: 700; font-size: 1.125rem; color: #9b1c1c; }
.code { margin: 0.25rem 0; color: #486581; font-size: 0.875rem; }
.code code, .trace code, .facts code { font-size: 0.8125rem; background: #f0f4f8; padding: 0.125rem 0.375rem; border-radius: 4px; word-break: break-all; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem; margin: 0; }
.facts div { background: #f7f9fb; border-radius: 6px; padding: 0.625rem 0.875rem; }
.facts dt { font-size: 0.8125rem; color: #627d98; }
.facts dd { margin: 0; font-weight: 600; }
.checks { width: 100%; border-collapse: collapse; }
.checks th, .checks td { text-align: left; padding: 0.5rem 0.625rem; border-bottom: 1px solid #e4e7eb; }
.checks td.num { text-align: right; font-variant-numeric: tabular-nums; }
.st-pass { color: #0f7a3d; font-weight: 600; }
.st-fail, .st-error { color: #9b1c1c; font-weight: 600; }
.st-not_executed { color: #7b8794; }
.logout { margin-top: 1.5rem; text-align: right; }
.foot { max-width: 720px; margin: 0 auto 2rem; padding: 0 1rem; font-size: 0.8125rem; color: #7b8794; }
