/* «Магазин» (catalog, stock, purchasing, loyalty, reports, accounting exchange) and the POS register.
   Only tokens from tokens.css; layout follows app.css (mobile first, container queries on .qapp). */

/* ---------- shared ---------- */
.sp-tabs { margin-top: calc(-1 * var(--s-2)); }
.sp-searchrow { display: flex; gap: var(--s-2); align-items: center; min-width: 0; }
.sp-searchrow .inputwrap { min-width: 0; }
.sp-thumb { width: 44px; height: 44px; border-radius: var(--r-2); flex: none; display: grid; place-items: center; border: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 8px, var(--surface-3) 8px 16px); color: var(--muted); overflow: hidden; }
.sp-thumb span { font: 500 9px/1.1 var(--font-mono); text-align: center; padding: 2px; overflow-wrap: anywhere; }
.sp-thumb.sm { width: 36px; height: 36px; }
.sp-thumb.lg { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: var(--r-2); }
.sp-thumb.lg span { font-size: 11px; }
.sp-2l { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.li.sp-sel { background: var(--accent-soft); }
.sp-bulk { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; padding: var(--s-2) var(--s-3); border-radius: var(--r-2); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.sp-mini-table { display: flex; flex-direction: column; gap: 8px; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface-2); }
.sp-mini-table .row { gap: var(--s-2); }
.sp-copyrow { display: grid; grid-template-columns: minmax(0, 1fr) 88px; gap: var(--s-2); align-items: center; }
.sp-attr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.li.sp-next { background: color-mix(in oklch, var(--ok-soft) 60%, transparent); }
.sp-method { display: flex; flex-direction: column; gap: 6px; padding: var(--s-3) var(--s-4); border-radius: var(--r-2); border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.sp-method.on { border-color: var(--accent-line); background: var(--accent-soft); }
.sp-pl { cursor: pointer; }
.sp-pl:hover { border-color: var(--line-strong); }
.sp-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.sp-kpis .stat { padding: var(--s-3) var(--s-4); }
.sp-kpis .stat .v { font-size: var(--fs-l); }
.sp-note { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--muted); }
.sp-doc-lines .li { cursor: default; align-items: flex-start; }
.sp-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-2); overflow: hidden; background: var(--surface); flex: none; }
.sp-qty button { width: 36px; height: 36px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--text-2); }
.sp-qty b { min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; font-size: var(--fs-m); }
.sp-diff-pos { color: var(--ok); font-weight: 600; }
.sp-diff-neg { color: var(--danger); font-weight: 600; }
.sp-progress { display: flex; flex-direction: column; gap: 6px; }

/* photos */
.sp-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.sp-photos .ph { aspect-ratio: 1; }
.sp-photos .sp-ph1 { grid-column: span 3; aspect-ratio: 16 / 10; }
.sp-phadd { aspect-ratio: 1; border-radius: var(--r-2); border: 1.5px dashed var(--line-strong); background: transparent; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }

/* camera scanner (catalog search, stock count, receiving) */
.sp-cam { position: relative; height: 220px; border-radius: var(--r-3); overflow: hidden; background: oklch(0.2 0.01 275); display: grid; place-items: center; }
.sp-cam::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, oklch(0.24 0.01 275) 0 14px, oklch(0.21 0.01 275) 14px 28px); }
.sp-cam-frame { position: relative; width: 72%; height: 44%; border-radius: 12px; box-shadow: 0 0 0 999px oklch(0 0 0 / 0.35); border: 2px solid oklch(0.98 0 0 / 0.9); }
.sp-cam-line { position: absolute; left: 18%; right: 18%; top: 50%; height: 2px; background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.sp-cam-hint { position: absolute; left: 12px; right: 12px; bottom: 10px; color: oklch(0.96 0 0); font-size: var(--fs-xs); text-align: center; }
.li.sp-found { border: 1px solid var(--ok); border-radius: var(--r-2); background: var(--ok-soft); }

/* labels preview */
.sp-labels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); padding: var(--s-3); border-radius: var(--r-2); background: var(--surface-2); border: 1px solid var(--line); }
.sp-label { background: var(--paper); color: var(--paper-ink); border: 1px solid var(--paper-line); border-radius: 6px; padding: 8px; display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 11px; }
.sp-label b { font-size: 11px; }
.sp-bars { height: 26px; background: repeating-linear-gradient(90deg, var(--paper-ink) 0 1px, transparent 1px 3px, var(--paper-ink) 3px 5px, transparent 5px 6px, var(--paper-ink) 6px 7px, transparent 7px 9px); }

