/* =====================================================================
   员工入职扫码登记 · 样式
   设计系统：深蓝 #1f4e79 主色 + 浅灰底 + 圆角卡片，移动端优先
   ===================================================================== */

:root {
  --brand: #1f4e79;
  --brand2: #2e7dd7;
  --accent: #0ea5a4;
  --bg: #f2f5f9;
  --card: #ffffff;
  --line: #e4e9f0;
  --text: #1b2430;
  --muted: #6b7a90;
  --ok: #12a150;
  --warn: #d98800;
  --danger: #d9363e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 32, 56, .04), 0 8px 24px rgba(16, 32, 56, .07);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
a { color: var(--brand2); text-decoration: none; }
h3 { margin: 0 0 6px; font-size: 16px; }
h4 { margin: 16px 0 8px; font-size: 14px; color: #26303d; }
p { margin: 0 0 10px; }
p.muted, .muted { color: var(--muted); font-size: 13px; }
hr { border: none; border-top: 1px dashed var(--line); margin: 18px 0; }
.mono { font-family: ui-monospace, Consolas, "Courier New", monospace; }

/* ==================== 登记端 ==================== */
#appReg { max-width: 560px; margin: 0 auto; background: #fff; min-height: 100vh; display: flex; flex-direction: column; }
@media (min-width: 640px) {
  body.reg-mode { background: linear-gradient(160deg, #eef3fa, #f6f9fc 55%); padding: 26px 0; }
  body.reg-mode #appReg { min-height: calc(100vh - 52px); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
}

.reg-head {
  background: linear-gradient(135deg, #1f4e79 0%, #2e7dd7 100%);
  color: #fff; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .32);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; color: #fff;
}
.logo.sm { width: 30px; height: 30px; font-size: 14px; background: linear-gradient(135deg, #1f4e79, #2e7dd7); border: none; border-radius: 9px; }
.brand-name { font-weight: 700; letter-spacing: .4px; font-size: 15px; }
.brand-sub { font-size: 12px; opacity: .85; margin-top: 1px; }
.pill-link {
  font-size: 12px; color: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .4);
  padding: 5px 11px; border-radius: 20px; white-space: nowrap; flex: none;
}
.pill-link:hover { background: rgba(255, 255, 255, .14); }

.steps { background: #fff; }
.progress { height: 3px; background: #eef1f6; }
.progress i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, #2e7dd7, #0ea5a4); transition: width .3s ease; }
.steps-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 16px 3px; font-size: 12.5px; color: var(--muted); }
.step-now { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.step-now b { color: var(--brand); font-size: 13.5px; font-weight: 600; flex: none; }
.step-now i { font-style: normal; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step-now + span { flex: none; font-variant-numeric: tabular-nums; }

/* 让底栏始终贴住屏幕底部（内容不足一屏时也不会浮在中间） */
#regFlow { display: flex; flex-direction: column; flex: 1; }

.reg-body { padding: 10px 16px 0; flex: 1; }

.field { margin-bottom: 8px; }
.field > label { display: block; font-size: 13px; font-weight: 600; color: #26303d; margin-bottom: 4px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.frow > .field { margin-bottom: 0; min-width: 0; }

/* 字段区块：把同一主题的字段（工作经历 1/2/3、学历与住址、拟入职信息）
   包成一张有标题、有内边距的浅底卡片，块与块之间留白，
   避免多个同构字段块直接相邻、糊成一片。
   内边距刻意压得很紧 —— 每步仍要在一屏（844px）内塞下，见 .dev/_measure.py */
.fblock {
  background: #f8fafd; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px 1px; margin-bottom: 10px;
}
.fblock-h {
  display: flex; align-items: baseline; gap: 8px;
  margin: 0 0 8px; padding-bottom: 7px; border-bottom: 1px dashed var(--line);
}
.fblock-h b { font-size: 13px; font-weight: 600; color: var(--brand); }
.fblock-h span { font-size: 11.5px; color: var(--muted); }
/* 卡片内字段本身已经是白底，靠浅色边框区分层次 */
.fblock .field input, .fblock .field select { background: #fff; }
.fblock .frow { margin-bottom: 8px; }
.req { color: var(--danger); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fbfcfe; font-size: 16px; color: var(--text); font-family: inherit; outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23808fa5' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.field textarea { resize: vertical; min-height: 58px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand2); background: #fff; box-shadow: 0 0 0 3px rgba(46, 125, 215, .13);
}
.field input[readonly] { color: var(--muted); background: #f4f6fa; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--danger); background: #fff7f7; }
.fmsg { font-size: 12px; color: var(--danger); margin-top: 4px; }
.fmsg:empty { display: none; }
.tip { font-size: 11.5px; color: var(--muted); margin-top: 5px; }

.chk { display: flex; gap: 9px; font-size: 12.5px; color: var(--muted); line-height: 1.55; align-items: flex-start; cursor: pointer; }
.chk input { margin: 3px 0 0; width: 16px; height: 16px; flex: none; accent-color: var(--brand2); }

/* 入职信息真实性承诺 + 个人信息收集告知（合并为一张卡片、一个勾选框） */
.consent {
  background: #fbfcfe; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 13px; margin: 4px 0 6px;
}
.consent-title { font-size: 13px; font-weight: 600; color: var(--brand); margin-bottom: 7px; }
.consent-sec:last-of-type { padding-bottom: 8px; border-bottom: 1px dashed var(--line); margin-bottom: 8px; }
.consent-sec h5 { margin: 0 0 2px; font-size: 12px; font-weight: 600; color: #3b4859; }
.consent-sec p { margin: 0 0 5px; font-size: 12.5px; line-height: 1.65; color: #4b5768; }

/* 证件照上传 */
.img-field .img-box {
  display: flex; align-items: center; justify-content: center;
  height: 86px; border: 1px dashed #c3cfdd; border-radius: 10px;
  background: #fbfcfe; cursor: pointer; overflow: hidden; transition: .15s;
}
.img-field .img-box:hover { border-color: var(--brand2); background: #f6faff; }
.img-field .img-box.has { border-style: solid; border-color: var(--line); background: #fff; }
.img-field .img-box.busy { opacity: .5; pointer-events: none; }
.img-field .img-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-add { font-size: 13px; color: var(--muted); }
.img-field .file-in { display: none; }
.img-field .tip { font-size: 11px; margin-top: 4px; }

/* 证件照识别状态：复用 tip 那一行显示，不新增高度（第 1 步是一屏刚好塞满的） */
.tip.act { color: var(--brand2); }
.tip.act::before {
  content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 5px;
  border: 2px solid rgba(31, 78, 121, .22); border-top-color: var(--brand2);
  border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -1px;
}
.tip.good { color: #1a7f52; }
.tip.warn { color: #b4530a; }
/* 详情弹窗里的证件识别告警 */
.txt-warn { color: #b4530a; }

/* 详情弹窗里的证件照 */
.photo-slot { display: inline-flex; align-items: center; justify-content: flex-end; }
.photo-img {
  max-width: 220px; max-height: 150px; border-radius: 8px;
  border: 1px solid var(--line); display: block;
}

.footbar {
  position: sticky; bottom: 0; display: flex; gap: 10px; align-items: center;
  padding: 9px 16px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); margin-top: 6px;
}

.btn {
  padding: 13px 16px; border-radius: 12px; font-size: 16px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: .15s;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn.primary { flex: 1; background: linear-gradient(135deg, #1f4e79, #2e7dd7); color: #fff; box-shadow: 0 6px 16px rgba(31, 78, 121, .24); }
.btn.primary:active { transform: translateY(1px); }
.btn.ghost { background: #fff; border-color: var(--line); color: #3b4859; }
.btn.ghost:active { background: #f6f8fc; }
.btn.ghost.w34 { flex: 0 0 33%; }
.btn.sm { flex: none; padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* 成功回执 */
.done { padding: 44px 20px 40px; text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; }
.tick { width: 76px; height: 76px; border-radius: 50%; background: #e8f4ec; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; animation: pop .4s ease; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.done h2 { margin: 0 0 6px; font-size: 21px; color: #16202c; }
.done .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }
.receipt { width: 100%; background: #f8fafd; border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: left; margin-bottom: 18px; }
.receipt .row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13.5px; border-bottom: 1px dashed #e8edf4; }
.receipt .row:last-child { border-bottom: none; }
.receipt .row span:first-child { color: var(--muted); flex: none; }
.receipt .row span:last-child { text-align: right; font-weight: 600; word-break: break-all; }
.receipt .rno { color: var(--brand); font-family: ui-monospace, Consolas, monospace; letter-spacing: .4px; }
.done-btns { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.note { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.6; text-align: left; background: #f6faf7; border: 1px solid #cfe6d8; border-radius: 10px; padding: 10px 12px; }

/* ==================== 管理端 ==================== */
#appAdmin { min-height: 100vh; background: var(--bg); }
.adm-head {
  background: #fff; border-bottom: 1px solid var(--line); padding: 0 22px;
  display: flex; align-items: center; gap: 24px; position: sticky; top: 0; z-index: 20;
  box-shadow: 0 1px 6px rgba(16, 32, 56, .05); flex-wrap: wrap;
}
.adm-brand { display: flex; align-items: center; gap: 10px; padding: 13px 0; font-size: 13.5px; color: var(--muted); }
.adm-brand b { color: var(--brand); font-size: 15px; }
.adm-nav { display: flex; gap: 2px; flex: 1; }
.tab {
  background: none; border: none; padding: 16px 14px; font-size: 14px; color: var(--muted);
  cursor: pointer; font-family: inherit; border-bottom: 2px solid transparent; font-weight: 500; transition: .15s;
}
.tab:hover { color: var(--brand); }
.tab.on { color: var(--brand); border-bottom-color: var(--brand2); font-weight: 700; }
.adm-head .pill-link { color: var(--brand); border-color: #cfdcec; }
.adm-head .pill-link:hover { background: #f2f7ff; }
.container { max-width: 1180px; margin: 0 auto; padding: 22px 22px 70px; }
.pane { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.banner {
  display: flex; gap: 11px; align-items: flex-start; background: #fff8e8; border: 1px solid #f2dfae;
  color: #875f00; border-radius: 12px; padding: 12px 15px; font-size: 13px; margin-bottom: 18px; line-height: 1.6;
}
.banner b { color: #6b4a00; }
.banner.ok { background: #eef7f1; border-color: #c3e4d0; color: #12653a; }
.banner.ok b { color: #0d5330; }
.banner.err { background: #fdf1f1; border-color: #f0cccc; color: #a3262c; }
.banner.err b { color: #8a1f24; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 880px) { .grid2 { grid-template-columns: 1fr; } }

/* 口令登录门 */
.gate { max-width: 420px; margin: 8vh auto; text-align: center; }
.gate .lock {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 18px;
  background: linear-gradient(135deg, #1f4e79, #2e7dd7); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 0 10px 24px rgba(31, 78, 121, .28);
}
.gate h2 { margin: 0 0 6px; font-size: 19px; }
.gate p { color: var(--muted); font-size: 13.5px; }
.gate .gate-form { display: flex; gap: 10px; margin-top: 18px; }
.gate input {
  flex: 1; padding: 12px 13px; border: 1px solid var(--line); border-radius: 11px;
  background: #fbfcfe; font-size: 16px; font-family: inherit; outline: none;
}
.gate input:focus { border-color: var(--brand2); background: #fff; box-shadow: 0 0 0 3px rgba(46, 125, 215, .13); }
.gate .hint-err { color: var(--danger); font-size: 12.5px; margin-top: 10px; min-height: 18px; }
.gate .tip { margin-top: 16px; }

/* 二维码 */
.qr-card { text-align: center; }
.qr-box {
  width: 280px; height: 280px; margin: 16px auto 12px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line);
}
.qr-box img { display: block; width: 248px; height: 248px; object-fit: contain; border-radius: 8px; }
.qr-box .ph { color: var(--muted); font-size: 13px; padding: 20px; }
.qr-url {
  font-size: 12px; color: var(--muted); word-break: break-all; background: #f7f9fc;
  border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; margin-bottom: 14px;
  font-family: ui-monospace, Consolas, monospace; text-align: left; max-height: 66px; overflow: auto;
}
.row-btns { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }
.row-btns.left { justify-content: flex-start; }

label.lbl { display: block; font-size: 13px; font-weight: 600; color: #26303d; margin: 12px 0 6px; }
input.txt {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fbfcfe; font-size: 14px; font-family: inherit; outline: none; color: var(--text);
}
input.txt:focus { border-color: var(--brand2); background: #fff; box-shadow: 0 0 0 3px rgba(46, 125, 215, .13); }

/* 统计 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; box-shadow: var(--shadow); }
.stat .k { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.stat .v { font-size: 26px; font-weight: 800; color: var(--brand); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .v.warn { color: var(--warn); }
.stat .v.ok { color: var(--ok); }

/* 工具条 */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar input[type="search"], .toolbar select {
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-size: 14px; font-family: inherit; outline: none; color: var(--text);
}
.toolbar input[type="search"] { flex: 1; min-width: 200px; }
.toolbar input:focus, .toolbar select:focus { border-color: var(--brand2); box-shadow: 0 0 0 3px rgba(46, 125, 215, .13); }
.toolbar .spacer { flex: 1; }

/* 表格 */
.tbl-wrap { border: 1px solid var(--line); border-radius: 12px; overflow: auto; background: #fff; box-shadow: var(--shadow); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 1100px; }
.tbl th { background: #f7f9fc; color: #4a5a6e; font-weight: 600; text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 12.5px; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid #f0f3f8; vertical-align: middle; white-space: nowrap; }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr:hover td { background: #fafcff; }
.tbl .mono { font-size: 12.5px; color: #3a4a5e; }
.tbl .acts { display: flex; gap: 6px; align-items: center; }
.mini { font-size: 12.5px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: #3b4859; cursor: pointer; font-family: inherit; white-space: nowrap; }
.mini:hover { border-color: var(--brand2); color: var(--brand); background: #f6faff; }
.mini.danger:hover { border-color: #f0c2c4; color: var(--danger); background: #fff7f7; }
.st-sel { font-size: 12.5px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-family: inherit; color: var(--text); cursor: pointer; }
.empty { padding: 52px 20px; text-align: center; color: var(--muted); font-size: 13.5px; }

.badge { display: inline-block; font-size: 11.5px; padding: 3px 10px; border-radius: 20px; font-weight: 600; white-space: nowrap; }
.b-pending { background: #fff5e6; color: #b57200; }
.b-pass { background: #eef5ff; color: #1d5fb0; }
.b-joined { background: #e8f4ec; color: #0d7f3f; }
.b-erp { background: #f0eafd; color: #6b39c4; }

/* 字段映射表 */
.map-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.map-tbl th { background: #f7f9fc; text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: #4a5a6e; font-weight: 600; }
.map-tbl td { padding: 9px 12px; border-bottom: 1px solid #f0f3f8; }
.map-tbl code, ol.steps-list code { background: #f4f7fb; color: #1d5fb0; padding: 2px 6px; border-radius: 5px; font-size: 12.5px; font-family: ui-monospace, Consolas, monospace; }
ol.steps-list { margin: 8px 0 0; padding-left: 20px; font-size: 13.5px; line-height: 1.9; color: #3b4859; }

/* 选项维护 */
.opt-host { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
@media (max-width: 820px) { .opt-host { grid-template-columns: 1fr; } }
.opt-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; background: #fbfcfe; }
.opt-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.opt-h b { font-size: 13px; color: var(--brand); }
.opt-c { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.opt-item textarea {
  width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font-size: 13.5px; line-height: 1.75; color: var(--text);
  font-family: inherit; outline: none; resize: vertical; min-height: 84px;
}
.opt-item textarea:focus { border-color: var(--brand2); box-shadow: 0 0 0 3px rgba(46, 125, 215, .13); }
.opt-item .tip { font-size: 11.5px; color: var(--muted); margin-top: 6px; }

/* 弹窗 / 提示 */
.modal { position: fixed; inset: 0; background: rgba(15, 28, 45, .5); display: flex; align-items: center; justify-content: center; z-index: 60; padding: 18px; backdrop-filter: blur(2px); }
.modal-box { background: #fff; border-radius: 16px; max-width: 700px; width: 100%; max-height: 86vh; overflow: auto; padding: 22px; box-shadow: 0 24px 60px rgba(10, 22, 40, .3); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.x-btn { background: none; border: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.modal-box.sm { max-width: 420px; }
.modal-box.sm .dlg-text { font-size: 14px; color: #3b4859; line-height: 1.7; }

.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
@media (max-width: 620px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-grid .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #e8edf4; font-size: 13.5px; }
.detail-grid .row.full { grid-column: 1 / -1; }
.detail-grid .row span:first-child { color: var(--muted); flex: none; min-width: 96px; }
.detail-grid .row span:last-child { text-align: right; font-weight: 600; word-break: break-all; }

.toast {
  position: fixed; left: 50%; bottom: 70px; transform: translate(-50%, 16px);
  background: rgba(24, 38, 58, .95); color: #fff; padding: 11px 20px; border-radius: 10px;
  font-size: 13.5px; opacity: 0; pointer-events: none; transition: .25s; z-index: 99;
  max-width: 80vw; text-align: center; box-shadow: 0 10px 30px rgba(10, 22, 40, .3);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 打印 */
#printArea { display: none; }
@media print {
  body { background: #fff !important; padding: 0 !important; }
  #appReg, #appAdmin, .toast, .modal { display: none !important; }
  #printArea { display: block !important; text-align: center; padding-top: 60px; }
  #printArea img { width: 340px; height: 340px; }
  #printArea h1 { font-size: 24px; margin: 20px 0 6px; color: #1f4e79; }
  #printArea p { font-size: 14px; color: #444; }
  #printArea .u { font-family: ui-monospace, Consolas, monospace; font-size: 12px; color: #666; margin-top: 10px; word-break: break-all; }
}
