:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --ink: #16202b;
  --muted: #5d6b79;
  --line: #e2e6eb;
  --accent: #0f766e;
  --accent-ink: #ffffff;
  --accent-soft: #e0f2f0;
  --ok: #15803d;      --ok-bg: #e3f4e8;
  --use: #0f766e;     --use-bg: #d9f0ed;
  --warn: #a15c07;    --warn-bg: #fdf0d5;
  --bad: #b42318;     --bad-bg: #fde8e6;
  --person: #5b4bb7;  --person-bg: #ebe8fa;
  --site: #3d5a80;    --site-bg: #e4ebf4;
  --gone: #6b7280;    --gone-bg: #eceef1;
  --radius: 14px;
  --nav-h: 64px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink);
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden; min-height: 100vh;
}
svg[viewBox="0 0 24 24"] { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
h1 { font-size: 22px; } h2 { font-size: 18px; } h3 { font-size: 16px; }
a { color: var(--accent); text-decoration: none; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .01em; }
.muted { color: var(--muted); } .small { font-size: 13px; } .tiny { font-size: 12px; }
.right { margin-left: auto; } .center { text-align: center; }
.hide { display: none !important; }
.nowrap { white-space: nowrap; }
.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* ---------- shell ---------- */
#app { min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 54px;
}
.topbar .brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); min-width: 0; }
.topbar .brand svg { width: 28px; height: 28px; flex: none; }
.topbar .title { font-weight: 650; font-size: 17px; }
.topbar .back { width: 44px; height: 44px; display: grid; place-items: center; margin-left: -8px; border-radius: 12px; border: 0; background: none; color: var(--ink); font-size: 22px; }
.topbar .spacer { flex: 1; }
.iconbtn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; display: grid; place-items: center; position: relative; color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; }
.iconbtn:active { background: var(--bg); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.langbtn { height: 36px; padding: 0 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; font-weight: 700; font-size: 13px; color: var(--ink); cursor: pointer; }
main { flex: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: 14px 16px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)); }
.sync-bar { background: var(--warn-bg); color: var(--warn); font-size: 13px; font-weight: 600; text-align: center; padding: 6px 12px; }
.offline-bar { background: #3a3f47; color: #fff; font-size: 13px; text-align: center; padding: 6px 12px; }

.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
}
.bottomnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: 11.5px; font-weight: 600; min-width: 0; padding: 0 2px; }
.bottomnav a svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bottomnav a.active { color: var(--accent); }
.bottomnav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bottomnav a.scan { position: relative; }
.bottomnav a.scan .disc { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-top: -18px; box-shadow: 0 4px 12px rgba(15,118,110,.35); border: 3px solid var(--surface); }
.bottomnav a.scan .disc svg { stroke: #fff; }
.bottomnav a.scan.active .disc { background: #0b5f58; }
@media (min-width: 900px) { .bottomnav { max-width: 520px; left: 50%; transform: translateX(-50%); border-radius: 16px 16px 0 0; border: 1px solid var(--line); } }

/* ---------- basic blocks ---------- */
.stack > * + * { margin-top: 12px; }
.stack-s > * + * { margin-top: 8px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 700px) { .grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; } .grid-auto > * + * { margin-top: 0; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); min-width: 0; }
.card.flat { box-shadow: none; }
.card h2 { margin-bottom: 8px; }
.sec-title { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 18px 4px 8px; }
.page-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.page-head h1 { flex: 1; min-width: 0; }

/* ---------- buttons ---------- */
.btn {
  appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 12px;
  min-height: 48px; padding: 0 16px; font: inherit; font-weight: 650; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-align: center; line-height: 1.2;
}
.btn:active { transform: translateY(1px); filter: brightness(.97); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.soft { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--accent); }
.btn.block { display: flex; width: 100%; }
.btn.big { min-height: 56px; font-size: 17px; border-radius: 14px; }
.btn.small { min-height: 40px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions .btn { flex-direction: column; min-height: 76px; gap: 6px; font-size: 14px; padding: 8px; }
.actions .btn svg { width: 26px; height: 26px; }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 12.5px; font-weight: 700; white-space: nowrap; flex: none; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip.available { color: var(--ok); background: var(--ok-bg); }
.chip.in_use { color: var(--use); background: var(--use-bg); }
.chip.repair { color: var(--warn); background: var(--warn-bg); }
.chip.missing { color: var(--bad); background: var(--bad-bg); }
.chip.person { color: var(--person); background: var(--person-bg); }
.chip.site { color: var(--site); background: var(--site-bg); }
.chip.retired { color: var(--gone); background: var(--gone-bg); }
.chip.big { height: 36px; font-size: 16px; padding: 0 16px; border-radius: 18px; }
.chip.amber { color: var(--warn); background: var(--warn-bg); } .chip.red { color: var(--bad); background: var(--bad-bg); }
.chip.ok { color: var(--ok); background: var(--ok-bg); } .chip.short { color: var(--person); background: var(--person-bg); } .chip.na { color: var(--gone); background: var(--gone-bg); }
.pill { display: inline-block; font-size: 12px; font-weight: 650; padding: 2px 8px; border-radius: 8px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.pill.client { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 12px; }
.field > .lbl { display: block; font-size: 13px; font-weight: 650; color: var(--muted); margin-bottom: 5px; }
input[type=text], input[type=search], input[type=password], input[type=number], input[type=tel], input[type=date], input[type=datetime-local], select, textarea {
  width: 100%; min-height: 48px; border: 1px solid #cfd5dc; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; padding: 10px 12px; appearance: none; -webkit-appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235d6b79' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.pin-input { font-size: 28px; letter-spacing: .5em; text-align: center; font-family: ui-monospace, monospace; }
.hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.err { color: var(--bad); font-size: 14px; font-weight: 600; margin-top: 6px; }
.seg { display: flex; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 3px; }
.seg button { flex: 1; min-height: 40px; border: 0; background: none; border-radius: 9px; font: inherit; font-weight: 650; color: var(--muted); cursor: pointer; padding: 0 8px; min-width: 0; }
.seg button.on { background: var(--surface); color: var(--accent); box-shadow: var(--shadow); }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px 12px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button { flex: none; min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 650; font-size: 14px; display: inline-flex; align-items: center; cursor: pointer; }
.tabs .on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- lists ---------- */
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 56px; border-bottom: 1px solid var(--line); color: var(--ink); background: var(--surface); width: 100%; text-align: left; font: inherit; border-left: 0; border-right: 0; border-top: 0; cursor: pointer; }
.li:last-child { border-bottom: 0; }
.li:active { background: var(--bg); }
.li .main { flex: 1; min-width: 0; }
.li .t { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .s { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .chev { color: #9aa5b1; font-size: 20px; flex: none; }
.li.sel { background: var(--accent-soft); }
.ico { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.empty { text-align: center; color: var(--muted); padding: 26px 12px; }
.kv { display: grid; grid-template-columns: 112px 1fr; gap: 6px 10px; font-size: 14.5px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; font-weight: 550; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); text-align: left; font: inherit; cursor: pointer; min-width: 0; }
.stat .n { font-size: 26px; font-weight: 750; line-height: 1.1; }
.stat .l { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.stat.warn .n { color: var(--warn); } .stat.bad .n { color: var(--bad); } .stat.ok .n { color: var(--use); }

/* ---------- banners ---------- */
.banner { border-radius: var(--radius); padding: 12px 14px; font-size: 14.5px; border: 1px solid; }
.banner.warn { background: var(--warn-bg); color: #6d3d02; border-color: #f0d79a; }
.banner.danger { background: var(--bad-bg); color: #8a1c13; border-color: #f4b8b2; }
.banner.info { background: var(--accent-soft); color: #0b5d56; border-color: #b8e0dc; }
.banner b { display: block; margin-bottom: 2px; }
.banner.strong { border-width: 2px; font-size: 15.5px; }

/* ---------- bars ---------- */
.bar { position: relative; height: 12px; background: #e9edf1; border-radius: 6px; overflow: visible; margin: 6px 0 4px; }
.bar > i { display: block; height: 100%; border-radius: 6px; background: var(--ok); max-width: 100%; }
.bar.amber > i { background: #e0a21b; } .bar.red > i { background: var(--bad); } .bar.na > i, .bar.short > i { background: #8b93f0; }
.bar .tol { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); opacity: .55; }
.bar .lim { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--muted); opacity: .5; }
.bar-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.bar-row:last-child { border-bottom: 0; }
.bar-row .top { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; }
.bar-row .nm { font-weight: 600; font-size: 14.5px; min-width: 0; overflow-wrap: anywhere; }
.bar-row .val { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- sheet / modal ---------- */
.scrim { position: fixed; inset: 0; background: rgba(15,23,32,.45); z-index: 100; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s ease; }
.sheet { background: var(--surface); width: 100%; max-width: 560px; max-height: 92vh; border-radius: 20px 20px 0 0; display: flex; flex-direction: column; animation: up .2s ease; padding-bottom: env(safe-area-inset-bottom); }
.sheet-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px 8px; }
.sheet-head h2 { flex: 1; }
.sheet-body { padding: 4px 16px 16px; overflow-y: auto; overscroll-behavior: contain; }
.sheet-foot { padding: 10px 16px 14px; display: flex; gap: 10px; border-top: 1px solid var(--line); }
.sheet-foot .btn { flex: 1; }
@media (min-width: 700px) { .scrim { align-items: center; } .sheet { border-radius: 20px; max-height: 86vh; } }
@keyframes up { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.toasts { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + 14px + env(safe-area-inset-bottom)); z-index: 200; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { background: #1d2833; color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 15px; font-weight: 550; max-width: 480px; box-shadow: 0 6px 20px rgba(0,0,0,.25); animation: up .2s ease; }
.toast.bad { background: var(--bad); } .toast.good { background: #0d5c4d; }
.spin { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: rot .8s linear infinite; margin: 24px auto; }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- picker ---------- */
.picker { position: relative; }
.picker .box { display: flex; gap: 8px; }
.picker .box input { flex: 1; min-width: 0; }
.picker .results { margin-top: 8px; max-height: 300px; overflow-y: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: #0b5d56; border-radius: 10px; padding: 6px 4px 6px 10px; font-size: 13.5px; font-weight: 650; max-width: 100%; }
.tag .x { width: 28px; height: 28px; border: 0; background: rgba(0,0,0,.07); border-radius: 8px; color: inherit; font-size: 16px; line-height: 1; cursor: pointer; flex: none; }
.tag .sub { font-weight: 500; opacity: .75; font-size: 12px; }

/* ---------- scanner ---------- */
.scanbox { position: relative; background: #0d1318; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.scanbox video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scanbox .frame { position: absolute; inset: 16% 16%; border: 3px solid rgba(255,255,255,.85); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.28); pointer-events: none; }
.scanbox .msg { position: absolute; left: 8px; right: 8px; bottom: 8px; text-align: center; color: #fff; font-size: 13px; background: rgba(0,0,0,.5); border-radius: 8px; padding: 4px 8px; }

/* tray */
.tray { position: sticky; bottom: calc(var(--nav-h) + 8px + env(safe-area-inset-bottom)); z-index: 20; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: 0 8px 24px rgba(16,24,40,.18); }

/* timeline */
.tl { position: relative; padding-left: 22px; }
.tl::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl .ev { position: relative; padding: 0 0 14px; }
.tl .ev::before { content: ""; position: absolute; left: -20px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.tl .ev.session_start::before, .tl .ev.session_stop::before { border-color: #2563eb; }
.tl .ev.damage::before, .tl .ev.missing::before { border-color: var(--bad); }
.tl .ev .h { font-weight: 650; } .tl .ev .m { font-size: 13px; color: var(--muted); }
.tl img.ph { max-width: 100%; border-radius: 10px; margin-top: 6px; max-height: 220px; object-fit: cover; }

/* tables */
.tablewrap { overflow-x: auto; margin: 0 -14px; padding: 0 14px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th, table.tbl td { padding: 8px 4px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
table.tbl th:first-child, table.tbl td:first-child { text-align: left; white-space: normal; min-width: 88px; }
table.tbl { font-size: 13.5px; }
table.tbl th { font-size: 11px; color: var(--muted); font-weight: 700; }

/* map */
#map { height: 300px; border-radius: var(--radius); border: 1px solid var(--line); z-index: 1; }
@media (min-width: 700px) { #map { height: 420px; } }
.map-pin { background: var(--accent); color: #fff; border: 3px solid #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.map-pin.store { background: #3d5a80; border-radius: 10px; }
.map-pin.live { background: #0d9f6e; }

/* login */
.login { max-width: 380px; margin: 0 auto; padding: 32px 20px; }
.login .logo { width: 64px; height: 64px; margin: 0 auto 12px; display: block; }
.login h1 { text-align: center; font-size: 26px; }
.login .sub { text-align: center; color: var(--muted); margin: 4px 0 24px; }

/* timers */
.timer { font-variant-numeric: tabular-nums; font-size: 34px; font-weight: 750; letter-spacing: .02em; }
.sess-card { border: 2px solid var(--use); background: #f2fbfa; }
.dot-live { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #e11d48; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(225,29,72,.5); } 100% { box-shadow: 0 0 0 10px rgba(225,29,72,0); } }

/* labels page (screen) */
.label-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.label-sheet { display: flex; flex-wrap: wrap; gap: 0; align-content: flex-start; background: #fff; }
.label { border: 1px dashed #b7bec6; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; page-break-inside: avoid; break-inside: avoid; background: #fff; color: #000; }
.label .qr { display: block; }
.label .qr svg, .label .qr img { display: block; width: 100%; height: 100%; }
.label .tag-big { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 800; line-height: 1; }
.label .type { line-height: 1.1; }
.label .brand { line-height: 1; font-weight: 700; color: #333; }
.label.s20 { width: 20mm; height: 24mm; padding: 1mm; } .label.s20 .qr { width: 14mm; height: 14mm; } .label.s20 .tag-big { font-size: 6.3pt; margin-top: .6mm; } .label.s20 .type { font-size: 4.6pt; margin-top: .3mm; } .label.s20 .brand { font-size: 3.6pt; margin-top: .3mm; }
.label.s30 { width: 30mm; height: 35mm; padding: 1.5mm; } .label.s30 .qr { width: 21mm; height: 21mm; } .label.s30 .tag-big { font-size: 9pt; margin-top: 1mm; } .label.s30 .type { font-size: 6.5pt; margin-top: .5mm; } .label.s30 .brand { font-size: 5pt; margin-top: .5mm; }
.label.s45 { width: 45mm; height: 52mm; padding: 2mm; } .label.s45 .qr { width: 33mm; height: 33mm; } .label.s45 .tag-big { font-size: 13pt; margin-top: 1.5mm; } .label.s45 .type { font-size: 9pt; margin-top: .8mm; } .label.s45 .brand { font-size: 7pt; margin-top: .8mm; }
.label-preview .label { transform-origin: top left; margin: 0 auto; }

.print-only { display: none; }
@media print {
  @page { size: A4; margin: 8mm; }
  body { background: #fff; }
  .topbar, .bottomnav, .toasts, .no-print, .sync-bar, .offline-bar { display: none !important; }
  main { padding: 0 !important; max-width: none !important; }
  .print-only { display: block; }
  .label { border: 0; outline: 0.1mm dashed #ccc; }
  .label-sheet { gap: 0; }
}
