/* =====================================================================
   §66 Магазин: «Касса магазина» (терминал Nodex, тёмная/светлая — токены --nx-* из nodex-term.css) и экраны бэк-офиса магазина
   (товары с матрицей вариантов, этикетки, приёмка сканером, долги, отчёты — в «Стекле» через общие классы).
   Касса: компьютер и планшет — чек слева, товары справа; телефон вертикально — вкладки «Чек / Товары»; боком — две колонки, плотнее.
   ===================================================================== */
.st { position: fixed; inset: 0; display: grid; grid-template-rows: 64px minmax(0, 1fr); background: var(--nx-bg, #070A09); color: var(--nx-ink, #F4F6F5);
  font-family: var(--nx-font, system-ui); }
:root[data-term]:not([data-term="classic"]) .st { background: radial-gradient(90% 70% at 70% 0%, #0B1410 0%, #070A09 60%); }
.st-top { display: flex; align-items: center; gap: 10px; background: var(--nx-top); border-bottom: 1px solid var(--nx-line); padding-right: 6px; min-width: 0;
  padding-top: env(safe-area-inset-top, 0); }
.st-title { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
.st-title b { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-title span { font-size: .78rem; color: var(--nx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-pt { flex: none; }
.st .seg { display: inline-flex; background: var(--nx-chip); border: 1px solid var(--nx-line); border-radius: 999px; padding: 3px; }
.st .seg button { border: 0; background: transparent; color: var(--nx-ink-2); font: inherit; font-weight: 600; font-size: .85rem; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer; }
.st .seg button[aria-pressed="true"] { background: var(--nx-accent); color: var(--nx-accent-ink); }
.st-shift { flex: none; }
.st-shift .shift-btn { min-height: 44px; border-radius: 999px; border: 1px solid var(--nx-line); background: var(--nx-chip); color: var(--nx-ink); padding: 0 14px;
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.st-ic { flex: none; width: 64px; height: 56px; border: 0; border-radius: 12px; background: transparent; color: var(--nx-ink-2); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; cursor: pointer; font: inherit; }
.st-ic:hover { background: var(--nx-hover); }
.st-ic svg { width: 22px; height: 22px; }
.st-ic span { font-size: .7rem; font-weight: 600; }
.st-tabs { display: none; }
.st-main { display: grid; grid-template-columns: minmax(360px, 42%) minmax(0, 1fr); min-height: 0; }
.st-cart { display: flex; flex-direction: column; min-height: 0; background: var(--nx-panel); border-right: 1px solid var(--nx-line); }
.st-cart-h { display: flex; align-items: center; gap: 8px; padding: 12px 14px 8px; }
.st-cart-h > b { font-family: var(--nx-display); font-size: 1.15rem; font-weight: 700; }
.st-badges { display: inline-flex; gap: 6px; margin-right: auto; }
.st-opt { background: #2A5E8F; color: #fff; border-radius: 6px; padding: 2px 8px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.st-client { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px dashed var(--nx-line-strong);
  background: transparent; color: var(--nx-ink-2); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; max-width: 55%; }
.st-client span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-client svg { width: 18px; height: 18px; flex: none; }
.st-client.on { border-style: solid; border-color: var(--nx-accent); color: var(--nx-accent-text); background: var(--nx-accent-soft); }
/* §67 «Продавец» рядом с «Покупатель» */
.st-cart-h { flex-wrap: wrap; }
.st-who { display: inline-flex; gap: 6px; min-width: 0; max-width: 100%; margin-left: auto; }
.st-who .st-client { max-width: 190px; }
.st-sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.st-sc { min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px; border-radius: 14px;
  border: 1px solid var(--nx-line-strong); background: var(--nx-panel-2, transparent); color: var(--nx-ink); font: inherit; cursor: pointer; text-align: center; }
.st-sc b { font-size: 1rem; }
.st-sc small { color: var(--nx-ink-2); font-size: .78rem; }
.st-sc:hover { border-color: var(--nx-accent); }
.st-sc.on { border-color: var(--nx-accent); background: var(--nx-accent-soft); color: var(--nx-accent-text); }
.st-exch { margin: 0 14px 8px; padding: 10px 12px; border-radius: 12px; background: var(--nx-pre-soft); color: var(--nx-ink); font-size: .85rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.st-lines { list-style: none; margin: 0; padding: 0 8px; overflow-y: auto; min-height: 0; flex: 1 1 auto; }
.st-exch[hidden] { display: none; }
.st-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 40px; align-items: center; gap: 8px; padding: 10px 6px; border-bottom: 1px solid var(--nx-line); border-radius: 10px; }
.st-line.new { animation: st-new .9s ease-out; }
@keyframes st-new { from { background: var(--nx-accent-soft); } to { background: transparent; } }
.st-l-n { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.st-l-n b { font-weight: 600; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-var { display: inline-block; font-weight: 700; font-size: .8rem; color: var(--nx-accent-text); }
.st-sn { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .76rem; color: var(--nx-ink-2); }
.st-l-n small { font-size: .74rem; }
.st-l-q { display: inline-flex; align-items: center; gap: 4px; }
.st-qb, .st-qv, .st-rm { min-width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--nx-line); background: var(--nx-chip); color: var(--nx-ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; font-weight: 700; font-variant-numeric: tabular-nums; }
.st-qv { min-width: 48px; padding: 0 6px; }
.st-qb svg, .st-rm svg { width: 18px; height: 18px; }
.st-q1 { min-width: 48px; text-align: center; font-weight: 700; color: var(--nx-muted); }
.st-rm { border-color: transparent; background: transparent; color: var(--nx-muted); }
.st-rm:hover { color: var(--nx-unsent); }
.st-l-p { display: flex; flex-direction: column; align-items: flex-end; min-width: 84px; font-variant-numeric: tabular-nums; }
.st-l-p span { font-size: .76rem; }
.st-l-p b { font-family: var(--nx-display); font-size: 1.05rem; }
.st-empty { list-style: none; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 48px 20px; color: var(--nx-muted); }
.st-empty svg { width: 48px; height: 48px; opacity: .5; }
.st-empty b { color: var(--nx-ink-2); font-size: 1.05rem; }
.st-sum { padding: 6px 16px; border-top: 1px solid var(--nx-line); font-size: .88rem; color: var(--nx-ink-2); }
.st-sum:empty { display: none; }
.st-sum div { display: flex; justify-content: space-between; padding: 2px 0; font-variant-numeric: tabular-nums; }
.st-sum .disc { color: var(--nx-accent-text); }
.st-act { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0)); background: var(--nx-bar); border-top: 1px solid var(--nx-line); }
.st .st-b { min-height: 56px; border-radius: 14px; }
.st-pay { min-height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font: inherit; }
.st-pay span { font-weight: 600; }
.st-pay b { font-family: var(--nx-display); font-size: 1.45rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.st .btn-primary { background: var(--nx-accent); color: var(--nx-accent-ink); border-color: var(--nx-accent); }
.st .btn-primary[disabled] { opacity: .45; }
.st-cat { display: grid; grid-template-rows: auto auto minmax(0, 1fr); min-height: 0; }
.st-search { display: flex; align-items: center; gap: 8px; padding: 12px 14px 8px; position: relative; }
.st-scan-ic { position: absolute; left: 28px; top: 50%; transform: translateY(-38%); color: var(--nx-muted); pointer-events: none; }
.st-scan-ic svg { width: 22px; height: 22px; }
.st-search .input { flex: 1; min-height: 56px; padding-left: 46px; font-size: 1.05rem; border-radius: 14px; background: var(--nx-input); border: 1.5px solid var(--nx-line-strong); color: var(--nx-ink); }
.st-search .input:focus { border-color: var(--nx-accent); outline: none; box-shadow: 0 0 0 3px var(--nx-accent-soft); }
.st-cam { min-height: 56px; border-radius: 14px; display: inline-flex; align-items: center; gap: 6px; }
.st-cam svg { width: 22px; height: 22px; }
.st-groups { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; }
.st-groups .chip { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--nx-line); background: var(--nx-chip); color: var(--nx-ink-2);
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.st-groups .chip svg { width: 14px; height: 14px; color: #F2C14E; }
.st-groups .chip[aria-pressed="true"] { background: var(--nx-ink); color: var(--nx-bg); border-color: var(--nx-ink); }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; padding: 2px 14px 18px; overflow-y: auto; align-content: start; }
.st-tile { position: relative; }
.st-t-main { width: 100%; min-height: 112px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 6px; text-align: left;
  padding: 12px 34px 10px 14px; border-radius: var(--nx-r-tile, 16px); border: 1px solid var(--nx-tile-line); background: var(--nx-tile); color: var(--nx-ink); font: inherit; cursor: pointer; }
.st-t-main:hover { background: var(--nx-tile-hover); }
.st-t-main > b { font-weight: 600; font-size: .92rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st-t-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: .72rem; color: var(--nx-muted); }
.st-t-v { border: 1px solid var(--nx-line-strong); border-radius: 6px; padding: 0 5px; font-weight: 700; color: var(--nx-ink-2); }
.st-t-p { display: flex; align-items: baseline; justify-content: space-between; width: 100%; gap: 6px; }
.st-t-p b { font-family: var(--nx-display); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.st-t-p small { color: var(--nx-muted); font-size: .72rem; white-space: nowrap; }
.st-tile.out .st-t-p small { color: var(--nx-unsent); }
.st-tile.hit .st-t-main { animation: st-hit .6s ease-out; }
@keyframes st-hit { from { box-shadow: 0 0 0 3px var(--nx-accent); } to { box-shadow: 0 0 0 0 transparent; } }
.st-fav { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--nx-line-strong); cursor: pointer; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; }
.st-fav svg { width: 16px; height: 16px; }
.st-fav.on { color: #F2C14E; }
.st-none { color: var(--nx-muted); padding: 30px 6px; grid-column: 1 / -1; }
.st [data-pane="cart"].bump { animation: st-bump .5s; }
@keyframes st-bump { 40% { transform: scale(1.08); } }

/* окна кассы магазина */
.st-vtab { border-collapse: separate; border-spacing: 6px; }
.st-vtab th { font-size: .8rem; color: var(--nx-muted, #666); font-weight: 600; text-align: center; padding: 2px 4px; }
.st-vtab th[scope="row"] { text-align: right; }
.st-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.st-vc { min-width: 96px; min-height: 64px; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 12px;
  border: 1px solid var(--nx-line-strong, #ccc); background: var(--nx-chip, #f4f4f4); color: var(--nx-ink, #111); font: inherit; cursor: pointer; padding: 6px; }
.st-vc b { font-size: .86rem; }
.st-vc span { font-weight: 700; font-variant-numeric: tabular-nums; }
.st-vc small { font-size: .72rem; color: var(--nx-muted, #666); }
.st-vc.out { opacity: .55; }
.st-vc:hover { border-color: var(--nx-accent, #2BD47D); }
.st-sns { max-height: 40vh; overflow-y: auto; }
.st-video { width: 100%; max-height: 50vh; border-radius: 14px; background: #000; }
.st-rfind { display: flex; gap: 8px; margin-bottom: 10px; }
.st-rfind .input { flex: 1; }
/* §120 свой период в окне «Чеки» */
.st-rdates { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.st-rdates .input { flex: 1 1 140px; min-width: 130px; }
.st-rtab .input { width: 90px; text-align: right; }
.st-rtot { font-size: 1.1rem; text-align: right; }
.st-rtot b { font-family: var(--nx-display, inherit); font-size: 1.35rem; }
.st-refund { white-space: pre-wrap; font: inherit; font-size: 1.05rem; text-align: left; background: var(--nx-chip, #f4f4f4); padding: 10px 12px; border-radius: 12px; }
.st-menu { display: grid; gap: 8px; }
.st-menu .btn { justify-content: flex-start; min-height: 56px; }

/* телефон вертикально: вкладки «Чек / Товары» */
.st[data-till="port"] { grid-template-rows: 56px auto minmax(0, 1fr); }
.st[data-till="port"] .st-title span, .st[data-till="port"] .st-ic span { display: none; }
.st[data-till="port"] .st-ic { width: 46px; height: 46px; }
.st[data-till="port"] .nx-brand { padding-left: 10px; }
.st[data-till="port"] .st-title b { font-size: .92rem; }
.st[data-till="port"] .st-shift .shift-btn span:last-child { max-width: 74px; overflow: hidden; text-overflow: ellipsis; }
.st[data-till="port"] .st-pt button { padding: 0 10px; min-height: 36px; font-size: .78rem; }
.st[data-till="port"] .st-cloud { display: none; }
.st[data-till="port"] .st-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 10px; background: var(--nx-top); border-bottom: 1px solid var(--nx-line); }
.st[data-till="port"] .st-tabs button { min-height: 44px; border-radius: 12px; border: 1px solid var(--nx-line); background: var(--nx-chip); color: var(--nx-ink-2); font: inherit; font-weight: 600; font-size: .88rem; }
.st[data-till="port"] .st-tabs button[aria-pressed="true"] { background: var(--nx-ink); color: var(--nx-bg); border-color: var(--nx-ink); }
.st[data-till="port"] .st-main { grid-template-columns: minmax(0, 1fr); }
.st[data-till="port"][data-pane="cat"] .st-cart, .st[data-till="port"][data-pane="cart"] .st-cat { display: none; }
.st[data-till="port"] .st-cart { border-right: 0; }
.st[data-till="port"] .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 2px 10px 14px; }
.st[data-till="port"] .st-t-main { min-height: 100px; padding: 10px 30px 8px 12px; }
.st[data-till="port"] .st-search { padding: 10px 10px 6px; }
.st[data-till="port"] .st-scan-ic { left: 22px; }
.st[data-till="port"] .st-cam span { display: none; }
.st[data-till="port"] .st-groups { padding: 0 10px 8px; }
.st[data-till="port"] .st-line { grid-template-columns: minmax(0, 1fr) auto 36px; grid-template-areas: "n n x" "q p x"; row-gap: 6px; }
.st[data-till="port"] .st-l-n { grid-area: n; }
.st[data-till="port"] .st-l-q { grid-area: q; }
.st[data-till="port"] .st-l-p { grid-area: p; }
.st[data-till="port"] .st-rm { grid-area: x; align-self: start; }
.st[data-till="port"] .st-act { grid-template-columns: 1fr 1fr; }
.st[data-till="port"] .st-pay { grid-column: 1 / -1; }
.st[data-till="port"] .st-client { max-width: 48%; }
.st[data-till="port"] .st-who { flex: 1 1 100%; }
.st[data-till="port"] .st-who .st-client { flex: 1 1 0; max-width: none; }
/* телефон боком: две колонки, плотнее */
.st[data-till="land"] { grid-template-rows: 52px minmax(0, 1fr); }
.st[data-till="land"] .st-main { grid-template-columns: minmax(300px, 46%) minmax(0, 1fr); }
.st[data-till="land"] .st-ic { width: 52px; height: 46px; }
.st[data-till="land"] .st-ic span, .st[data-till="land"] .st-title span { display: none; }
.st[data-till="land"] .st-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; }
.st[data-till="land"] .st-t-main { min-height: 84px; }
.st[data-till="land"] .st-search .input, .st[data-till="land"] .st-cam { min-height: 46px; }
.st[data-till="land"] .st-b { min-height: 48px; }
.st[data-till="land"] .st-pay { min-height: 50px; }
.st[data-till="land"] .st-line { padding: 6px 4px; }
.st[data-till="land"] { padding-left: env(safe-area-inset-left, 0); padding-right: env(safe-area-inset-right, 0); }

/* ---------- бэк-офис магазина ---------- */
.sh-goods-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.sh-goods-head .input[type=search] { flex: 1; min-width: 220px; }
.sh-chip { display: inline-block; border-radius: 6px; padding: 1px 7px; font-size: .75rem; font-weight: 700; border: 1px solid currentColor; opacity: .85; margin-left: 4px; }
.sh-var-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin: 6px 0 10px; }
.sh-var-tools .field { min-width: 180px; flex: 1; }
.sh-vars .input { min-width: 70px; }
.sh-vars td { vertical-align: middle; }
.sh-vars .mono { font-size: .82rem; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.sh-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 12px; }
.sh-kpi { border-radius: 16px; padding: 12px 14px; border: 1px solid var(--line, rgba(255,255,255,.14)); background: var(--surface, rgba(255,255,255,.06)); }
.sh-kpi span { display: block; font-size: .8rem; opacity: .75; }
.sh-kpi b { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.sh-age-60 { color: #FF8A80; font-weight: 700; }
.sh-scan { display: flex; gap: 8px; margin: 8px 0 12px; }
.sh-scan .input { flex: 1; min-height: 48px; font-size: 1.05rem; }
.lbl-ctrl { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 10px; }
.lbl-ctrl .field { min-width: 260px; }
.lbl-q { display: flex; gap: 6px; }
.lbl-rows .input { width: 80px; text-align: right; }
.lbl-ph { margin: 14px 0 6px; font-size: .95rem; }
.lbl-preview { border-radius: 12px; overflow: hidden; border: 1px solid var(--line, #ccc); background: #e9ece9; }
.lbl-frame { width: 100%; height: 360px; border: 0; display: block; background: #e9ece9; }
.cl-debt { font-weight: 700; }
.cl-debt.neg { color: #FF8A80; }

/* §66 мастер первого запуска: «Кафе» / «Магазин» */
.lw-biz { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 14px; }
.lw-biz .lw-biz-t { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); min-height: 92px; }
.lw-biz .lw-biz-t[aria-checked="true"] { box-shadow: inset 0 0 0 2px rgba(43, 212, 125, .9); background: rgba(43, 212, 125, .1); }
.lw-biz .lw-biz-t b { font-size: 17px; }
.biz-seg { margin-bottom: 6px; }
.biz-seg button { min-height: 40px; padding: 0 18px; }
.gd-neg { color: #FF8A80; }
:root:not([data-theme="dark"]) .gd-neg { color: #C2362B; }
/* ссылки-кнопки в таблицах магазина и поля на две колонки */
button.link { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: rgba(127, 127, 127, .45); text-underline-offset: 3px; }
button.link:hover { text-decoration-color: currentColor; }
.form-grid .span-2 { grid-column: span 2; }
@media (max-width: 760px) { .form-grid .span-2 { grid-column: 1 / -1; } }

/* §67 оприходование из Excel */
.xl-sum { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 6px 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--nx-accent-soft); }
.xl-sum b { font-variant-numeric: tabular-nums; }
.xl-errs { border-color: var(--nx-neg, #E5484D); margin-bottom: 12px; }
.xl-errs ul { margin: 6px 0 0; padding-left: 18px; }
.xl-tbl { max-height: 46vh; overflow: auto; }
.xl-bad td { background: color-mix(in srgb, var(--nx-neg, #E5484D) 10%, transparent); }
.xl-st { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.xl-st.ok { background: var(--nx-line); color: var(--nx-ink-2); }
.xl-st.new { background: var(--nx-accent-soft); color: var(--nx-accent-text); }
.xl-st.err { background: color-mix(in srgb, var(--nx-neg, #E5484D) 18%, transparent); color: var(--nx-neg, #E5484D); }
dialog.modal.lg.xl-modal { width: min(1180px, calc(100vw - 24px)); }
.st[data-till="port"] .st-title { display: none; }
.st[data-till="port"] .st-shift .shift-btn:not(.closed) > span:not(.shift-dot) { display: none; }
.st[data-till="port"] .st-shift .shift-btn:not(.closed) { min-width: 44px; padding: 0 12px; justify-content: center; }
/* §82 кнопка «В долг» на кассе магазина */
.st-act:has(#st-credit) { grid-template-columns: auto auto auto minmax(0, 1fr); }
.st[data-till="port"] .st-act:has(#st-credit) { grid-template-columns: 1fr 1fr 1fr; }
.st[data-till="port"] .st-act:has(#st-credit) .st-pay { grid-column: 1 / -1; }
.st-credit { color: #F5B544; border-color: rgba(245, 181, 68, .45); }

/* §117 камера для штрихкода: рамка вытянутая — штрихкод шире, чем QR */
.qrs-frame-bc { top: 44%; width: min(88vw, 520px); aspect-ratio: 2.4 / 1; border-radius: 14px; }
.qrs-bc .qrs-hint { top: calc(44% + min(18vw, 110px) + 16px); }
.sh-scan .btn-cam { padding-inline: 12px; }