/* expiry and stock strips */
.sp-exp { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); font-weight: 600; }
.sp-exp.soon { color: var(--warn); }
.sp-exp.over { color: var(--danger); }
.sp-stockbar { display: flex; gap: 2px; height: 6px; border-radius: 3px; overflow: hidden; background: var(--surface-3); }
.sp-stockbar i { display: block; height: 100%; }

/* timeline of a document (status steps) */
.sp-steps { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.sp-steps .stepper { font-size: var(--fs-xs); }
.sp-steps .stepper + .stepper::before { content: ""; width: 12px; height: 2px; background: var(--line-strong); border-radius: 1px; }

@container qapp (min-width: 720px) {
  .sp-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sp-kpis .stat .v { font-size: var(--fs-xl); }
  .sp-attr { grid-template-columns: 160px minmax(0, 1fr); align-items: center; }
  .sp-cam { height: 260px; }
  .sp-labels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container qapp (min-width: 1024px) {
  .sp-tabs { margin-top: calc(-1 * var(--s-3)); }
}

/* ---------- stock helpers ---------- */
.sp-whrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
@container qapp (min-width: 480px) { .sp-whrow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sp-whrow span { display: flex; flex-direction: column; gap: 0; padding: 4px 6px; border-radius: 6px; background: var(--surface-2); min-width: 0; }
.sp-whrow span i { font-style: normal; font-size: 10.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-whrow span b { font-size: var(--fs-s); }
.sp-whrow span.low { background: var(--warn-soft); }
.sp-whrow span.low b { color: var(--warn); }
.sp-qtyin { width: 76px; flex: none; text-align: right; }
.sp-callbtn { margin-top: 8px; }
.sp-cam.tall { height: 300px; }
.sp-scanpage { min-height: 100vh; max-height: 100%; display: flex; flex-direction: column; background: var(--bg); }
.sp-scanbody { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-4); width: 100%; max-width: 560px; margin: 0 auto; }

/* ---------- POS register ---------- */
.pos { display: flex; flex-direction: column; height: 100vh; max-height: 100%; min-height: 0; background: var(--bg); overflow: hidden; }
.pos-top { display: flex; align-items: center; gap: var(--s-2); padding: 6px var(--s-2); min-height: 56px; background: var(--surface); border-bottom: 1px solid var(--line); flex: none; }
.pos-where { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; line-height: 1.25; }
.pos-where b { font-size: var(--fs-s); }
.pos-where span { font-size: var(--fs-xs); color: var(--muted); }
.pos-net { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; flex: none; }
.pos-net i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pos-net.off { background: var(--warn-soft); color: var(--warn); }
.pos-offbar { display: flex; align-items: center; gap: var(--s-2); padding: 8px var(--s-4); background: var(--warn-soft); color: var(--text); border-bottom: 1px solid color-mix(in oklch, var(--warn) 35%, transparent); font-size: var(--fs-s); flex: none; }
.pos-offbar > svg { color: var(--warn); }
.desk-inline { display: none; }
.pos-phtabs { padding: var(--s-2) var(--s-4) 0; flex: none; }
.pos-phtabs .seg { width: 100%; }
.pos-phtabs .seg button { flex: 1 1 0; justify-content: center; }
.pos-body { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.pos-pick { display: none; flex-direction: column; gap: var(--s-3); padding: var(--s-3) var(--s-4) var(--s-4); overflow-y: auto; min-height: 0; }
.pos.show-goods .pos-pick { display: flex; }
.pos.show-goods .pos-cart { display: none; }
.pos-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: none; }
.pos-cats::-webkit-scrollbar { display: none; }
.pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--s-2); }
.pos-tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: var(--s-2); border-radius: var(--r-3); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); text-align: left; cursor: pointer; min-width: 0; }
.pos-tile:hover { border-color: var(--line-strong); }
.pos-tile.in { border-color: var(--accent-line); box-shadow: 0 0 0 2px var(--accent-soft); }
.pos-tile .nm { font-size: var(--fs-s); font-weight: 560; line-height: 1.3; min-height: 2.6em; }
.pos-tile b { font-size: var(--fs-s); }
.pos-incart { position: absolute; top: 6px; right: 6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.pos-low { color: var(--warn); font-weight: 600; }
.pos-cart { display: flex; flex-direction: column; min-height: 0; background: var(--surface); }
.pos-cust { display: flex; align-items: center; gap: var(--s-3); margin: var(--s-3) var(--s-4) 0; padding: 10px 12px; border-radius: var(--r-2); border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; min-width: 0; flex: none; }
.pos-cust.add { border-style: dashed; color: var(--text-2); }
.pos-lines { flex: 1 1 auto; overflow-y: auto; min-height: 0; padding: var(--s-1) var(--s-4); }
.pos-line { display: flex; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.pos-line:last-child { border-bottom: 0; }
.pos-promo { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs); color: var(--ok); font-weight: 560; }
.pos-empty { flex: 1 1 auto; display: grid; place-items: center; min-height: 0; overflow: auto; }
.pos-cartfoot { flex: none; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.pos-totals { display: flex; flex-direction: column; gap: 4px; }
.pos-grand { font-size: var(--fs-l); padding-top: 4px; }
.pos-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pos-acts .btn { padding: 0 6px; min-width: 0; }
.pos-paybtn { min-height: 56px; justify-content: space-between; padding: 0 var(--s-5); font-size: var(--fs-l); border-radius: var(--r-3); }
.pos-scan { position: absolute; inset: 0; z-index: 30; background: var(--bg); display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-4); overflow-y: auto; }
.pos-scan .sp-cam { flex: 1 1 auto; min-height: 220px; height: auto; }
.pos-center { flex: 1 1 auto; display: grid; place-items: center; padding: var(--s-4); overflow-y: auto; min-height: 0; }
.pos-lock { flex: 1 1 auto; display: grid; place-items: center; padding: var(--s-4); overflow-y: auto; min-height: 0; }
.pos-who { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px; border-radius: var(--r-3); border: 1px solid transparent; background: transparent; cursor: pointer; width: 84px; }
.pos-who.on { border-color: var(--accent-line); background: var(--accent-soft); }
.pos-who span { max-width: 100%; }
.pos-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 320px; }
.pos-keys button { height: 52px; border-radius: var(--r-2); border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-xl); font-weight: 600; cursor: pointer; display: grid; place-items: center; color: var(--text); font-variant-numeric: tabular-nums; }
.pos-keys button:active { background: var(--surface-2); }
.pos-paytop { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-2); background: var(--surface-2); }
.pos-paytop b { font-size: var(--fs-2xl); font-weight: 680; letter-spacing: -0.02em; }
.pos-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.pos-method { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: var(--s-3); min-height: 72px; border-radius: var(--r-2); border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; text-align: left; color: var(--text); }
.pos-method.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pos-method[disabled] { opacity: 0.55; cursor: not-allowed; }
.pos-method span { color: var(--muted); }
.pos-bigin { min-height: 56px; font-size: var(--fs-xl); font-weight: 650; }
.pos-change { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); min-height: 44px; padding: 8px 12px; border-radius: var(--r-2); background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.pos-change b { font-size: var(--fs-l); }
.pos-change.bad { background: var(--danger-soft); color: var(--danger); }
.pos-idram { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-items: center; }
.pos-qr { width: 180px; height: 180px; margin: 0 auto; }
.pos-part { display: grid; grid-template-columns: auto minmax(0, 1fr) 120px auto; gap: var(--s-2); align-items: center; }
.pos-bonusrow { gap: 6px; padding-top: var(--s-2); border-top: 1px dashed var(--line); }
.pos-payfoot { display: flex; flex-direction: column; gap: var(--s-2); }
.pos-paydo { min-height: 52px; font-size: var(--fs-l); }
.pos-done { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.pos-paper { width: min(300px, 100%); margin: 0 auto; background: var(--paper); color: var(--paper-ink); border: 1px solid var(--paper-line); border-radius: 4px; padding: 14px 14px 18px; font: 12px/1.5 var(--font-mono); display: flex; flex-direction: column; gap: 2px; text-align: center; box-shadow: var(--shadow-1); }
.pos-paper hr { border: 0; border-top: 1px dashed var(--paper-line); margin: 6px 0; width: 100%; }
.pos-paper .pl { display: flex; justify-content: space-between; gap: 8px; text-align: left; min-width: 0; }
.pos-paper .pl > :first-child { min-width: 0; }
.pos-paper .pl > :last-child { white-space: nowrap; }
.pos-paperqr { width: 92px; height: 92px; margin: 10px auto 0; background:
  conic-gradient(from 90deg at 30% 30%, var(--paper-ink) 25%, transparent 0) 0 0 / 18px 18px,
  repeating-linear-gradient(0deg, var(--paper-ink) 0 3px, transparent 3px 7px); opacity: 0.85; border: 6px solid var(--paper); outline: 1px solid var(--paper-line); }
.pos-vargrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.pos-var { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: var(--r-2); border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; color: var(--text); text-align: left; }
.pos-var.on { border-color: var(--accent); background: var(--accent-soft); }
.pos-var span { color: var(--muted); }
.pos-var[disabled] { opacity: 0.5; cursor: not-allowed; }
.pos-conf { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-2); border: 1px solid color-mix(in oklch, var(--warn) 40%, var(--line)); background: var(--warn-soft); }
.pos-scroll { flex: 1 1 auto; overflow-y: auto; min-height: 0; padding: var(--s-4); }
.pos-code { font-size: var(--fs-2xl); font-weight: 600; letter-spacing: 0.08em; }

