@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --ink: #14211d;
  --muted: #697772;
  --paper: #f4f3ed;
  --card: #fffefa;
  --line: #dedfd8;
  --forest: #163c31;
  --forest-2: #245847;
  --mint: #dce9df;
  --lime: #d7ed73;
  --orange: #ec7e4d;
  --red: #c75243;
  --blue: #477f91;
  --shadow: 0 16px 44px rgba(30, 49, 42, .08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", "Noto Sans SC", sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.shell { min-height: 100vh; }
.topbar { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 32px; color: white; background: var(--forest); position: sticky; top: 0; z-index: 30; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--lime); color: var(--forest); font-size: 22px; }
.brand small { display: block; color: #a9bdb5; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.top-tabs { display: flex; gap: 5px; padding: 5px; border-radius: 12px; background: rgba(255,255,255,.08); }
.top-tab { padding: 9px 16px; border: 0; border-radius: 9px; color: #c6d3ce; background: transparent; }
.top-tab.active { color: var(--forest); background: var(--lime); font-weight: 700; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: white; background: rgba(255,255,255,.06); }
.badge-dot { position: absolute; right: -5px; top: -5px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 10px; color: white; background: var(--orange); font-size: 11px; font-weight: 700; }
.avatar { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: #ead5b8; font-weight: 700; }

.admin-layout { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 70px); }
.sidebar { padding: 22px 14px; background: #ecece5; border-right: 1px solid var(--line); }
.nav-group-title { padding: 8px 13px; color: #949c98; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 11px; margin: 3px 0; padding: 12px 13px; border: 0; border-radius: 12px; color: #53615c; background: transparent; text-align: left; }
.nav-item:hover { background: rgba(255,255,255,.6); }
.nav-item.active { color: white; background: var(--forest); box-shadow: 0 8px 20px rgba(22,60,49,.18); }
.nav-icon { width: 20px; text-align: center; font-size: 16px; }
.sidebar-card { margin: 28px 5px 0; padding: 16px; border-radius: 15px; color: white; background: linear-gradient(145deg, var(--forest-2), var(--forest)); }
.sidebar-card strong { display: block; margin-bottom: 5px; }
.sidebar-card p { margin: 0 0 13px; color: #bbccc6; font-size: 12px; line-height: 1.5; }
.sidebar-card button { width: 100%; padding: 9px; border: 0; border-radius: 9px; color: var(--forest); background: var(--lime); font-weight: 700; }
.main { min-width: 0; padding: 30px 34px 60px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-head h1 { margin: 0 0 6px; font-family: Georgia, "Noto Serif SC", serif; font-size: 30px; font-weight: 500; }
.page-head p { margin: 0; color: var(--muted); font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--card); font-weight: 600; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(20,33,29,.08); }
.btn.primary { color: white; border-color: var(--forest); background: var(--forest); }
.btn.accent { color: var(--forest); border-color: var(--lime); background: var(--lime); }
.btn.danger { color: var(--red); border-color: #efcbc5; background: #fff7f5; }
.btn.small { padding: 7px 10px; border-radius: 8px; font-size: 12px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat-card { position: relative; overflow: hidden; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.stat-card.dark { color: white; border-color: var(--forest); background: var(--forest); }
.stat-label { color: var(--muted); font-size: 13px; }
.dark .stat-label { color: #b5c8c0; }
.stat-value { margin: 12px 0 8px; font-family: Georgia, serif; font-size: 30px; }
.stat-foot { color: var(--muted); font-size: 12px; }
.dark .stat-foot { color: #c1d0ca; }
.delta { color: #41815b; font-weight: 700; }
.dark .delta { color: var(--lime); }
.stat-icon { position: absolute; right: 17px; top: 17px; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: var(--forest); background: var(--mint); }

.grid-2 { display: grid; grid-template-columns: 1.45fr 1fr; gap: 18px; margin-bottom: 20px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-bottom: 1px solid #e8e8e2; }
.panel-head h2 { margin: 0; font-size: 16px; }
.panel-body { padding: 20px; }
.legend { display: flex; gap: 15px; color: var(--muted); font-size: 11px; }
.legend span::before { content: ''; width: 7px; height: 7px; display: inline-block; margin-right: 5px; border-radius: 50%; background: var(--forest); }
.legend span:nth-child(2)::before { background: var(--lime); }
.chart { height: 205px; display: flex; align-items: flex-end; gap: 12px; padding: 15px 2px 0; }
.bar-group { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; border-bottom: 1px solid var(--line); position: relative; }
.bar { width: 10px; min-height: 3px; border-radius: 4px 4px 0 0; background: var(--forest); }
.bar.alt { background: var(--lime); }
.bar-label { position: absolute; bottom: -22px; color: var(--muted); font-size: 10px; }
.donut-wrap { display: flex; align-items: center; gap: 24px; }
.donut { width: 142px; height: 142px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--forest) 0 56%, var(--lime) 56% 76%, var(--orange) 76% 89%, #d8ddd9 89%); }
.donut::before { content: ''; width: 91px; height: 91px; border-radius: 50%; background: var(--card); }
.donut-center { position: absolute; text-align: center; }
.donut-center strong { display: block; font-size: 23px; }
.donut-center small { color: var(--muted); }
.donut-box { position: relative; display: grid; place-items: center; }
.status-list { flex: 1; display: grid; gap: 13px; }
.status-line { display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 9px; font-size: 12px; }
.status-line i { width: 8px; height: 8px; border-radius: 50%; background: var(--forest); }
.status-line:nth-child(2) i { background: var(--lime); }
.status-line:nth-child(3) i { background: var(--orange); }
.status-line:nth-child(4) i { background: #d8ddd9; }
.status-line span { color: var(--muted); }
.screen-board { display: grid; gap: 18px; }
.screen-main { padding: 0; overflow: hidden; }
.screen-main-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid #e8e8e2; }
.screen-main-head h2 { margin: 0 0 6px; font-size: 20px; }
.screen-main-head p { margin: 0; color: var(--muted); font-size: 13px; }
.screen-clock { padding: 10px 14px; border-radius: 12px; color: var(--forest); background: #f4f8f2; font-size: 14px; font-weight: 700; white-space: nowrap; }
.screen-main-body { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; padding: 22px 24px 24px; align-items: start; }
.screen-donut-wrap { display: flex; align-items: center; gap: 30px; }
.screen-donut-box { flex: 0 0 auto; }
.screen-donut-box .donut { width: 210px; height: 210px; }
.screen-donut-box .donut::before { width: 132px; height: 132px; }
.screen-donut-box .donut-center strong { font-size: 36px; }
.screen-donut-box .donut-center small { font-size: 13px; }
.screen-status-list { flex: 1; display: grid; gap: 14px; }
.screen-status-item { display: grid; grid-template-columns: 10px 1fr auto auto; gap: 12px; align-items: center; padding: 15px 16px; border: 1px solid #e7eee8; border-radius: 14px; background: #f8faf6; }
.screen-status-item i { width: 10px; height: 10px; border-radius: 50%; }
.screen-status-item span { color: var(--muted); font-weight: 600; }
.screen-status-item b { font-size: 18px; }
.screen-status-item small { color: var(--muted); font-weight: 700; }
.screen-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.screen-metrics .stat-card { min-height: 136px; }
.screen-board:fullscreen { min-height: 100vh; padding: 22px; box-sizing: border-box; overflow: auto; background: linear-gradient(180deg,#eef5f0 0,#e6efe9 100%); }
.screen-board:fullscreen .screen-main { min-height: calc(100vh - 44px); }
.screen-board:fullscreen .screen-main-head { padding-top: 18px; }
.screen-board:fullscreen .return-alert-panel { margin-bottom: 0; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.filters { display: flex; flex: 1; flex-wrap: wrap; gap: 9px; }
.search { position: relative; min-width: 230px; flex: 1; max-width: 360px; }
.search input { width: 100%; padding: 10px 12px 10px 37px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); outline: none; }
.search::before { content: '⌕'; position: absolute; left: 13px; top: 7px; color: var(--muted); font-size: 20px; }
.select { padding: 10px 34px 10px 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--card); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 12px 14px; color: #7a8581; background: #f3f3ed; text-align: left; font-size: 11px; letter-spacing: .04em; white-space: nowrap; }
td { padding: 14px; border-top: 1px solid #ecece6; vertical-align: middle; }
tbody tr:hover { background: #fafaf6; }
.code { font-family: Consolas, monospace; font-size: 12px; font-weight: 700; }
.machine-cell { display: flex; align-items: center; gap: 11px; min-width: 180px; }
.machine-thumb { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; color: var(--forest); background: var(--mint); font-size: 22px; }
.machine-photo { width: 100%; aspect-ratio: 4/3; overflow: hidden; display: grid; place-items: center; border: 1px dashed #bdc9c2; border-radius: 17px; color: var(--muted); background: linear-gradient(145deg,#edf1ec,#dce5de); }
.machine-photo img { width: 100%; height: 100%; object-fit: cover; }
.machine-photo .placeholder { text-align: center; }
.machine-photo .placeholder b { display: block; margin-bottom: 7px; color: var(--forest); font-size: 72px; font-weight: 400; }
.qr-box { min-height: 180px; display: grid; place-items: center; padding: 14px; border-radius: 15px; background: white; border: 1px solid var(--line); }
.qr-box img, .qr-box canvas { width: 160px !important; height: 160px !important; image-rendering: pixelated; }
.machine-profile { display: grid; grid-template-columns: minmax(220px,.8fr) minmax(280px,1.2fr); gap: 24px; }
.machine-meta { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.meta-item { padding: 12px; border-radius: 11px; background: #f0f1eb; }
.meta-item small { display: block; margin-bottom: 4px; color: var(--muted); }
.public-card { width: min(960px,calc(100% - 32px)); margin: 38px auto; }
.public-brand { padding: 22px; color: white; background: var(--forest); border-radius: 20px 20px 0 0; }
.public-brand h1 { margin: 0; font-family: Georgia,"Noto Serif SC",serif; font-weight: 500; }
.public-body { padding: 26px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; background: var(--card); box-shadow: var(--shadow); }
.machine-cell strong { display: block; }
.machine-cell small { color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 15px; color: #316a4a; background: #e2f1e5; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.rented, .pill.pending { color: #8e6621; background: #f7edd0; }
.pill.repair, .pill.overdue { color: var(--red); background: #f8e2de; }
.pill.sold { color: #69706f; background: #e8e9e8; }
.pill.ready { color: #386a77; background: #deedf1; }
.pill.review, .pill.return_requested { color:#7b5d20;background:#f7eccb; }
.pill.picking, .pill.awaiting_inbound { color:#356d7a;background:#deedf1; }
.pill.delivering, .pill.pickup { color:#79502a;background:#f6e4d1; }
.pill.unsettled { color:#6b7470;background:#e9ecea; }
.pill.unpaid { color:var(--red);background:#f8e2de; }
.pill.partial { color:#8e6621;background:#f7edd0; }
.pill.paid { color:#316a4a;background:#e2f1e5; }
.money-due { color:var(--red);font-weight:700; }
.payment-list { display:grid;gap:10px;margin-top:14px; }
.payment-item { display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border-radius:11px;background:#f1f2ec; }
.pay-options { display:grid;grid-template-columns:repeat(4,1fr);gap:9px; }
.pay-option { position:relative;padding:12px 8px;border:1px solid var(--line);border-radius:11px;background:white;text-align:center; }
.pay-option input { position:absolute;opacity:0; }
.pay-option:has(input:checked) { color:var(--forest);border-color:var(--forest);background:var(--mint);font-weight:700; }
.workflow-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px; }
.work-card { padding:17px;border:1px solid var(--line);border-radius:15px;background:var(--card); }
.work-card b { display:block;margin:7px 0;font-size:24px;font-family:Georgia,serif; }
.work-card small { color:var(--muted); }
.source-tag { display:inline-flex;padding:3px 7px;border-radius:7px;color:var(--forest);background:var(--mint);font-size:10px;font-weight:700; }
.document { padding:18px 20px;color:#111;background:white; }
.doc-title { padding-bottom:8px;border-bottom:1px solid #111;text-align:center; }
.doc-title h2 { margin:0 0 3px;font-size:18px; }
.doc-info { display:grid;grid-template-columns:repeat(2,1fr);gap:6px 16px;margin:12px 0; }
.doc-table { width:100%;margin:10px 0;border:1px solid #222; }
.doc-table td,.doc-table th { border:1px solid #222;padding:5px 6px; }
.signature-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px; }
.signature-line { min-height:46px;padding-top:24px;border-bottom:1px solid #222;text-align:center; }
.empty { padding: 55px 20px; color: var(--muted); text-align: center; }

.store { min-height: calc(100vh - 70px); }
.store-hero { padding: 58px max(32px, calc((100vw - 1180px)/2)); color: white; background: radial-gradient(circle at 78% 30%, #386c5a 0, transparent 31%), var(--forest); }
.hero-inner { display: grid; grid-template-columns: 1.3fr .8fr; align-items: center; gap: 50px; }
.eyebrow { display: inline-block; margin-bottom: 13px; color: var(--lime); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.store-hero h1 { max-width: 650px; margin: 0 0 18px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(38px, 5vw, 62px); font-weight: 400; line-height: 1.08; }
.store-hero p { max-width: 580px; margin: 0 0 26px; color: #c4d3ce; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; }
.hero-machine { min-height: 260px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 32px; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); font-size: 120px; transform: rotate(-3deg); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1180px; margin: 0 auto; padding: 20px 32px; border-bottom: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--muted); font-size: 13px; }
.trust-item b { color: var(--forest); font-size: 18px; }
.catalog { max-width: 1180px; margin: 0 auto; padding: 50px 32px 70px; }
.section-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.section-title h2 { margin: 0 0 5px; font-family: Georgia, "Noto Serif SC", serif; font-size: 32px; font-weight: 400; }
.section-title p { margin: 0; color: var(--muted); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--card); transition: .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-visual { position: relative; height: 190px; display: grid; place-items: center; background: linear-gradient(145deg, #e8ede7, #d7e4dc); font-size: 80px; }
.product-visual .pill { position: absolute; left: 14px; top: 14px; }
.product-body { padding: 18px; }
.product-type { color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.product-card h3 { margin: 7px 0 6px; font-size: 18px; }
.product-desc { min-height: 38px; margin: 0 0 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.price-row { display: flex; align-items: end; justify-content: space-between; margin-top: 13px; }
.price strong { font-family: Georgia, serif; font-size: 23px; }
.price small { color: var(--muted); }
.card-actions { display: flex; gap: 7px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(8,20,16,.65); backdrop-filter: blur(4px); }
.modal { width: min(680px, 100%); max-height: 90vh; overflow: auto; border-radius: 22px; background: var(--card); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.modal.wide { width: min(900px, 100%); }
.modal.document-modal { width: min(241mm, calc(100vw - 32px)); max-height: 92vh; }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); background: var(--card); }
.modal-head h2 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-weight: 500; }
.close { width: 36px; height: 36px; border: 0; border-radius: 10px; background: #eeeeE8; font-size: 20px; }
.modal-body { padding: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { font-size: 12px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(36,88,71,.1); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.summary-box { margin-top: 18px; padding: 16px; border-radius: 13px; background: #eff1ea; }
.summary-line { display: flex; justify-content: space-between; margin: 7px 0; }
.summary-line.total { padding-top: 10px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.price-summary { border:1px solid #d9ddd5;background:#f5f6ef; }
.price-summary .grand-total { color:var(--forest);font-size:21px; }
.price-summary .sale-total { color:var(--orange); }
.hidden { display:none !important; }
.timeline { display: grid; gap: 0; }
.timeline-item { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 11px; padding: 0 0 20px; }
.timeline-item::before { content: ''; position: absolute; left: 7px; top: 15px; bottom: 0; width: 1px; background: var(--line); }
.timeline-item:last-child::before { display: none; }
.timeline-dot { width: 15px; height: 15px; margin-top: 2px; border: 3px solid var(--card); border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.timeline-item p { margin: 0; font-size: 13px; }
.timeline-item small { color: var(--muted); }
.toast-root { position: fixed; right: 24px; bottom: 24px; z-index: 100; display: grid; gap: 10px; }
.toast { min-width: 280px; padding: 14px 16px; border-radius: 12px; color: white; background: var(--forest); box-shadow: 0 14px 35px rgba(0,0,0,.18); animation: toast-in .25s ease; }
.warning-setting { display:flex; align-items:center; gap:8px; padding:7px 10px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--muted); font-size:12px; }
.warning-setting select { border:0; outline:0; background:transparent; color:var(--ink); font-weight:700; }
.return-alert-panel { margin-bottom:20px; padding:18px 20px; border:1px solid #efc66b; border-radius:16px; background:linear-gradient(135deg,#fff9e8,#fff3cf); }
.return-alert-panel.clear { border-color:#b9d9ca; background:#edf8f2; }
.return-alert-panel.clear div { display:grid; gap:4px; }
.return-alert-panel small { display:block; margin-top:4px; color:var(--muted); font-weight:400; }
.return-alert-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.return-alert-list { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin-top:14px; }
.return-alert-list button { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 13px; border:1px solid #ecd99f; border-radius:11px; background:#ffffffb8; text-align:left; cursor:pointer; }
.return-alert-list button > span { min-width:0; }
.return-alert-list button b,.return-alert-list button small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.return-alert-list button strong { flex:0 0 auto; color:#9a6700; text-align:right; }
.return-alert-list button strong.overdue { color:#b42318; }
.return-warning { display:block; width:max-content; margin-top:5px; padding:3px 7px; border-radius:20px; color:#8a5a00; background:#fff0bd; font-size:11px; font-weight:700; }
.return-warning.due,.return-warning.overdue { color:#b42318; background:#fee4e2; }
.warning-row.overdue { background:#fff7f6; }
@keyframes toast-in { from { transform: translateY(15px); opacity: 0; } }

@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-machine { display: none; }
  .screen-main-body { grid-template-columns: 1fr; }
  .screen-donut-wrap { justify-content: center; }
}
@media (max-width: 720px) {
  .topbar { padding: 0 15px; }
  .brand small, .avatar, .top-actions .icon-btn:first-child { display: none; }
  .top-tab { padding: 8px 10px; font-size: 12px; }
  .admin-layout { grid-template-columns: 1fr; }
  .sidebar { position: sticky; top: 70px; z-index: 20; display: flex; gap: 5px; overflow-x: auto; padding: 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-group-title, .sidebar-card { display: none; }
  .nav-item { width: auto; flex: 0 0 auto; padding: 9px 11px; }
  .main { padding: 22px 15px 50px; }
  .page-head { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .search { max-width: none; }
  .store-hero { padding: 42px 20px; }
  .catalog { padding: 35px 15px 60px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 18px 12px; }
  .trust-item { font-size: 11px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .machine-profile { grid-template-columns: 1fr; }
  .machine-meta { grid-template-columns: 1fr 1fr; }
  .workflow-grid { grid-template-columns:repeat(2,1fr); }
  .signature-grid,.doc-info { grid-template-columns:1fr; }
  .pay-options { grid-template-columns:repeat(2,1fr); }
  .return-alert-list { grid-template-columns:1fr; }
  .return-alert-head { align-items:flex-start; }
  .screen-main-head, .screen-main-body { padding-left: 16px; padding-right: 16px; }
  .screen-status-list { gap: 10px; }
  .screen-status-item { grid-template-columns: 10px 1fr; }
  .screen-status-item b, .screen-status-item small { justify-self: end; }
  .screen-metrics { grid-template-columns: 1fr; }
  .screen-donut-wrap { flex-direction: column; }
  .screen-donut-box .donut { width: 180px; height: 180px; }
  .screen-donut-box .donut::before { width: 112px; height: 112px; }
  .screen-donut-box .donut-center strong { font-size: 30px; }
}

@media print {
  @page { size: 241mm 140mm; margin: 6mm 8mm; }
  html, body { width: 241mm; margin: 0; padding: 0; }
  body * { visibility: hidden; }
  .modal, .modal * { visibility: visible; }
  .modal-backdrop { position: absolute; inset: 0; padding: 0; background: white; }
  .modal { width: 100%; max-height: none; border-radius: 0; box-shadow: none; }
  .modal-head { display: none !important; }
  .modal-body { padding: 0; }
  .document-modal { width: 100%; max-height: none; }
  .document-modal .document { padding: 0; }
  .modal-head .close, .form-actions, .photo-upload { display: none !important; }
  .doc-title h2 { font-size: 16px; }
  .doc-info { gap: 4px 12px; margin: 8px 0; }
  .doc-table td,.doc-table th { padding: 4px 5px; font-size: 10.5px; }
  .signature-grid { gap: 10px; margin-top: 14px; }
  .signature-line { min-height: 42px; padding-top: 22px; font-size: 10.5px; }
}

/* 联网登录与账号状态 */
.auth-screen { min-height:100vh; display:grid; place-items:center; padding:24px; background:radial-gradient(circle at top right,#315f50 0,transparent 34%),#10251f; }
.auth-card { width:min(420px,100%); background:#fff; border-radius:24px; padding:38px; box-shadow:0 30px 80px #07140f66; }
.auth-card .brand-mark { margin-bottom:22px; }
.auth-card h1 { font-family:var(--serif); font-size:28px; margin:0 0 10px; }
.auth-card > p { color:var(--muted); line-height:1.7; margin:0 0 26px; }
.auth-card .field { margin-bottom:16px; }
.auth-error { min-height:22px; color:#b42318; font-size:13px; margin-bottom:10px; }
.online-user { display:flex; align-items:center; gap:6px; color:#d5e4df; font-size:12px; white-space:nowrap; }
.online-user i { width:8px; height:8px; border-radius:50%; background:#c8ef55; box-shadow:0 0 0 3px #c8ef5530; }
@media (max-width:760px) { .online-user { display:none; } .auth-card { padding:28px; } }

/* 0.3.1 全局视觉升级：统一字体、色彩、层级与交互 */
:root {
  --ink: #17231f;
  --muted: #63736d;
  --paper: #f5f7f4;
  --card: #ffffff;
  --line: #dfe7e2;
  --forest: #123f34;
  --forest-2: #206451;
  --mint: #e3f1eb;
  --lime: #cce86a;
  --orange: #e77b48;
  --red: #bd493f;
  --blue: #397b91;
  --shadow: 0 8px 28px rgba(25, 57, 46, .07);
  --shadow-lg: 0 22px 55px rgba(20, 52, 41, .13);
  --radius: 16px;
  --sans: "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "PingFang SC", Arial, sans-serif;
  --serif: "STZhongsong", "SimSun", Georgia, serif;
}
body { min-width: 320px; background: radial-gradient(circle at 85% 3%, #e9f1ec 0, transparent 24%), var(--paper); font-family: var(--sans); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: var(--sans); }
button, .btn, .nav-item, .product-card, .icon-btn { transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(32,100,81,.18); outline-offset: 2px; }

.topbar { height: 72px; padding: 0 clamp(18px,3vw,38px); background: linear-gradient(115deg,#0c352c,#185545); box-shadow: 0 4px 22px rgba(10,42,34,.2); }
.brand { font-size: 16px; letter-spacing: .03em; }
.brand-mark { width: 40px; height: 40px; border-radius: 13px; background: linear-gradient(145deg,#dff28b,#bfdf55); box-shadow: inset 0 1px #fff9,0 5px 15px #061c1640; font-family: var(--serif); font-size: 23px; }
.brand small { margin-top: 1px; color: #b9cec6; font-size: 10px; }
.top-tabs { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.07); }
.top-tab { min-height: 38px; color: #d2dfda; font-size: 13px; }
.top-tab:hover { color: #fff; background: rgba(255,255,255,.08); }
.top-tab.active { color: #153c32; background: #d5eb7d; box-shadow: 0 3px 10px #061c162e; }
.icon-btn:hover { border-color: #d5eb7d; background: rgba(213,235,125,.14); transform: translateY(-1px); }
.badge-dot { border: 2px solid var(--forest); background: #ed754b; }

.admin-layout { grid-template-columns: 238px minmax(0,1fr); min-height: calc(100vh - 72px); }
.sidebar { padding: 25px 15px; border-color: #dce5df; background: rgba(238,243,239,.88); backdrop-filter: blur(12px); }
.nav-group-title { padding: 7px 14px 10px; color: #82928c; font-size: 11px; }
.nav-item { min-height: 45px; gap: 12px; padding: 11px 14px; border: 1px solid transparent; color: #53645e; font-size: 14px; font-weight: 500; }
.nav-item:hover { color: var(--forest); border-color: #dbe6df; background: #ffffffc7; }
.nav-item.active { border-color: #194b3e; background: linear-gradient(135deg,#164a3d,#10382f); box-shadow: 0 9px 22px rgba(18,63,52,.18); }
.nav-icon { font-size: 17px; }
.sidebar-card { padding: 18px; background: linear-gradient(145deg,#286b58,#123f34); box-shadow: 0 13px 28px rgba(18,63,52,.18); }
.sidebar-card p { color: #c9dbd4; font-size: 12px; }

.main { width: 100%; max-width: 1640px; margin: 0 auto; padding: 34px clamp(20px,3vw,42px) 68px; }
.page-head { align-items: center; margin-bottom: 26px; }
.page-head h1 { margin-bottom: 7px; font-family: var(--serif); font-size: clamp(27px,2.4vw,34px); font-weight: 700; letter-spacing: .02em; color: #15382f; }
.page-head p { color: #71817b; font-size: 13px; }
.actions { align-items: center; }
.btn { min-height: 40px; padding: 9px 15px; border-color: #d7e1db; border-radius: 10px; background: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 1px 2px rgba(18,63,52,.03); }
.btn:hover { border-color: #a9c3b8; box-shadow: 0 7px 18px rgba(18,63,52,.1); }
.btn.primary { border-color: #123f34; background: linear-gradient(135deg,#185342,#10392f); box-shadow: 0 6px 16px rgba(18,63,52,.17); }
.btn.primary:hover { background: linear-gradient(135deg,#206451,#16483c); }
.btn.accent { border-color: #bfdc57; background: #d8ed84; }
.btn.small { min-height: 32px; padding: 6px 10px; font-size: 12px; }

.stats-grid { gap: 18px; margin-bottom: 22px; }
.stat-card { min-height: 144px; padding: 21px; border-color: #e0e8e3; box-shadow: var(--shadow); }
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(25,57,46,.1); }
.stat-card.dark { background: linear-gradient(145deg,#174c3e,#0f352c); }
.stat-label { color: #6d7d77; font-size: 13px; font-weight: 600; }
.stat-value { margin: 13px 0 9px; font-family: var(--sans); font-size: 29px; font-weight: 700; letter-spacing: -.02em; }
.stat-foot { font-size: 11px; }
.stat-icon { width: 38px; height: 38px; border-radius: 12px; }

.grid-2 { gap: 20px; margin-bottom: 22px; }
.panel { overflow: hidden; border-color: #dfe8e2; box-shadow: var(--shadow); }
.panel-head { min-height: 61px; padding: 18px 21px; border-color: #e8eeea; }
.panel-head h2 { color: #244039; font-size: 16px; font-weight: 700; }
.panel-body { padding: 22px; }
.toolbar { margin-bottom: 17px; }
.search input, .select { min-height: 42px; border-color: #d9e3dd; background: rgba(255,255,255,.94); font-size: 13px; box-shadow: 0 2px 8px rgba(18,63,52,.03); }
.search input:focus, .select:focus { border-color: #76a391; box-shadow: 0 0 0 3px rgba(32,100,81,.09); }

table { font-size: 13px; }
th { padding: 13px 15px; color: #687a73; background: #f1f5f2; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
td { padding: 15px; border-color: #e9efeb; }
tbody tr { transition: background .15s ease; }
tbody tr:hover { background: #f7faf8; }
.code { color: #31594e; font-size: 12px; }
.machine-thumb { flex: 0 0 auto; border: 1px solid #d8e7df; background: linear-gradient(145deg,#edf7f2,#dcece4); }
.machine-cell strong { color: #203c34; font-size: 13px; }
.machine-cell small { margin-top: 2px; font-size: 11px; }
.pill { min-height: 24px; padding: 4px 9px; font-size: 10px; letter-spacing: .01em; }
.source-tag { margin-top: 4px; background: #e7f1ec; }
.workflow-grid { gap: 16px; }
.work-card { padding: 18px; border-color: #dfe8e2; box-shadow: 0 5px 18px rgba(25,57,46,.05); }
.work-card b { font-family: var(--sans); font-size: 27px; font-weight: 700; }

.store-hero { padding-top: 70px; padding-bottom: 70px; background: radial-gradient(circle at 82% 26%,#337562 0,transparent 29%),linear-gradient(120deg,#0c342b,#174e40); }
.store-hero h1 { font-family: var(--serif); font-weight: 700; line-height: 1.18; letter-spacing: .02em; }
.store-hero p { color: #d1e0da; font-size: 15px; }
.hero-machine { border-color: rgba(255,255,255,.16); background: linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.035)); box-shadow: inset 0 1px rgba(255,255,255,.1),0 25px 55px rgba(4,24,19,.22); }
.trust-row { background: rgba(255,255,255,.62); }
.trust-item { color: #5f716a; }
.catalog { padding-top: 56px; }
.section-title h2 { font-family: var(--serif); color: #15382f; font-weight: 700; }
.product-card { border-color: #dfe8e2; box-shadow: 0 5px 20px rgba(25,57,46,.045); }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 17px 38px rgba(25,57,46,.12); }
.product-visual { background: radial-gradient(circle at 70% 25%,#f2f8f4 0,transparent 28%),linear-gradient(145deg,#e8f1ec,#d6e6de); }
.product-body { padding: 20px; }
.product-card h3 { color: #1b3d34; font-size: 17px; }
.product-desc { color: #687973; font-size: 12px; line-height: 1.7; }
.price strong { color: #174c3e; font-family: var(--sans); font-weight: 700; }

.modal-backdrop { background: rgba(7,31,25,.68); backdrop-filter: blur(6px); }
.modal { border: 1px solid rgba(255,255,255,.75); background: #fcfdfc; box-shadow: var(--shadow-lg); }
.modal-head { padding: 19px 24px; border-color: #e4ebe7; background: rgba(252,253,252,.96); backdrop-filter: blur(12px); }
.modal-head h2 { color: #173c32; font-family: var(--serif); font-size: 22px; font-weight: 700; }
.close { color: #52665f; background: #edf2ef; }
.close:hover { color: #153c32; background: #e1ebe6; }
.modal-body { padding: 26px; }
.field { gap: 8px; }
.field label { color: #42584f; font-size: 12px; }
.field input, .field select, .field textarea { min-height: 43px; padding: 10px 12px; border-color: #d6e1da; background: #fff; font-size: 13px; }
.field textarea { line-height: 1.6; resize: vertical; }
.summary-box { background: #eff5f1; }
.price-summary { border-color: #d7e4dc; background: linear-gradient(145deg,#f7faf8,#edf4f0); }
.pay-option { min-height: 45px; border-color: #d8e2dc; }
.pay-option:has(input:checked) { border-color: #5d927e; background: #e6f1eb; box-shadow: inset 0 0 0 1px #5d927e; }
.toast { border: 1px solid rgba(255,255,255,.16); background: linear-gradient(135deg,#174f40,#10382f); box-shadow: 0 15px 38px rgba(11,47,38,.25); }

.return-alert-panel { border-color: #e6c36d; background: linear-gradient(135deg,#fffaf0,#fff2cf); box-shadow: 0 5px 18px rgba(151,101,0,.06); }
.return-alert-list button:hover { border-color: #d7b455; background: #fff; transform: translateY(-1px); }
.warning-setting { min-height: 40px; border-color: #d8e2dc; color: #60726b; box-shadow: 0 1px 3px rgba(18,63,52,.03); }
.model-search-field { padding:15px; border:1px solid #dbe6df; border-radius:13px; background:#f7faf8; }
.model-search-box { position:relative; margin-bottom:9px; }
.model-search-box input { padding-left:38px; background:#fff; }
.model-search-box span { position:absolute; left:13px; top:50%; color:#6d8078; font-size:20px; transform:translateY(-52%); pointer-events:none; }
.model-search-field select { background:#fff; font-weight:600; color:#24463c; }
.model-search-result { color:#71827b; font-size:11px; }
.model-search-result.no-result { color:var(--red); font-weight:700; }
.employee-layout { grid-template-columns:1.25fr 1fr; align-items:start; }
.role-list { display:grid; gap:12px; padding:16px; }
.role-card { padding:14px; border:1px solid #dfe8e2; border-radius:13px; background:#f8faf9; }
.role-card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.role-card-head small { display:block; margin-top:3px; color:var(--muted); font-size:10px; }
.permission-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:7px; }
.permission-grid label { display:flex; align-items:center; gap:7px; padding:8px; border-radius:8px; background:#fff; color:#435b52; font-size:12px; }
.permission-grid input { accent-color:var(--forest-2); }
.role-create-permissions { padding:12px; border:1px solid #dbe6df; border-radius:12px; background:#f7faf8; }
.pay-options.two { grid-template-columns:repeat(2,1fr); }
button:disabled { cursor:not-allowed; opacity:.55; transform:none !important; box-shadow:none !important; }
.shop-entry-label { display:block; padding:8px 14px; color:#e3eee9; font-size:13px; font-weight:700; }
.shop-qr-layout { display:grid; grid-template-columns:220px 1fr; gap:24px; align-items:center; }
.shop-url { padding:12px; border:1px solid #d8e4dc; border-radius:10px; background:#f1f6f3; overflow-wrap:anywhere; }
.auth-screen { background: radial-gradient(circle at 80% 15%,#347461 0,transparent 29%),linear-gradient(135deg,#0a3128,#123f34); }
.auth-card { border: 1px solid rgba(255,255,255,.65); box-shadow: 0 34px 90px rgba(4,28,22,.32); }
.auth-card h1 { color: #173c32; font-family: var(--serif); font-weight: 700; }

/* 后台经营总览与租售管理：提高信息层级，保持按钮和数据密度一致 */
.main:has(.page-head-dashboard) .page-head,
.main:has(.page-head-rentals) .page-head { margin-bottom: 22px; }
.main:has(.page-head-dashboard) .page-head .actions,
.main:has(.page-head-rentals) .page-head .actions { justify-content: flex-end; gap: 8px; }
.main:has(.page-head-dashboard) .stats-grid { gap: 16px; margin-bottom: 20px; }
.main:has(.page-head-dashboard) .stat-card { min-height: 138px; padding: 20px 21px; }
.main:has(.page-head-dashboard) .stat-value { margin: 11px 0 8px; font-size: clamp(27px, 2.1vw, 32px); line-height: 1.12; }
.main:has(.page-head-dashboard) .stat-foot { font-size: 12px; }
.main:has(.page-head-dashboard) .panel-head { min-height: 58px; padding: 16px 20px; }
.main:has(.page-head-dashboard) .panel-body { padding: 20px; }
.main:has(.page-head-dashboard) .panel:last-child table td { padding-top: 13px; padding-bottom: 13px; }

.main:has(.page-head-rentals) .warning-setting { flex: 0 0 auto; }
.main:has(.page-head-rentals) .page-head .actions > .btn,
.main:has(.page-head-rentals) .page-head .actions > .warning-setting { min-height: 42px; }
.main:has(.page-head-rentals) .return-alert-panel { margin-bottom: 16px; padding: 16px 18px; border-radius: 14px; }
.main:has(.page-head-rentals) .return-alert-head b { color: #654b16; font-size: 14px; }
.main:has(.page-head-rentals) .return-alert-list { gap: 10px; margin-top: 12px; }
.main:has(.page-head-rentals) .return-alert-list button { min-height: 54px; padding: 10px 12px; background: rgba(255,255,255,.78); }
.main:has(.page-head-rentals) .toolbar { align-items: center; padding: 11px 13px; margin-bottom: 12px; border: 1px solid #dce7e0; border-radius: 12px; background: #f5f9f6; }
.main:has(.page-head-rentals) .toolbar .filters { gap: 10px; }
.main:has(.page-head-rentals) .toolbar .search { min-width: min(420px, 100%); flex: 1 1 300px; }
.main:has(.page-head-rentals) .panel { border-radius: 14px; }
.main:has(.page-head-rentals) table { table-layout: fixed; min-width: 1080px; font-size: 12px; }
.main:has(.page-head-rentals) th { padding: 11px 10px; font-size: 10px; letter-spacing: .04em; white-space: nowrap; }
.main:has(.page-head-rentals) td { padding: 12px 10px; vertical-align: middle; line-height: 1.45; }
.main:has(.page-head-rentals) th:nth-child(1), .main:has(.page-head-rentals) td:nth-child(1) { width: 12%; }
.main:has(.page-head-rentals) th:nth-child(2), .main:has(.page-head-rentals) td:nth-child(2) { width: 11%; }
.main:has(.page-head-rentals) th:nth-child(3), .main:has(.page-head-rentals) td:nth-child(3) { width: 15%; }
.main:has(.page-head-rentals) th:nth-child(4), .main:has(.page-head-rentals) td:nth-child(4) { width: 12%; }
.main:has(.page-head-rentals) th:nth-child(5), .main:has(.page-head-rentals) td:nth-child(5) { width: 10%; }
.main:has(.page-head-rentals) th:nth-child(6), .main:has(.page-head-rentals) td:nth-child(6) { width: 10%; }
.main:has(.page-head-rentals) th:nth-child(7), .main:has(.page-head-rentals) td:nth-child(7) { width: 9%; }
.main:has(.page-head-rentals) th:nth-child(8), .main:has(.page-head-rentals) td:nth-child(8) { width: 9%; }
.main:has(.page-head-rentals) th:nth-child(9), .main:has(.page-head-rentals) td:nth-child(9) { width: 12%; }
.main:has(.page-head-rentals) td:nth-child(9) { white-space: normal; }
.main:has(.page-head-rentals) td:nth-child(9) .btn { margin: 2px 3px 2px 0; padding: 6px 8px; font-size: 11px; }
.main:has(.page-head-rentals) .machine-cell strong { font-size: 12px; }
.main:has(.page-head-rentals) .machine-cell small, .main:has(.page-head-rentals) td small { font-size: 10px; }
.main:has(.page-head-rentals) .pill { min-height: 22px; padding: 3px 7px; font-size: 10px; }

@media (max-width: 760px) {
  .main:has(.page-head-dashboard) .stat-card { min-height: 126px; padding: 17px; }
  .main:has(.page-head-rentals) .page-head .actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .main:has(.page-head-rentals) .warning-setting { justify-content: space-between; }
  .main:has(.page-head-rentals) .toolbar { align-items: stretch; }
  .main:has(.page-head-rentals) .toolbar .filters { flex-direction: column; }
  .main:has(.page-head-rentals) .toolbar .search { min-width: 0; }
}

@media (max-width: 1180px) {
  .admin-layout { grid-template-columns: 218px minmax(0,1fr); }
  .main { padding-left: 25px; padding-right: 25px; }
  td, th { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 720px) {
  body { font-size: 13px; }
  .topbar { height: 66px; gap: 10px; padding: 0 12px; }
  .brand { font-size: 14px; }
  .brand-mark { width: 36px; height: 36px; }
  .admin-layout { display:block; min-height: calc(100vh - 66px); }
  .sidebar { position:sticky; top:66px; z-index:20; display:flex; width:100%; gap:5px; overflow-x:auto; padding:8px; border-right:0; border-bottom:1px solid var(--line); background:rgba(238,243,239,.96); }
  .nav-group-title, .sidebar-card { display:none; }
  .nav-item { width:auto; min-height:39px; flex:0 0 auto; margin:0; padding:8px 11px; font-size:12px; }
  .nav-icon { width:16px; font-size:14px; }
  .main { padding: 24px 14px 52px; }
  .page-head { align-items: stretch; margin-bottom: 20px; }
  .page-head h1 { font-size: 27px; }
  .actions { width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .actions > * { flex: 1 1 auto; }
  .stat-card { min-height: 132px; }
  .panel { border-radius: 14px; }
  .modal-backdrop { padding: 10px; }
  .modal { max-height: 94vh; border-radius: 16px; }
  .modal-head, .modal-body { padding: 18px; }
  .store-hero { padding: 48px 20px; }
  .store-hero h1 { font-size: 36px; }
  .hero-inner > div { min-width:0; }
  .hero-actions { display:grid; grid-template-columns:1fr; }
  .hero-actions .btn { width:100%; }
  .top-tabs:has(.shop-entry-label) { display:none; }
  .top-actions { margin-left:auto; gap:6px; }
  .topbar:has(.shop-entry-label) .top-actions { position:absolute; right:12px; display:flex; }
  .top-actions .btn.small { min-width:auto; padding:7px 9px; font-size:11px; }
  .store { overflow-x:hidden; }
  .store-hero h1 { overflow-wrap:anywhere; }
  .shop-qr-layout { grid-template-columns:1fr; text-align:center; }
  .shop-qr-layout .qr-box { width:220px; margin:0 auto; }
}
