/* ═════════════ The scanner follows the site's look (the owner's goal 3 and ruling, 12 November 2026) ═════════════
   The scanner's app and its sample codes were drawn on a white panel in both device settings, so on a dark phone the
   page had a white block in it. They are this site's own tool, not a mirror of a product that ships elsewhere, so here
   every surface, edge and word of the app takes the look's tokens (`.skin-site`; site-src/v4/tokens.mjs stops forcing
   the light look on it). Style only: no rule here changes what the scanner does, and its markup is untouched.
   What stays as it was, on purpose: the camera's view is dark in both looks (it is a view through a camera); the marks the
   scanner draws over a live picture keep their own colour (tools/qr-scanner/scanner.css: they must show on any picture);
   a code is drawn dark on a light ground, or it could not be scanned. */
.skin.skin-site {
  --bg: var(--raised); --paper-fill: var(--raised); --g-top: var(--raised); --g-bot: var(--raised); --g-edge: var(--rule); --g-hi: var(--raised); --g-solid: var(--raised);
  --btn-ink: var(--paper); --btn2: var(--well); --btn2-hover: var(--well); --well2: var(--well);
  --dot: var(--rule); --line: var(--rule); --hairline: var(--ink-3);
  --edge: inset 0 0 0 1px var(--ink-3); --ring: 0 0 0 2px var(--ink);
  --lime-ink: var(--ink); --lime-well: var(--well); --warn-ink: var(--ink); --danger-ink: var(--red-text);
  /* the app's lime (its idle frame, a dragged photo's edge) is the colour of the words beside it: nothing of the site is lime but the wordmark */
  --lime: currentColor;
  color: var(--ink);
}
/* the numbered marks were lime discs: here they are the page's ink, as every other numbered thing on the site is */
.skin-site .num-badge, .skin-site .pick .num, .skin-site .step-n { background: var(--ink); color: var(--paper); }
.skin-site .zoom input { accent-color: var(--ink); }
.skin-site .seg button[aria-pressed="true"], .skin-site .seg button[aria-checked="true"] { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--lens-rim); background: var(--lens); }
.skin-site .chip-btn[aria-pressed="true"] { box-shadow: none; }
.skin-site .source, .skin-site .score, .skin-site .zone-phone, .skin-site .node .icon-well, .skin-site .src-fields li { box-shadow: none; }
/* a code keeps its white ground and dark ink in both looks (tokens --code-ground, --code-ink: the same in light and dark), with a quiet edge,
   so it reads as a printed card and a camera can scan it. (It took the page's ground before, which is dark at night: the codes vanished.) */
.skin-site .sample .code-face { background: var(--code-ground); color: var(--code-ink); box-shadow: inset 0 0 0 1px var(--line); }
.skin-site .ean-digits { color: var(--code-ink); }
/* the app's sheet sits on the page's column, with room inside it for its own title */
@media (max-width: 699.98px) { .skin-site .panel { margin-inline: 0; padding: 22px 16px 24px; border-radius: 28px; } }
/* its words, at reading size */
.skin-site .scan-ui .idle p, .skin-site .scanner .hint, .skin-site .empty-result p, .skin-site .privacy-line, .skin-site .result .nt { font-size: var(--t-body); line-height: 1.5; }

/* the code that opens the scanner on a phone: print, dark on light in both looks, on a tile of its own (tokens: .skin-site .code-tile) */
.skin-site .open-phone .code-tile { background: var(--code-ground); color: var(--code-ink); box-shadow: inset 0 0 0 1px var(--line); }