@container qapp (min-width: 720px) {
  .desk-inline { display: inline; }
  .pos-top { padding: 6px var(--s-4); }
  .pos-where b { font-size: var(--fs-m); }
  .pos-phtabs { display: none; }
  .pos-body { grid-template-columns: minmax(0, 1fr) 340px; }
  .pos-pick, .pos.show-goods .pos-pick { display: flex; padding: var(--s-4); }
  .pos-cart, .pos.show-goods .pos-cart { display: flex; border-left: 1px solid var(--line); }
  .pos-methods { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pos-idram { grid-template-columns: 200px minmax(0, 1fr); }
  .pos-done { grid-template-columns: minmax(0, 1fr) 300px; }
  .pos-vargrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@container qapp (min-width: 1024px) {
  .pos-body { grid-template-columns: minmax(0, 1fr) 380px; }
  .pos-grid { grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); }
}

/* register on a short screen (phone or small tablet held horizontally) */
@media (max-height: 520px) {
  .pos-top { min-height: 46px; padding-top: 2px; padding-bottom: 2px; }
  .pos-phtabs { padding-top: 6px; }
  .pos-phtabs .seg button { min-height: 28px; }
  .pos-cust { margin: 6px var(--s-4) 0; padding: 6px 10px; }
  .pos-cust .av { width: 28px; height: 28px; }
  .pos-totals { display: none; }
  .pos-cartfoot { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s-2); padding: 8px var(--s-4); }
  .pos-acts { grid-template-columns: repeat(3, 44px); }
  .pos-acts .btn { width: 44px; min-height: 44px; padding: 0; }
  .pos-actl { display: none; }
  .pos-paybtn { min-height: 44px; font-size: var(--fs-m); }
  .pos-tile .sp-thumb.lg { aspect-ratio: 5 / 2; }
  .pos-line { padding: var(--s-2) 0; }
}
.pos-keys.pay { display: none; }
.pos-payfoot { position: sticky; bottom: calc(-1 * var(--s-6)); margin: 0 calc(-1 * var(--s-4)) calc(-1 * var(--s-6)); padding: var(--s-3) var(--s-4) var(--s-4); background: var(--surface); border-top: 1px solid var(--line); z-index: 1; }
@container qapp (min-width: 720px) {
  .pos-keys.pay { display: grid; }
  .pos-payfoot { margin: 0 calc(-1 * var(--s-6)) calc(-1 * var(--s-6)); padding: var(--s-3) var(--s-6) var(--s-5); }
}

