:root {
  color-scheme: dark;
  --ink: #e5f3ff;
  --muted: #8fb3c8;
  --line: rgba(63, 218, 255, .26);
  --panel: rgba(8, 22, 38, .78);
  --bg: #06111f;
  --brand: #28e0d2;
  --brand-dark: #12b9c8;
  --blue: #38bdf8;
  --green: #4ade80;
  --amber: #fbbf24;
  --red: #fb7185;
  --purple: #a78bfa;
  --slate: #93c5fd;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 10%, rgba(34, 211, 238, .18), transparent 28%),
    radial-gradient(circle at 82% 0%, rgba(124, 58, 237, .18), transparent 26%),
    linear-gradient(rgba(63, 218, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 218, 255, .045) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 42%, rgba(34, 211, 238, .08) 50%, transparent 58% 100%);
  mix-blend-mode: screen;
}

h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; letter-spacing: 0; }
h2 { font-size: 18px; }
h3 { font-size: 16px; margin-top: 18px; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  background: linear-gradient(120deg, rgba(5, 18, 34, .96), rgba(5, 42, 54, .92) 55%, rgba(15, 23, 42, .96));
  color: #fff;
  border-bottom: 1px solid rgba(45, 212, 255, .35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .34), inset 0 -1px 0 rgba(45, 212, 255, .20);
}
.topbar h1 { text-shadow: 0 0 18px rgba(34, 211, 238, .38); }
.topbar p { margin-top: 6px; color: #9ed9ea; }
.header-actions, .filters, .import-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mobile-url {
  border: 1px solid rgba(34, 211, 238, .28);
  border-radius: 6px;
  padding: 9px 12px;
  color: #b9f5ff;
  background: rgba(34, 211, 238, .08);
  font-size: 13px;
  white-space: nowrap;
}
.shell { padding: 22px 32px 40px; }

.metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.metric, .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
}
.metric { padding: 16px; position: relative; overflow: hidden; }
.metric::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -28px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  opacity: .22;
  background: currentColor;
  filter: blur(2px);
}
.metric span, .metric small { color: var(--muted); }
.metric strong { display: block; font-size: 28px; margin: 8px 0 4px; white-space: nowrap; text-shadow: 0 0 16px currentColor; }
.metric.blue { color: var(--blue); }
.metric.green { color: var(--green); }
.metric.amber { color: var(--amber); }
.metric.red { color: var(--red); }
.metric.slate { color: var(--slate); }
.metric.purple { color: var(--purple); }

.panel { padding: 18px; }
.import-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.import-panel p { margin-top: 6px; color: var(--muted); line-height: 1.7; }

.visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.hero-panel { min-height: 280px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.section-head span { color: var(--muted); font-size: 13px; }
.count-pill {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 4px 9px;
  border: 1px solid rgba(251, 191, 36, .35);
  border-radius: 999px;
  color: #fbbf24;
  background: rgba(251, 191, 36, .12);
  font-size: 12px;
  vertical-align: middle;
}
.danger-pill {
  border-color: rgba(255, 77, 94, .42);
  color: #ff4d5e;
  background: rgba(255, 77, 94, .14);
}

.grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.app-workspace {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.module-sidebar {
  position: sticky;
  top: 12px;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 22, 38, .78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255,255,255,.06);
}

.module-nav {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 14px;
  color: #b9f5ff;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.module-nav:hover,
.module-nav.active {
  border-color: rgba(34, 211, 238, .46);
  background: rgba(34, 211, 238, .12);
  box-shadow: 0 0 18px rgba(34, 211, 238, .12);
  color: #fff;
}

.workspace-content {
  min-width: 0;
}

.workspace-view {
  display: none;
}

.workspace-view.active {
  display: block;
}

.button {
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #14b8a6, #22d3ee);
  color: #04111f;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  box-shadow: 0 0 18px rgba(34, 211, 238, .24);
}
.button:hover { background: linear-gradient(135deg, #2dd4bf, #7dd3fc); }
.button.secondary { background: rgba(34, 211, 238, .12); color: #b9f5ff; border: 1px solid rgba(34, 211, 238, .28); }
.full { width: 100%; }

input, select, textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  background: rgba(3, 11, 22, .72);
  color: var(--ink);
  min-height: 40px;
}
input::placeholder { color: #6c93a9; }
textarea { resize: vertical; }
#searchInput { width: 260px; }

.station-list { display: grid; gap: 10px; margin-top: 14px; }
.station-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.station-card {
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(6, 18, 32, .72);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.station-card:hover { transform: translateY(-1px); box-shadow: 0 0 22px rgba(34,211,238,.18); border-color: rgba(34,211,238,.48); }
.station-card span { font-weight: 700; }
.station-card strong { float: right; color: var(--brand); }
.station-card small { display: block; clear: both; color: var(--muted); margin-top: 6px; line-height: 1.5; }

.load-chart { min-height: 232px; }
.load-console {
  display: grid;
  grid-template-columns: 190px minmax(180px, .8fr) minmax(260px, 1.2fr);
  gap: 18px;
  align-items: center;
  min-height: 232px;
}
.load-ring-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
}
.load-ring {
  width: 180px;
  height: 180px;
  transform: rotate(-90deg);
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, .35));
}
.ring-bg,
.ring-value {
  fill: none;
  stroke-width: 12;
}
.ring-bg { stroke: rgba(148, 163, 184, .15); }
.ring-value {
  stroke: url("#unused");
  stroke: #22d3ee;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, .8));
}
.ring-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.ring-center strong {
  font-size: 42px;
  line-height: 1;
  color: #e0fbff;
  text-shadow: 0 0 24px rgba(34,211,238,.7);
}
.ring-center span,
.ring-center em {
  display: block;
  color: var(--muted);
  font-style: normal;
  margin-top: 6px;
}
.ring-center em { color: #67e8f9; }
.status-orbit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.status-dot {
  display: grid;
  grid-template-columns: var(--dot) 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 8px;
  min-height: 42px;
  padding: 8px;
  border: 1px solid rgba(34, 211, 238, .18);
  border-radius: 8px;
  background: rgba(4, 14, 27, .42);
}
.status-dot i {
  grid-row: 1 / 3;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #22d3ee 30%, rgba(34,211,238,.18) 70%);
  box-shadow: 0 0 18px rgba(34,211,238,.45);
}
.status-dot strong {
  font-size: 18px;
  color: #e0fbff;
}
.status-dot span {
  color: var(--muted);
  font-size: 12px;
}
.status-3 i,
.status-4 i { background: radial-gradient(circle at 35% 30%, #fff, #fb7185 32%, rgba(251,113,133,.18) 72%); box-shadow: 0 0 18px rgba(251,113,133,.45); }
.status-5 i { background: radial-gradient(circle at 35% 30%, #fff, #60a5fa 32%, rgba(96,165,250,.18) 72%); }
.status-6 i { background: radial-gradient(circle at 35% 30%, #fff, #f9a8d4 32%, rgba(249,168,212,.18) 72%); }
.status-7 i { background: radial-gradient(circle at 35% 30%, #fff, #4ade80 32%, rgba(74,222,128,.18) 72%); }
.station-bars {
  display: grid;
  grid-template-columns: repeat(19, minmax(42px, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 205px;
  padding-top: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.station-bar {
  display: grid;
  grid-template-rows: 150px auto 34px;
  justify-items: center;
  gap: 5px;
  min-width: 0;
}
.bar-tower {
  position: relative;
  width: 22px;
  height: 150px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(148,163,184,.12), rgba(15,23,42,.72));
  box-shadow: inset 0 0 12px rgba(0,0,0,.48);
  overflow: hidden;
}
.bar-tower i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #a78bfa, #38bdf8 45%, #2dd4bf);
  box-shadow: 0 0 18px rgba(34,211,238,.65);
}
.station-bar strong {
  color: #e0fbff;
  font-size: 16px;
}
.station-bar span {
  max-width: 58px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  line-height: 1.2;
  word-break: break-all;
}
.bar { height: 11px; border-radius: 999px; background: rgba(148, 163, 184, .16); overflow: hidden; box-shadow: inset 0 0 10px rgba(0,0,0,.35); }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #20f2cf, #38bdf8, #8b5cf6); box-shadow: 0 0 18px rgba(34, 211, 238, .55); }
.task-board { display: grid; gap: 12px; }
.task-card {
  border: 1px solid var(--line);
  background: rgba(4, 14, 27, .68);
  border-radius: 8px;
  padding: 12px;
}
.task-card div { display: flex; justify-content: space-between; gap: 10px; }
.task-card span, .task-card small { color: var(--muted); }
.task-card p { margin: 9px 0; font-weight: 700; }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 920px; background: rgba(5, 15, 29, .66); }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { background: rgba(14, 40, 63, .92); font-size: 13px; color: #b8eeff; }
td small { display: block; color: var(--muted); margin-top: 4px; }
.qr { width: 54px; height: 54px; }
.qr-actions,
.qr-label-code {
  display: grid;
  gap: 6px;
  justify-items: center;
}

.qr-drawing-no,
.qr-label-code strong {
  max-width: 120px;
  color: #dffbff;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
  word-break: break-all;
}

.danger-button {
  border: 1px solid rgba(251, 113, 133, .46);
  border-radius: 6px;
  background: rgba(251, 113, 133, .12);
  color: #fecdd3;
  padding: 5px 8px;
  font-size: 12px;
  cursor: pointer;
}

.danger-button:hover {
  background: rgba(251, 113, 133, .22);
  box-shadow: 0 0 16px rgba(251, 113, 133, .18);
}
.empty { text-align: center; color: var(--muted); padding: 30px; }
.link-button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--brand-dark);
  font-weight: 700;
  cursor: pointer;
}
.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(148, 163, 184, .16);
}
.badge.working { color: #7dd3fc; background: rgba(14, 165, 233, .16); }
.badge.next { color: #facc15; background: rgba(250, 204, 21, .16); }
.badge.scrap { color: #ff4d5e; background: rgba(255, 77, 94, .18); }
.badge.trial { color: #38bdf8; background: rgba(56, 189, 248, .18); }
.badge.weld { color: #f9a8d4; background: rgba(249, 168, 212, .20); }
.badge.danger { color: var(--red); background: rgba(244, 63, 94, .16); }
.badge.done { color: var(--green); background: rgba(34, 197, 94, .16); }
.overdue-date {
  color: #ff4d5e;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(255, 77, 94, .35);
}
.result { color: var(--brand-dark); min-height: 22px; margin-top: 8px; }

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.report-panel { margin-bottom: 16px; }
.module-card { min-height: 210px; }
.module-card h2 { margin-bottom: 12px; }
.outsourcing-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 10px;
  margin: 12px 0;
}
.outsourcing-import {
  margin: 8px 0 12px;
}
.outsourcing-group {
  margin-top: 16px;
}
.outsourcing-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.outsourcing-group-head h3 {
  margin: 0;
  color: #dffbff;
}
.outsourcing-group-head span {
  color: var(--muted);
}
.row-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.mini-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mini-row:last-child { border-bottom: 0; }
.mini-row span { font-weight: 700; }
.mini-row strong { color: var(--brand-dark); }
.mini-row small { grid-column: 1 / -1; color: var(--muted); }
.mini-row.risk strong { color: var(--red); }

dialog {
  border: 0;
  border-radius: 8px;
  width: min(760px, calc(100vw - 28px));
  padding: 0;
  background: #071523;
  color: var(--ink);
  box-shadow: 0 18px 60px rgba(0,0,0,.55), 0 0 34px rgba(34,211,238,.18);
}
dialog::backdrop { background: rgba(15, 23, 42, .45); }
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.icon-button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(8,22,38,.9);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}
#partDetail { padding: 18px; }
.detail-grid, .part-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.detail-grid div, .part-info div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: rgba(4, 14, 27, .72);
}
.detail-grid span, .part-info span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.qr-row { display: flex; align-items: center; gap: 18px; margin: 18px 0; }
.qr-row img { width: 160px; height: 160px; border: 1px solid var(--line); }
.timeline, .history { display: grid; gap: 10px; margin-top: 10px; }
.timeline div, .history-item {
  border-left: 4px solid var(--brand);
  background: rgba(4, 14, 27, .72);
  padding: 10px 12px;
}
.timeline span, .timeline small, .history-item span, .history-item small { display: block; color: var(--muted); margin-top: 4px; }

.scan-page { background: var(--bg); }
.scan-shell {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding: 18px;
}
.scan-card {
  width: min(620px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.scan-card h1 { color: var(--brand-dark); margin-bottom: 14px; }
.log-form { display: grid; gap: 12px; margin-top: 16px; }
.log-form label { display: grid; gap: 6px; font-weight: 700; }
.operator-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.small-button {
  min-height: 40px;
  padding: 8px 10px;
  white-space: nowrap;
}
.operator-hint {
  color: var(--muted);
  font-weight: 400;
}
.scan-actions {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 10px;
}
.scan-actions .button {
  min-height: 52px;
  font-size: 17px;
}
.finish-button {
  background: linear-gradient(135deg, #22c55e, #22d3ee);
}

@media (max-width: 1200px) {
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .load-console { grid-template-columns: 180px 1fr; }
  .station-bars { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .topbar, .section-head, .import-panel { display: grid; }
  .shell { padding: 14px; }
  .metrics, .visual-grid, .grid, .module-grid, .app-workspace { grid-template-columns: 1fr; }
  .module-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .module-nav { text-align: center; padding: 10px; }
  .load-console { grid-template-columns: 1fr; }
  .station-bars { grid-template-columns: repeat(19, minmax(42px, 1fr)); }
  .operator-row { grid-template-columns: 1fr; }
  .outsourcing-form { grid-template-columns: 1fr; }
  #searchInput { width: 100%; }
  .filters { display: grid; grid-template-columns: 1fr; width: 100%; }
  .detail-grid, .part-info { grid-template-columns: 1fr; }
}

.label-page {
  background: #071523;
  color: var(--ink);
}

.label-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 18, 34, .96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.label-toolbar p {
  margin-top: 6px;
  color: var(--muted);
}

.label-sheet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--label-preview-width, 260px), max-content));
  gap: 14px;
  padding: 20px;
  align-items: start;
}

.qr-label {
  display: grid;
  grid-template-columns: var(--qr-preview-size, 92px) 1fr;
  gap: 8px;
  width: var(--label-preview-width, 260px);
  min-height: var(--label-preview-height, 118px);
  padding: 8px;
  border: 1px solid rgba(34, 211, 238, .42);
  border-radius: 4px;
  background: rgba(8, 22, 38, .86);
  box-shadow: 0 0 20px rgba(34, 211, 238, .10);
  break-inside: avoid;
}

.qr-label img {
  width: var(--qr-preview-size, 92px);
  height: var(--qr-preview-size, 92px);
  background: #fff;
  border-radius: 4px;
}

.qr-label h2 {
  font-size: var(--label-title-size, 15px);
  margin-bottom: 5px;
  color: #dffbff;
  line-height: 1.15;
  word-break: break-all;
}

.qr-label p {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 4px;
  margin: 2px 0;
  font-size: var(--label-text-size, 11px);
  color: #c9e8f3;
  line-height: 1.2;
}

.qr-label span {
  color: #7dd3fc;
}

.label-40 {
  --label-preview-width: 190px;
  --label-preview-height: 132px;
  --qr-preview-size: 78px;
  --label-title-size: 14px;
  --label-text-size: 10px;
}

.label-40 .qr-label {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.label-40 .qr-label p {
  display: none;
}

.label-40 .qr-label p:nth-of-type(3),
.label-40 .qr-label p:nth-of-type(4) {
  display: grid;
  grid-template-columns: 28px 1fr;
  text-align: left;
  width: 100%;
}

.label-60 {
  --label-preview-width: 284px;
  --label-preview-height: 132px;
  --qr-preview-size: 92px;
  --label-title-size: 15px;
  --label-text-size: 11px;
}

.label-size.active {
  background: linear-gradient(135deg, #14b8a6, #22d3ee);
  color: #04111f;
}

@media print {
  :root {
    color-scheme: light;
  }

  body,
  .label-page {
    background: #fff;
    color: #111827;
  }

  body::before,
  .label-toolbar,
  .danger-button {
    display: none;
  }

  .label-sheet { display: block; padding: 0; }

  .qr-label {
    width: 100%;
    min-height: auto;
    background: #fff;
    color: #111827;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    page-break-after: always;
    break-after: page;
  }

  .qr-label h2,
  .qr-label p,
  .qr-label span,
  .qr-label-code strong {
    color: #111827;
  }

  .label-40 .qr-label {
    width: 40mm;
    height: 30mm;
    padding: 2mm;
    grid-template-columns: 1fr;
  }

  .label-40 .qr-label img {
    width: 18mm;
    height: 18mm;
  }

  .label-40 .qr-label h2 {
    font-size: 9pt;
    margin: 1mm 0;
  }

  .label-40 .qr-label p {
    font-size: 7pt;
    margin: .3mm 0;
  }

  .label-60 .qr-label {
    width: 60mm;
    height: 40mm;
    padding: 2.5mm;
    grid-template-columns: 24mm 1fr;
    gap: 2mm;
  }

  .label-60 .qr-label img {
    width: 22mm;
    height: 22mm;
  }

  .label-60 .qr-label h2 {
    font-size: 10pt;
    margin-bottom: 1mm;
  }

  .label-60 .qr-label p {
    font-size: 8pt;
    margin: .5mm 0;
  }
}

@page {
  margin: 0;
}

body.label-40 {
  page: label40;
}

body.label-60 {
  page: label60;
}

@page label40 {
  size: 40mm 32mm;
  margin: 0;
}

@page label60 {
  size: 60mm 42mm;
  margin: 0;
}
