/* Check time — 极简 · 大字号 · 固定页心 · 高兼容 (2026-09-20) */

* { -webkit-box-sizing: border-box; box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: #eef2f8;
  color: #0f172a;
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* 固定页心 */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.clearfix:after { content: ""; display: block; clear: both; }

/* ---------- 顶栏 ---------- */
.topbar {
  background: #ffffff;
  border-bottom: 1px solid #dbe3ee;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar .wrap { padding-top: 12px; padding-bottom: 12px; }
.brand { float: left; font-size: 22px; font-weight: 700; line-height: 44px; color: #0f172a; }
.dot {
  display: inline-block; width: 12px; height: 12px; border-radius: 6px;
  background: #2563eb; margin-right: 9px; vertical-align: middle;
}
.brand-sub { font-size: 14px; font-weight: 400; color: #64748b; margin-left: 8px; }
.actions { float: right; }

/* ---------- 按钮 ---------- */
.btn {
  font-family: inherit;
  font-size: 17px;
  line-height: 1;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  vertical-align: middle;
}
.btn.ghost { background: #ffffff; border-color: #cbd5e1; color: #334155; margin-left: 8px; }
.btn.ghost:hover { background: #f1f5f9; }
.btn.primary { background: #2563eb; color: #ffffff; }
.btn.primary:hover { background: #1d4ed8; }
.btn.primary[disabled] { background: #94a3b8; cursor: default; }
.btn.xl {
  display: block; width: 100%; max-width: 560px; margin: 0 auto;
  font-size: 26px; font-weight: 700; padding: 22px 24px; border-radius: 16px;
}

.view { padding-top: 34px; padding-bottom: 40px; }

/* ---------- 上传 ---------- */
.dropzone {
  max-width: 720px; margin: 6vh auto 0;
  background: #ffffff; border: 2px dashed #b6c4da; border-radius: 20px;
  padding: 56px 30px; text-align: center; cursor: pointer;
}
.dropzone.is-drag { border-color: #2563eb; background: #f0f6ff; }
.dz-icon { font-size: 56px; font-weight: 200; color: #94a3b8; line-height: 1; }
.dz-title { font-size: 26px; font-weight: 700; margin-top: 12px; }
.dz-sub { font-size: 16px; color: #64748b; margin-top: 8px; }
.dz-hint { font-size: 14px; color: #94a3b8; margin-top: 14px; }
.dz-sample { margin-top: 20px; }
.dz-sample a { color: #2563eb; font-size: 15px; text-decoration: none; }
.dz-sample a:hover { text-decoration: underline; }
.error {
  max-width: 720px; margin: 16px auto 0;
  color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 10px; padding: 12px 16px; font-size: 15px; text-align: center;
}

/* ---------- 预览 ---------- */
.stats { margin: 0 -8px 18px; }
.stat { float: left; width: 33.333%; padding: 0 8px; }
.stat-inner {
  background: #ffffff; border: 1px solid #dbe3ee; border-radius: 16px;
  padding: 20px 10px; text-align: center;
}
.stat-num { font-size: 40px; font-weight: 800; line-height: 1.1; color: #0f172a; }
.stat-label { font-size: 14px; color: #64748b; margin-top: 6px; }

.file-chip {
  display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font-size: 14px; color: #475569;
  background: #ffffff; border: 1px solid #dbe3ee; border-radius: 999px;
  padding: 7px 16px; margin-bottom: 16px;
}

.grid { margin: 0 -6px; max-height: 52vh; overflow-y: auto; padding: 2px; }
.cell { float: left; width: 25%; padding: 6px; }
.cell-inner {
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 10px 13px; overflow: hidden;
}
.cell-no { display: block; font-size: 12px; color: #94a3b8; line-height: 1.4; }
.cell-word { display: block; font-size: 18px; font-weight: 600; word-wrap: break-word; word-break: break-word; }

.ready-actions { margin-top: 22px; }
.secondary { text-align: center; margin-top: 14px; }

/* ---------- 抽查 ---------- */
.word-box { text-align: center; padding: 3vh 0 1vh; }
.no { font-size: 26px; color: #64748b; letter-spacing: 2px; }
.word { font-size: 120px; font-weight: 800; line-height: 1.12; letter-spacing: 1px; word-wrap: break-word; word-break: break-word; }

.done { text-align: center; padding: 4vh 0 0; }
.done-text { font-size: 44px; font-weight: 800; color: #2563eb; }
.done-sub { font-size: 16px; color: #64748b; margin-top: 10px; }

.progress { text-align: center; font-size: 18px; color: #64748b; margin: 18px 0 26px; }
.draw-actions { }
.kbd-hint { text-align: center; color: #94a3b8; font-size: 14px; margin-top: 18px; }

.foot { text-align: center; color: #94a3b8; font-size: 13px; padding: 22px 16px 30px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .cell { width: 33.333%; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 14px; }
  .word { font-size: 64px; }
  .brand { font-size: 19px; }
  .brand-sub { display: none; }
  .btn { font-size: 15px; padding: 11px 16px; }
  .btn.xl { font-size: 22px; padding: 19px 20px; }
  .cell { width: 50%; }
  .stat-num { font-size: 32px; }
  .dropzone { padding: 40px 20px; }
  .dz-title { font-size: 21px; }
}