/* ---------- accounting exchange ---------- */
.sp-acclogo { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; font: 700 13px var(--font-ui); letter-spacing: -0.02em; }
.sp-acclogo.as { background: color-mix(in oklch, var(--st-1) 16%, var(--surface)); color: var(--st-1); }
.sp-acclogo.onec { background: color-mix(in oklch, var(--st-6) 16%, var(--surface)); color: var(--st-6); }
.sp-acclogo.csv { background: var(--ok-soft); color: var(--ok); }
.sp-accpick { display: flex; align-items: center; gap: var(--s-3); width: 100%; padding: var(--s-3); border-radius: var(--r-2); border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; text-align: left; color: var(--text); min-width: 0; }
.sp-accpick:hover { background: var(--surface-2); }
.sp-accpick.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.sp-acgrid { gap: 0 var(--s-4); }
.set-maprow.sp-miss { background: var(--warn-soft); }
.pos-methods.sp-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pos-method b { overflow-wrap: anywhere; }
@container qapp (min-width: 720px) { .pos-methods.sp-kinds { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sp-scanbody .pos-offbar { border-radius: var(--r-2); border: 1px solid color-mix(in oklch, var(--warn) 35%, transparent); }
.sp-scanbody > .row:last-child { flex-wrap: wrap; }
.pos-cashier { display: none; }
@container qapp (min-width: 1024px) { .pos-cashier { display: inline; } }
.pos-lg { display: none; }
@container qapp (min-width: 720px) { .pos-sm { display: none; } .pos-lg { display: inline; } }
.pos-scan > .row { flex-wrap: wrap; }
@media (max-height: 520px) {
  .pos-payword { display: none; }
  .pos-paybtn { justify-content: center; padding: 0 var(--s-3); }
}
@media (max-height: 520px) {
  .pos .scrim .sheet { max-height: 98%; padding-top: var(--s-3); }
  .pos .sheet-h { margin-bottom: var(--s-2); }
  .pos-paytop { padding: 6px var(--s-3); }
  .pos-paytop b { font-size: var(--fs-xl); }
  .pos-method { min-height: 44px; flex-direction: row; align-items: center; padding: 6px 10px; }
  .pos-payfoot { padding-top: var(--s-2); padding-bottom: var(--s-3); }
  .pos-payfoot > .xs { display: none; }
  .pos-paydo { min-height: 44px; }
}
@media (max-height: 520px) { .pos-keys.pay { display: none; } }

/* nested scroll areas keep the wheel/finger at their ends while they overflow (q-contain, packages/ui/src/styles/app.css) */
.pos-pick, .pos-lines, .pos-empty, .pos-scan, .pos-center, .pos-lock, .pos-scroll { animation: q-contain-y linear both !important; animation-timeline: scroll(self block) !important; }
.pos-cats { animation: q-contain-x linear both !important; animation-timeline: scroll(self inline) !important; }
