:root {
  --bg: #EDF1F0;
  --surface: #FFFFFF;
  --surface-2: #F5F7F6;
  --ink: #10233A;
  --muted: #5B6B7A;
  --line: #D4DBE0;
  --navy: #14365A;
  --navy-ink: #FFFFFF;
  --navy-soft: #DDE7F1;
  --brass: #A97A1F;
  --brass-soft: #F4E8CC;
  --sea: #1F6F5B;
  --sea-soft: #D9EEE6;
  --signal: #C2401F;
  --signal-soft: #F8DFD6;
  --amber: #8A5E00;
  --amber-soft: #F5E9C6;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-c: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --r: 10px;
  --r-lg: 16px;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1724;
    --surface: #122232;
    --surface-2: #0F1D2B;
    --ink: #E6EDF3;
    --muted: #93A5B6;
    --line: #253B51;
    --navy: #2E679E;
    --navy-ink: #FFFFFF;
    --navy-soft: #1B3550;
    --brass: #DDAA4E;
    --brass-soft: #3A2F17;
    --sea: #5BBE9F;
    --sea-soft: #15382F;
    --signal: #F2775C;
    --signal-soft: #45211A;
    --amber: #E4B852;
    --amber-soft: #3A3014;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
.h2 { font-size: 22px; font-weight: 700; }
.h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.boot { padding: 40px; text-align: center; color: var(--muted); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* Buttons */
a.btn { text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--ink);
  font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background .12s, border-color .12s;
}
.btn:hover:not(:disabled) { border-color: var(--navy); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--navy); border-color: var(--navy); color: var(--navy-ink); }
.btn.primary:hover:not(:disabled) { filter: brightness(1.12); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--signal); border-color: color-mix(in srgb, var(--signal) 40%, var(--line)); }
.btn.warn { background: var(--amber-soft); border-color: var(--amber); color: var(--amber); }
.btn.sm { min-height: 34px; padding: 4px 12px; font-size: 14px; }
.btn.big { min-height: 54px; padding: 12px 22px; font-size: 17px; }
.btn.huge { min-height: 76px; padding: 16px 36px; font-size: 22px; border-radius: 12px; min-width: min(320px, 100%); }
.btn.block { width: 100%; }
.link { background: none; border: 0; padding: 6px 2px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.link:hover { color: var(--ink); }

/* Inputs */
.input {
  width: 100%; min-height: 42px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--ink);
}
.input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px var(--navy-soft); }
.input.big { min-height: 56px; font-size: 19px; padding: 10px 16px; }
textarea.input { resize: vertical; min-height: 84px; }
select.input { width: auto; }
.form label, label.field { display: grid; gap: 4px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label.check { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: 15px; }
label.check input { width: 20px; height: 20px; accent-color: var(--navy); }
.err { color: var(--signal); font-size: 14px; min-height: 1em; margin: 6px 0 0; }

/* Login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.login-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.login-head h1 { font-family: var(--font-c); font-size: 30px; font-weight: 700; }
.login-head p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.role-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 16px; padding: 4px; background: var(--surface-2); border-radius: 10px; border: 1px solid var(--line); }
.role-pick button { border: 0; background: transparent; padding: 10px 4px; border-radius: 7px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--muted); }
.role-pick button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); }
.login-card .input { margin-bottom: 14px; }
.login-card label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 4px; }
#pin { font-size: 24px; letter-spacing: .3em; text-align: center; }

.mark {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--navy) 0 52%, transparent 53%), var(--brass);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--brass) 70%, #000);
}
.mark.sm { width: 30px; height: 30px; }

/* Top bar */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 10px 20px; background: var(--surface); border-bottom: 1px solid var(--line);
}
body.is-app::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-name { font-family: var(--font-c); font-size: 21px; font-weight: 700; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 34ch; }
.brand-sub { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.day { background: var(--brass-soft); color: var(--brass); border-radius: 4px; padding: 0 6px; font-weight: 700; font-size: 12px; }
.tabs { display: flex; gap: 2px; justify-self: center; overflow-x: auto; max-width: 100%; }
.tab { border: 0; background: transparent; padding: 8px 14px; border-radius: 8px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.is-on { background: var(--navy-soft); color: var(--ink); }
.top-right { display: flex; align-items: center; gap: 10px; grid-column: -2 / -1; grid-row: 1; justify-self: end; }
.conn { font-size: 13px; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.conn::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sea); }
.conn.off { color: var(--signal); font-weight: 600; }
.conn.off::before { background: var(--signal); animation: blink 1s infinite; }
@media (max-width: 860px) {
  .top { grid-template-columns: 1fr auto; padding: 10px 14px; }
  .tabs { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  .conn span, .conn { font-size: 12px; }
}

.main { max-width: 1240px; margin: 0 auto; padding: 20px; }
@media (max-width: 600px) { .main { padding: 14px; } }

/* Panels & rows */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row.slim { padding: 8px 0; }
.row-main { min-width: 0; }
.row-title { font-weight: 600; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row-sub { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; column-gap: 14px; }
.row-side { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 520px) {
  .row:not(.slim) { flex-direction: column; align-items: stretch; gap: 8px; }
  .row:not(.slim) .row-side { justify-content: flex-start; }
  .ci-bar .btn { width: 100%; }
}
.empty { color: var(--muted); padding: 14px 0; font-size: 15px; }
.tag.qr { color: var(--sea); background: var(--sea-soft); }
.tag { font-size: 12px; font-weight: 600; color: var(--brass); background: var(--brass-soft); border-radius: 4px; padding: 0 6px; }

.qno { font-family: var(--font-c); font-weight: 700; font-size: 22px; letter-spacing: .02em; color: var(--navy); }
.qno.sm { font-size: 18px; }
@media (prefers-color-scheme: dark) { .qno { color: var(--brass); } }

.chip { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.st-menunggu { background: var(--navy-soft); color: var(--ink); border-color: transparent; }
.st-dipanggil { background: var(--signal-soft); color: var(--signal); border-color: transparent; }
.st-interview { background: var(--amber-soft); color: var(--amber); border-color: transparent; }
.st-selesai { background: var(--sea-soft); color: var(--sea); border-color: transparent; }
.st-dilewati { text-decoration: line-through; }
.rec-ok { background: var(--sea-soft); color: var(--sea); border-color: transparent; }
.rec-mid { background: var(--amber-soft); color: var(--amber); border-color: transparent; }
.rec-no { background: var(--signal-soft); color: var(--signal); border-color: transparent; }

.seat { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--brass); background: var(--brass-soft); border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
.cur-seat { font-size: 20px; margin: 2px 0 8px; }
.cur-seat b { font-family: var(--font-c); font-size: 30px; color: var(--brass); }
.stat-of { font-size: 20px; color: var(--muted); }
.ticket-pair { display: flex; justify-content: center; gap: 28px; }
.ticket-pair > div + div { border-left: 2px dashed var(--line); padding-left: 28px; }
.seat-no { color: var(--brass) !important; }
.qr-row { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.qr-box { flex: none; width: 180px; height: 180px; background: #fff; border-radius: 12px; padding: 10px; display: grid; place-items: center; border: 1px solid var(--line); }
.qr-box img { width: 100%; height: 100%; image-rendering: pixelated; }
.qr-side { flex: 1; min-width: 240px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 18px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.stat-v { font-family: var(--font-c); font-size: 34px; font-weight: 700; line-height: 1; }
.stat-l { font-size: 14px; color: var(--muted); margin-top: 4px; }
.stats.compact .stat { padding: 8px 12px; }
.stats.compact .stat-v { font-size: 26px; }

/* Check-in */
.ci-bar { display: flex; gap: 10px; margin-bottom: 14px; }
.ci-cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; align-items: start; }
.ci-cols > div, .ci-cols > aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; }
@media (max-width: 860px) { .ci-cols { grid-template-columns: 1fr; } .ci-bar { flex-wrap: wrap; } }

/* Ticket */
.ticket { text-align: center; padding: 8px 0 4px; border-bottom: 2px dashed var(--line); margin-bottom: 16px; }
.ticket-label { font-size: 15px; color: var(--muted); }
.ticket-no { font-family: var(--font-c); font-weight: 700; font-size: 104px; line-height: 1; color: var(--navy); letter-spacing: .02em; }
@media (prefers-color-scheme: dark) { .ticket-no { color: var(--brass); } }
.ticket-name { font-size: 22px; font-weight: 700; margin-top: 6px; }
.ticket-sub { color: var(--muted); }
.ticket-note { font-size: 15px; color: var(--muted); max-width: 40ch; margin: 14px auto; }

/* Meja */
.meja-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.meja-title { display: grid; gap: 4px; }
.meja-title select { font-family: var(--font-c); font-size: 22px; font-weight: 700; min-height: 46px; }
.meja-title .h2 { font-family: var(--font-c); font-size: 30px; }
.meja-tools { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
label.inline { display: grid; gap: 2px; font-size: 13px; font-weight: 600; color: var(--muted); }
label.inline .input { min-width: 200px; }
.meja-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; align-items: start; }
.meja-side { display: grid; gap: 18px; }
@media (max-width: 920px) { .meja-grid { grid-template-columns: 1fr; } }

.cur { padding: 24px; min-height: 360px; }
.cur-idle { display: grid; place-items: center; text-align: center; gap: 14px; min-height: 310px; align-content: center; }
.cur-state { font-weight: 700; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }
.cur-state.calling { color: var(--signal); }
.cur-state.calling::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); animation: blink 1s infinite; }
.cur-state.live { color: var(--amber); }
.cur-state.live::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.big-no {
  font-family: var(--font-c); font-weight: 700; line-height: .95; letter-spacing: .02em;
  font-size: clamp(84px, 13vw, 150px); color: var(--navy);
  display: inline-block; padding: 4px 22px 8px; margin: 10px 0;
  border: 4px solid var(--brass); border-radius: 18px; background: var(--brass-soft);
}
@media (prefers-color-scheme: dark) { .big-no { color: var(--brass); background: transparent; } }
.cur-call { text-align: center; }
.cur-name { font-size: 26px; font-weight: 700; line-height: 1.2; }
.cur-sub { color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cur-int .cur-sub { justify-content: flex-start; }
.cur-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; align-items: center; }
.cur-int .cur-actions { justify-content: flex-start; }
.cur-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.cur-head .qno { font-size: 34px; }

.eval fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.eval legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.crit { display: grid; grid-template-columns: minmax(150px, 1fr) auto; align-items: center; gap: 12px; }
.crit legend { float: left; margin: 0; }
@media (max-width: 560px) { .crit { grid-template-columns: 1fr; } }
.scale, .seg { display: flex; gap: 6px; flex-wrap: wrap; }
.scale label, .seg label { position: relative; cursor: pointer; }
.scale input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.scale span {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface-2);
  font-family: var(--font-c); font-size: 22px; font-weight: 700;
}
.seg span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 600; }
.scale input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--navy-ink); }
.seg input[value="Lolos"]:checked + span { background: var(--sea); border-color: var(--sea); color: #fff; }
.seg input[value="Cadangan"]:checked + span { background: var(--amber); border-color: var(--amber); color: #fff; }
.seg input[value="Tidak lolos"]:checked + span { background: var(--signal); border-color: var(--signal); color: #fff; }
@media (prefers-color-scheme: dark) { .seg input:checked + span { color: #0B1724 !important; } }
.scale input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
.scale-hint { font-size: 13px; color: var(--muted); margin: -4px 0 12px; }
.eval .notes { display: grid; gap: 4px; font-weight: 600; margin-bottom: 8px; }
.avg { font-size: 15px; color: var(--muted); }
.avg strong { font-family: var(--font-c); font-size: 22px; color: var(--ink); }

/* Ringkasan */
.grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 920px) { .grid-2 { grid-template-columns: 1fr; } }
.tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tcard { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; background: var(--surface-2); display: grid; gap: 4px; }
.tcard.off { opacity: .6; }
.tcard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tcard-head strong { font-family: var(--font-c); font-size: 20px; }
.tcard-now { display: flex; align-items: center; gap: 8px; min-height: 34px; flex-wrap: wrap; }
.progress { height: 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin: 6px 0 4px; }
.progress > i { display: block; height: 100%; background: var(--sea); }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 96px 1fr 40px; gap: 10px; align-items: center; font-size: 15px; }
.bar .track { height: 12px; background: var(--surface-2); border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.bar .track i { display: block; height: 100%; }
.bar b { text-align: right; font-family: var(--font-c); font-size: 18px; }
.note-box { background: var(--brass-soft); border-radius: var(--r); padding: 12px 14px; font-size: 15px; margin-top: 14px; }
.section-gap { margin-top: 18px; }

/* Kandidat */
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.toolbar #kq { max-width: 340px; }
.grow { flex: 1; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-top: 8px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; position: sticky; top: 0; }
.tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: var(--surface-2); }
.tbl .num { font-family: var(--font-c); font-size: 18px; font-weight: 600; }

/* Detail */
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 4px 12px; font-size: 15px; margin: 10px 0 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.scores { display: grid; gap: 4px; font-size: 15px; margin: 6px 0 10px; }
.scores div { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--line); }

/* Pengaturan */
.settings { display: grid; gap: 18px; max-width: 860px; }
.trows { display: grid; gap: 8px; margin-bottom: 10px; }
.trow-edit { display: grid; grid-template-columns: 160px 1fr auto; gap: 8px; }
@media (max-width: 600px) { .trow-edit { grid-template-columns: 1fr; } }
.linkbox { display: flex; gap: 8px; flex-wrap: wrap; }
.linkbox code { flex: 1; min-width: 220px; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; font-size: 14px; word-break: break-all; }
.help { font-size: 14px; color: var(--muted); margin: 4px 0 10px; }

/* Dialog */
dialog {
  border: 0; border-radius: var(--r-lg); padding: 24px;
  width: calc(100% - 28px); max-width: 560px; max-height: calc(100vh - 40px); overflow: auto;
  background: var(--surface); color: var(--ink);
  box-shadow: 0 24px 60px -20px rgba(4, 16, 30, .5);
}
dialog::backdrop { background: rgba(6, 18, 30, .55); }
.dlg-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 18px; }
.dlg-actions .left { margin-right: auto; }

/* Toast */
#toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 10px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; max-width: calc(100% - 32px);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.err { background: var(--signal); color: #fff; }

@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Print (tiket antrean, cocok untuk printer thermal 58–80 mm) */
#print { display: none; }
@media print {
  body > *:not(#print) { display: none !important; }
  body { background: #fff !important; }
  #print { display: block; }
  .pt { width: 58mm; text-align: center; font-family: var(--font); color: #000; padding: 4mm 0; }
  .pt-ev { font-size: 11pt; font-weight: 600; }
  .pt-no { font-family: var(--font-c); font-size: 44pt; font-weight: 700; line-height: 1.05; margin: 2mm 0; }
  .pt-name { font-size: 12pt; font-weight: 700; }
  .pt-time { font-size: 9pt; margin-top: 2mm; }
  .pt-seat { font-size: 16pt; font-weight: 700; border: 2px solid #000; display: inline-block; padding: 0 3mm; margin: 1mm 0 2mm; }
  body.print-poster .pt { display: none; }
  .poster { width: 100%; text-align: center; color: #000; font-family: var(--font); padding: 10mm 8mm; }
  .po-ev { font-size: 18pt; font-weight: 600; }
  .po-title { font-family: var(--font-c); font-size: 64pt; font-weight: 700; line-height: 1; margin-top: 6mm; }
  .po-sub { font-size: 18pt; margin-top: 2mm; }
  .po-qr { width: 120mm; height: 120mm; margin: 8mm auto; display: block; image-rendering: pixelated; }
  .po-steps { text-align: left; font-size: 15pt; line-height: 1.6; max-width: 150mm; margin: 0 auto; }
  .po-foot { margin-top: 8mm; font-size: 13pt; font-weight: 600; }
  @page { margin: 5mm; }
}
