/* QR-A: the HTML first page of /b/ and /o/ (web/shell.js). Same tokens as
   the Flutter UI (AnbTokens.light) and the mockup. External file: the CSP
   needs no hash. */
#anbqr-shell {
  --sh-canvas: #FFFFFF; --sh-rail: #F4F4F4; --sh-primary: #FFC72C; --sh-on-primary: #171717;
  --sh-text: #171717; --sh-muted: #5C5C5C; --sh-border: #D8D8D8; --sh-error: #AC2525;
  --sh-photo: rgba(255, 199, 44, .35); --sh-focus: #175CB0;
  position: fixed; inset: 0; z-index: 2; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--sh-canvas); color: var(--sh-text);
  font: 400 15px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  opacity: 1; transition: opacity .2s ease;
}
#anbqr-shell.sh-out { opacity: 0; pointer-events: none; }
#anbqr-shell * { box-sizing: border-box; }
#anbqr-shell button { font: inherit; color: inherit; }
#anbqr-shell :focus-visible { outline: 3px solid var(--sh-focus); outline-offset: 2px; }
.sh-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--sh-border); }
.sh-logo { width: 26px; height: 26px; border-radius: 7px; background: var(--sh-primary); flex: 0 0 auto; object-fit: cover; }
.sh-top h1 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.2; }
.sh-top p { margin: 0; font-size: 12px; color: var(--sh-muted); }
.sh-cats { display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px 4px; scrollbar-width: none; }
.sh-cats::-webkit-scrollbar { display: none; }
.sh-cat { flex: 0 0 auto; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--sh-rail); font-weight: 700; cursor: pointer; }
.sh-cat[aria-selected="true"] { background: var(--sh-primary); color: var(--sh-on-primary); }
.sh-items { list-style: none; margin: 0; padding: 4px 14px 96px; display: grid; grid-template-columns: 1fr; column-gap: 12px; }
@media (min-width: 600px) { .sh-items { grid-template-columns: 1fr 1fr; } }
.sh-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 82px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--sh-border); background: none; text-align: start; cursor: pointer; }
.sh-item[aria-disabled="true"] { opacity: .5; cursor: default; }
.sh-photo { width: 74px; height: 62px; flex: 0 0 auto; border-radius: 8px; background: var(--sh-photo); object-fit: cover; }
.sh-body { flex: 1 1 auto; min-width: 0; }
.sh-name { display: block; font-weight: 800; }
.sh-desc { display: block; font-size: 12px; color: var(--sh-muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sh-price { display: inline-block; margin-top: 2px; font-weight: 800; direction: ltr; unicode-bidi: isolate; }
.sh-sold { margin-inline-start: 6px; color: var(--sh-error); }
.sh-add { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 8px; background: var(--sh-primary); color: var(--sh-on-primary); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; line-height: 1; }
.sh-bar { position: fixed; inset-inline: 12px; bottom: 12px; min-height: 52px; border: 0; border-radius: 8px; background: var(--sh-primary); color: var(--sh-on-primary); font-weight: 800; cursor: pointer; }
.sh-status { position: fixed; inset-inline: 12px; bottom: 72px; margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--sh-text); color: var(--sh-canvas); text-align: center; font-weight: 600; }
.sh-status:empty { display: none; }
.sh-error { padding: 48px 24px; text-align: center; font-size: 20px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { #anbqr-shell { transition: none; } }
