/* ============ 悦时-回收黄金 · 横版工作台 ============ */
:root {
  --blue-600: #1d4ed8;
  --blue-500: #2563eb;
  --blue-50: #eff6ff;
  --line: #e2e8f0;
  --ink-1: #1e293b;
  --ink-2: #64748b;
  --ink-3: #94a3b8;
  --bg: #eef2f9;
  --amber: #b45309;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; background: var(--bg); color: var(--ink-1); }
input, select, textarea, button { font-family: inherit; }
.hidden { display: none !important; }

/* ---------- 顶部横栏 ---------- */
.topbar {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 60px; position: sticky; top: 0; z-index: 60;
  box-shadow: 0 2px 12px rgba(30, 64, 175, .25);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo-img { height: 38px; width: auto; border-radius: 6px; background: #fff; padding: 2px; }
.brand-txt b { font-size: 17px; letter-spacing: 1px; white-space: nowrap; }
.brand-txt small { display: block; font-size: 10px; opacity: .85; font-weight: 400; white-space: nowrap; }
.top-price { display: flex; align-items: center; gap: 14px; font-size: 13px; min-width: 0; }
.gold-chip { background: rgba(255, 255, 255, .16); padding: 6px 16px; border-radius: 22px; font-weight: 700; white-space: nowrap; }
.gold-chip i { font-style: normal; color: #ffd54f; font-size: 18px; margin-left: 6px; }
.chip-unit { font-style: normal; margin-left: 3px; font-size: 12px; font-weight: 400; opacity: .9; }
.time-chip { opacity: .88; white-space: nowrap; font-size: 12px; }
.chip-warn { background: #ef4444; color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 11px; }
.top-actions { display: flex; gap: 8px; }
.top-btn {
  background: rgba(255, 255, 255, .16); color: #fff; border: 0;
  border-radius: 8px; padding: 8px 14px; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.top-btn:hover { background: rgba(255, 255, 255, .26); }

/* ---------- 布局 ---------- */
.layout { display: flex; min-height: calc(100vh - 60px); }
.side {
  width: 176px; background: #fff; border-right: 1px solid var(--line);
  flex-shrink: 0; padding: 14px 10px;
}
.side-inner { position: sticky; top: 74px; }
.nav {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: 9px; font-size: 14px; color: #475569;
  cursor: pointer; margin-bottom: 4px; border: 0; background: transparent; width: 100%; text-align: left;
}
.nav:hover { background: #f4f8ff; }
.nav.on { background: var(--blue-50); color: var(--blue-600); font-weight: 700; }
.nav-ico { font-size: 16px; }

.main { flex: 1; padding: 16px 20px; min-width: 0; }
.panel { display: none; gap: 18px; align-items: flex-start; }
.panel.on { display: flex; }
#panel-form { flex-wrap: wrap; }
#panel-form .price-banner { flex-basis: 100%; }
#panel-form .form-col { flex: 0 0 auto; }
#panel-form .preview-col { flex: 1 1 0; min-width: 0; }

/* 今日金价面板（默认首页）：回收价目表独占整行 */
#panel-price { flex-wrap: wrap; }
#panel-price .card { flex: 1 1 0; min-width: 0; }
#panel-price .price-card { flex-basis: 100%; }

.pc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pc-update { font-size: 12px; color: var(--ink-2); }
.card {
  background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(30, 64, 175, .06);
  padding: 16px;
}
.card-title {
  font-size: 15px; font-weight: 800; color: var(--blue-600);
  border-left: 4px solid var(--blue-500); padding-left: 8px; margin-bottom: 14px;
}
.hint { font-size: 12px; color: var(--ink-2); line-height: 1.7; margin-top: 8px; }

/* ---------- 表单 ---------- */
.form-col { width: 420px; flex-shrink: 0; max-height: calc(100vh - 96px); overflow: auto; }
.fld { margin-bottom: 12px; }
.fld label { display: block; font-size: 12px; color: #475569; margin-bottom: 5px; font-weight: 600; }
.fld-row { display: flex; gap: 12px; }
.fld-row > .fld { flex: 1; min-width: 0; }
.input {
  width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 9px 10px;
  font-size: 13.5px; color: var(--ink-1); background: #fff;
}
.input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
textarea.input { resize: none; }
.rec-items { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.rec-item-row { display: flex; gap: 6px; align-items: center; }
.rec-item-row .input { flex: 1; min-width: 0; padding: 7px 8px; font-size: 12.5px; }
.rec-item-row select { width: 30%; }
.rec-item-row .item-purity-custom { flex: 1.1; display: none; }
.item-del { flex-shrink: 0; border: 0; background: transparent; color: #b91c1c; font-size: 15px; cursor: pointer; padding: 4px; }
.btn-add {
  display: block; width: 100%; border: 1px dashed #93c5fd; color: var(--blue-600);
  background: var(--blue-50); border-radius: 8px; padding: 8px; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.btn-add:hover { background: #dbeafe; }
.rec-photo-preview { margin-top: 6px; }
.rec-photo-preview img { max-width: 100%; max-height: 120px; border-radius: 8px; border: 1px solid var(--line); }
.btn-sm { font-size: 12px; padding: 5px 10px; }
.total-line {
  display: flex; justify-content: space-between; align-items: center;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 10px 12px; margin: 12px 0;
}
.total-line span { font-size: 13px; color: #475569; flex-shrink: 0; }
.total-line b { font-size: 20px; color: var(--amber); flex-shrink: 0; white-space: nowrap; }
.form-actions { display: flex; gap: 10px; }
.btn {
  border: 0; border-radius: 9px; padding: 11px 16px; font-size: 14px; font-weight: 700;
  cursor: pointer; flex: 1;
}
.btn-primary { background: var(--blue-500); color: #fff; }
.btn-primary:hover { background: var(--blue-600); }
.btn-primary:disabled { background: #93c5fd; }
.btn-ghost { background: var(--blue-50); color: var(--blue-600); }
.btn-ghost:hover { background: #dbeafe; }
.btn-danger { background: #fef2f2; color: #b91c1c; }
.btn-danger:hover { background: #fee2e2; }

/* ---------- 实时预览 ---------- */
.preview-col { flex: 1; min-width: 0; background: #e4ebf6; border-radius: 12px; padding: 14px; }
.preview-tip { font-size: 11.5px; color: #64748b; margin-bottom: 10px; }
.preview-sheet {
  background: #fff; border-radius: 10px; box-shadow: 0 4px 18px rgba(30, 64, 175, .16);
  width: 300px; margin: 0 auto; padding: 14px 14px 16px;
}
/* 预览小样（简化版） */
.pv-hdr { display: flex; justify-content: space-between; align-items: center; border-bottom: 2.5px solid var(--blue-500); padding-bottom: 6px; }
.pv-brand { display: flex; align-items: center; gap: 7px; }
.pv-brand img { width: 30px; height: 30px; border-radius: 6px; border: 1px solid #dbe3ef; object-fit: contain; }
.pv-brand b { color: var(--blue-600); font-size: 14px; }
.pv-tag { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 20px; background: var(--blue-500); color: #fff; }
.pv-addr { font-size: 9.5px; color: #475569; text-align: center; margin: 5px 0 2px; font-weight: 600; }
.pv-meta { font-size: 9.5px; color: #475569; margin: 2px 0 6px; }
.pv-table { width: 100%; border-collapse: collapse; }
.pv-table td, .pv-table th { border: 1px solid #cbd5e1; padding: 3px 4px; font-size: 10px; color: var(--ink-1); }
.pv-table th { background: #f8fafc; font-weight: 700; color: #334155; }
.pv-table .pv-k { width: 62px; background: var(--blue-50); font-weight: 600; color: var(--blue-600); }
.pv-table .pv-r { text-align: right; }
.pv-table .pv-money { font-weight: 800; color: var(--amber); font-size: 10.5px; }
.pv-table .pv-foot { background: #fffbeb; font-weight: 700; text-align: center; }
.pv-sub {
  font-weight: 700; color: #1e3a8a; margin: 7px 0 3px; font-size: 11px;
  border-left: 4px solid var(--blue-500); padding-left: 6px;
}
.pv-photos { display: flex; gap: 5px; }
.pv-photos .pv-slot { flex: 1; height: 46px; border: 1.5px dashed #94a3b8; border-radius: 4px; background: #f8fafc; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pv-photos .pv-slot img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pv-ph-hint { font-size: 8.5px; color: #94a3b8; font-weight: 400; margin-left: 4px; }
.pv-sign { display: flex; justify-content: space-between; margin-top: 9px; }
.pv-sign span { width: 45%; border-top: 1.5px solid #334155; padding-top: 4px; text-align: center; font-size: 9.5px; color: #475569; }
.pv-foot-note { margin-top: 5px; padding-top: 3px; border-top: 1px dashed #cbd5e1; font-size: 8.5px; color: #64748b; text-align: center; }

/* ---------- 订单记录 ---------- */
.list-col { flex: 1; }
.search-line { display: flex; gap: 8px; margin-bottom: 12px; }
.search-line input { flex: 1; }
.rec-stats { font-size: 13px; color: #475569; margin-bottom: 12px; }
.rec-stats b { color: var(--blue-600); }
.rec-list { overflow: auto; }
.rec-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 900px; }
.rec-table th, .rec-table td { border: 1px solid var(--line); padding: 7px 9px; text-align: left; }
.rec-table th { background: #f8fafc; font-weight: 700; color: #334155; white-space: nowrap; }
.rec-table .rt-no { color: var(--blue-600); font-weight: 700; white-space: nowrap; }
.rec-table .rt-date { white-space: nowrap; }
.rec-table .rt-items { color: #475569; }
.rec-table .rt-num { text-align: right; white-space: nowrap; }
.rec-table .rt-money { text-align: right; font-weight: 700; color: var(--amber); white-space: nowrap; }
.rec-table .rt-code { font-weight: 600; white-space: nowrap; }

/* ---------- 调价管理 ---------- */
.admin-col { flex: 1; max-width: 760px; }
.admin-login { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.admin-login .input { flex: 1; }
.remember-row { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #334155; cursor: pointer; user-select: none; }
.remember-row input { width: 15px; height: 15px; accent-color: var(--blue-500); }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 13px; font-weight: 700; color: #334155; margin-bottom: 6px; }
.inline { display: flex; gap: 8px; }
.inline .input { flex: 1; }
.purity-grid { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.purity-item {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fafcff;
}
.purity-name { font-weight: 700; color: var(--blue-600); width: 74px; font-size: 13px; }
.ratio-field { font-size: 12px; color: #475569; display: flex; align-items: center; gap: 4px; }
.cut-inp { width: 80px !important; text-align: center; padding: 6px 8px !important; font-size: 13px !important; }
.purity-auto { font-size: 12px; color: var(--ink-2); min-width: 96px; }
.purity-set, .purity-clear { flex-shrink: 0; padding: 6px 12px; font-size: 12px; border-radius: 6px; border: 0; cursor: pointer; font-weight: 600; }
.purity-set { background: var(--blue-500); color: #fff; }
.purity-clear { background: #f1f5f9; color: #475569; }
.override-status { font-size: 12px; }

/* ---------- 今日金价 ---------- */
.hero { text-align: center; }
.hero-label { font-size: 13px; color: var(--ink-2); }
.hero-price { margin: 8px 0 6px; }
.hero-num { font-size: 44px; font-weight: 800; color: var(--blue-600); }
.hero-unit { font-size: 14px; color: var(--ink-2); margin-left: 6px; }
.hero-meta { font-size: 12px; color: var(--ink-2); }
.notice { margin-top: 10px; padding: 9px 12px; background: var(--blue-50); color: var(--blue-600); border-radius: 8px; font-size: 13px; font-weight: 600; }
.table-wrap { overflow: auto; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.price-table th { background: var(--blue-500); color: #fff; font-weight: 700; padding: 13px 22px; text-align: left; border: 0; }
.price-table th:first-child { border-radius: 10px 0 0 0; }
.price-table th:last-child { border-radius: 0 10px 0 0; text-align: right; }
.price-table td { border-bottom: 1px solid var(--line); padding: 16px 22px; text-align: left; }
.price-table tbody tr:hover td { background: #f4f8ff; }
.price-table td:last-child { font-weight: 800; color: var(--blue-600); text-align: right; font-size: 18px; }
.price-table .row-divider td { border: 0; padding: 2px; background: #f4f7fc; }
.pt-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.table-note { font-size: 12px; color: var(--ink-2); margin-top: 12px; }
.calc-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.calc-row label { width: 110px; font-size: 13px; color: #334155; font-weight: 600; }
.calc-result { display: flex; justify-content: space-between; align-items: center; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 10px 12px; margin-top: 12px; }
.calc-result-label { font-size: 13px; color: #475569; }
.calc-result-num { font-size: 20px; font-weight: 800; color: var(--amber); }
.store-info .store-row { display: flex; gap: 10px; padding: 5px 0; font-size: 13px; border-bottom: 1px dashed var(--line); }
.store-info .k { color: var(--ink-2); width: 48px; flex-shrink: 0; }
.store-info .v { color: var(--ink-1); }

/* ---------- 表单·手机扫码上传照片 ---------- */
.mup-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.mup-hint { font-size: 11.5px; color: var(--ink-2); }
.mup-qr { margin-top: 8px; text-align: center; }
.mup-qr > span { display: block; font-size: 11.5px; color: var(--ink-2); margin-top: 4px; }
.mup-qr canvas, .mup-qr img { border: 1px solid var(--line); border-radius: 8px; }

/* ---------- 订单记录 · 日期导出 + 编辑 ---------- */
.order-toolbar { display: flex; align-items: center; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.order-toolbar label { font-size: 13px; color: #475569; font-weight: 600; }
.input-date { width: 148px; }
.ex-sep { color: var(--ink-2); font-size: 13px; }

/* 编辑弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(30, 41, 59, .55); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.modal-mask[hidden] { display: none !important; }
.modal-box { background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(30, 64, 175, .25); width: 560px; max-width: 100%; max-height: 88vh; overflow: auto; padding: 20px; }
.modal-box h3 { font-size: 16px; font-weight: 800; color: var(--blue-600); border-left: 4px solid var(--blue-500); padding-left: 8px; margin-bottom: 14px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
/* 订单详情弹窗 */
.dt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.dt-v { font-size: 14px; font-weight: 600; color: #1e293b; min-height: 20px; word-break: break-all; }
.dt-table { font-size: 12.5px; margin-top: 4px; }
.dt-table th { background: #eff4ff; }
.dt-total { font-size: 13.5px; color: #1e293b; margin-top: 8px; padding: 8px 10px; background: #f0f7ff; border-radius: 8px; }
.dt-total b { color: var(--blue-600); }
.dt-photos { display: flex; flex-wrap: wrap; gap: 10px; }
.dt-photo { width: 96px; text-align: center; }
.dt-photo img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid #dbe3ef; display: block; }
.dt-photo span { font-size: 11px; color: #64748b; }
.ed-item-row { display: flex; gap: 8px; margin-bottom: 8px; }
.ed-item-row .input { flex: 1; min-width: 0; }
.ed-item-row .btn { flex: 0 0 auto; }
.op-cell { display: flex; gap: 6px; }

/* ---------- 页脚 ---------- */
.footer { text-align: center; padding: 16px 0 22px; font-size: 13px; color: var(--ink-2); }
.footer .beian-footer { margin-top: 6px; font-size: 11px; opacity: .8; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 76px; transform: translateX(-50%);
  background: rgba(30, 41, 59, .92); color: #fff; padding: 10px 18px;
  border-radius: 10px; font-size: 13px; z-index: 200; max-width: 86vw;
  line-height: 1.6;
}
.toast.ok { background: rgba(21, 128, 61, .94); }
.toast.err { background: rgba(185, 28, 28, .94); }

/* ---------- 手机底部导航 ---------- */
.mobile-tabbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; height: 56px;
  background: #fff; border-top: 1px solid var(--line); z-index: 100;
  box-shadow: 0 -2px 10px rgba(30, 64, 175, .06);
}
.mobile-tabbar .tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; border: 0; background: transparent; font-size: 10px; color: var(--ink-2); cursor: pointer;
}
.mobile-tabbar .tab.on { color: var(--blue-600); font-weight: 700; }
.mobile-tabbar .tab-ico { font-size: 18px; line-height: 1; }

/* ---------- 打印模板（线上版式，全局定义） ---------- */
#print-area { display: none; }
.rp-hdr { display: flex; align-items: center; justify-content: space-between; border-bottom: 3px solid var(--blue-500); padding-bottom: 4px; }
.rp-brand { display: flex; align-items: center; gap: 8px; }
.rp-logo { width: 36px; height: 36px; border-radius: 8px; border: 1px solid #dbe3ef; object-fit: contain; }
.rp-store-name { font-size: 19px; font-weight: 700; color: var(--blue-600); letter-spacing: 1px; }
.rp-slogan { font-size: 9.5px; color: var(--ink-2); margin-top: 1px; }
.rp-right { display: flex; align-items: flex-end; gap: 12px; }
.receipt-copy-tag { font-size: 14px; font-weight: 700; padding: 3px 14px; border-radius: 20px; }
.receipt-copy-tag.blue { background: var(--blue-500); color: #fff; }
.receipt-copy-tag.gray { background: #e2e8f0; color: #334155; }
.rp-qr { text-align: center; }
.rp-qr img { width: 13mm; height: 13mm; display: block; border: 1px solid #dbe3ef; border-radius: 3px; }
.rp-qr span { display: block; font-size: 8.5px; color: var(--ink-2); margin-top: 1px; white-space: nowrap; }
.rp-qr-photo canvas { width: 13mm; height: 13mm; display: block; border: 1px solid #dbe3ef; border-radius: 3px; }
.rp-addr { font-size: 10.5px; color: #475569; text-align: center; margin: 2px 0 3px; font-weight: 600; }
.rp-meta { font-size: 10.5px; color: #475569; margin: 3px 0 5px; }
.receipt-sub { font-weight: 700; color: #1e3a8a; margin: 6px 0 3px; font-size: 12.5px; border-left: 5px solid var(--blue-500); padding-left: 7px; }
.meta-table { width: 100%; border-collapse: collapse; }
.meta-table td { border: 1px solid #cbd5e1; padding: 4px 7px; font-size: 11.5px; }
.mt-k { width: 76px; background: var(--blue-50); font-weight: 600; color: var(--blue-600); }
.mt-v { color: var(--ink-1); }
.items-table { width: 100%; border-collapse: collapse; }
.items-table th, .items-table td { border: 1px solid #cbd5e1; padding: 4px 6px; text-align: center; font-size: 11px; color: var(--ink-1) !important; }
.items-table th { background: #f8fafc; font-weight: 700; color: #334155; }
.items-table .it-num { text-align: right; }
.items-table .it-amount { font-weight: 800; font-size: 12.5px; color: var(--amber) !important; }
.items-table .it-foot { background: #fffbeb; font-weight: 700; text-align: center; color: #334155; }
.amount-table { width: 100%; border-collapse: collapse; }
.amount-table th, .amount-table td { border: 1px solid #cbd5e1; padding: 4px 7px; font-size: 11.5px; }
.amount-table th { background: var(--blue-50); width: 76px; color: var(--blue-600); font-weight: 600; text-align: left; white-space: nowrap; }
.amount-table .am-big { font-size: 16px; font-weight: 700; color: var(--amber); }
.photo-hint { font-size: 9px; color: #94a3b8; font-weight: 400; margin-left: 6px; }
.receipt-photo-grid { margin-top: 3px; display: flex; gap: 8px; }
.photo-slot {
  flex: 1; min-height: 40mm; border: 1.5px dashed #94a3b8; border-radius: 4px;
  background: #f8fafc; display: flex; align-items: center; justify-content: center;
  flex-direction: column; overflow: hidden; padding: 4px; box-sizing: border-box;
}
.photo-slot img { max-width: 100%; max-height: 38mm; display: block; object-fit: contain; margin: auto; }
.rp-photo-ph { font-size: 9.5px; color: #94a3b8; margin-top: 2px; }
.rp-terms { border: 1px solid #e2e8f0; border-radius: 6px; padding: 5px 10px; background: #f8fafc; }
.rp-terms p { font-size: 10px; color: #475569; line-height: 1.7; margin: 2px 0; }
.receipt-sign { display: flex; justify-content: space-between; margin-top: 14px; }
.receipt-sign span { width: 44%; border-top: 1.5px solid #334155; padding-top: 5px; text-align: center; color: #475569; font-size: 10.5px; }
.receipt-foot { margin-top: 5px; padding-top: 5px; border-top: 1px dashed #cbd5e1; font-size: 10px; color: var(--ink-2); text-align: center; }

/* ---------- 响应式：手机版 ---------- */
@media (max-width: 900px) {
  .side { display: none; }
  .top-actions { display: none; }
  .topbar { padding: 0 12px; height: 54px; }
  .brand-txt small { display: none; }
  .brand-txt b { font-size: 15px; }
  .top-price { gap: 8px; }
  .time-chip { display: none; }
  .gold-chip { padding: 3px 8px; font-size: 11px; }
  .gold-chip i { font-size: 13px; margin-left: 3px; }
  .chip-unit { display: none; }
  .layout { min-height: calc(100vh - 54px); }
  .main { padding: 12px 12px 70px; }
  .panel { flex-direction: column; }
  .form-col { width: 100%; max-height: none; }
  .preview-col { width: 100%; }
  .mobile-tabbar { display: flex; }
  .fld-row { flex-direction: row; }
  .rec-table { font-size: 11px; }
}

/* ---------- 打印 ---------- */
@media print {
  @page { size: A4; margin: 0; }
  html, body { background: #fff !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .topbar, .side, .footer, .toast, .mobile-tabbar, .preview-tip, .beian-footer { display: none !important; }
  .panel .form-col, .preview-tip { display: none !important; }
  .layout, .main { display: block !important; padding: 0 !important; margin: 0 !important; background: #fff !important; }
  .panel { display: none !important; }
  #panel-form { display: block !important; }
  .preview-col { display: block !important; background: #fff !important; padding: 0 !important; }
  .preview-sheet {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
  }
  .pv-sheet { display: none !important; }
  #print-area {
    display: block !important;
    width: 210mm;
    margin: 0 auto;
    padding: 0;
  }
  .receipt-copy {
    width: 210mm;
    min-height: 297mm;
    padding: 6mm 9mm;
    box-sizing: border-box;
    page-break-after: always;
    margin: 0 auto;
    background: #fff !important;
  }
  .receipt-copy:last-child { page-break-after: auto; }
}
