/* BlankQR: printed labels. Black ink on white label stock, lying on a backing sheet: grey by day; by night black that fades to slate blue,
   with a pane of frosted glass beside the content (the backdrop rules below). Labels, ink and buttons have no other colour. */
@font-face { font-family: "BQ Sans"; font-weight: 900; font-display: swap; src: url(/static/bq-sans-black.woff2) format("woff2"); }
@font-face { font-family: "BQ Sans"; font-weight: 400; font-display: swap; src: url(/static/bq-sans-regular.woff2) format("woff2"); }
@font-face { font-family: "BQ Mono"; font-weight: 700; font-display: swap; src: url(/static/bq-mono-bold.woff2) format("woff2"); }

/* --fg is the ink, --bg the surface it sits on, --knock the colour of words on a solid ink shape. A label resets all three, so it is white with black ink in both themes. */
:root {
  --fg: #000; --bg: #e8e8e8; --knock: #fff;
  --line: 3px; --thin: 2px; --r: 18px; --r2: 9px;
  --sans: "BQ Sans", Lato, "Helvetica Neue", Arial, sans-serif;
  --mono: "BQ Mono", "DejaVu Sans Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) { :root { --fg: #fff; --bg: #000; --knock: #000; } }
/* The night backdrop, two layers fixed behind every page. --bg stays flat black: fields, the dialog and the sticky bars still paint it.
   1. body::before: black at the top left fading to slate blue at the bottom right, with blurred QR squares over it. White ink sits on this
      layer (a rule that overrides one further down the file must sit below it, not in this block), so its lightest point (#485a70 under a square at 16% white) keeps white words above 4.5 to 1 (computed: 4.75).
   2. body::after: the frosted pane. Its box starts 548 px from the middle: the column is 1120 px wide with 20 px padding, so words end at
      540 px and the pane begins 8 px past them, never under a word; windows no wider than the column have no pane. Its mask keeps the diagonal: at 100deg a point's place on the mask line is
      0.985 x + 0.174 y, so along the box's left edge it never passes 0.174 of the height, and the pane is clear until 18vh. It fades in
      from the bottom of the column's edge up to the right. The same squares show through it in blue-grey.
   The squares are drawn by tools/backdrop.js (the eye and modules of a QR code); the two values below are its output.
   Not for print, and not where the visitor's system forces its own colours. */
@media screen and (prefers-color-scheme: dark) and (forced-colors: none) {
  body {
  --sq-night: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 900'%3E%3Cdefs%3E%3Cfilter id='b1' x='-30%' y='-30%' width='160%' height='160%'%3E%3CfeGaussianBlur stdDeviation='1'/%3E%3C/filter%3E%3Cfilter id='b1_5' x='-30%' y='-30%' width='160%' height='160%'%3E%3CfeGaussianBlur stdDeviation='1.5'/%3E%3C/filter%3E%3Cfilter id='b2_5' x='-30%' y='-30%' width='160%' height='160%'%3E%3CfeGaussianBlur stdDeviation='2.5'/%3E%3C/filter%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0.55' y2='0.55'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='1200' height='900' fill='url(%23f)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg fill='%23fff' opacity='.16'%3E%3Cg transform='translate(905 585) rotate(-14)' filter='url(%23b2_5)'%3E%3Cpath fill-rule='evenodd' d='M-93.6 -126h187.2a32.4 32.4 0 0 1 32.4 32.4v187.2a32.4 32.4 0 0 1 -32.4 32.4h-187.2a32.4 32.4 0 0 1 -32.4 -32.4v-187.2a32.4 32.4 0 0 1 32.4 -32.4zM-90 -90v180h180v-180z'/%3E%3Crect x='-54' y='-54' width='108' height='108' rx='18'/%3E%3C/g%3E%3Cg transform='translate(1085 235) rotate(17)' filter='url(%23b1_5)'%3E%3Cpath fill-rule='evenodd' d='M-49.4 -66.5h98.8a17.1 17.1 0 0 1 17.1 17.1v98.8a17.1 17.1 0 0 1 -17.1 17.1h-98.8a17.1 17.1 0 0 1 -17.1 -17.1v-98.8a17.1 17.1 0 0 1 17.1 -17.1zM-47.5 -47.5v95h95v-95z'/%3E%3Crect x='-28.5' y='-28.5' width='57' height='57' rx='10'/%3E%3C/g%3E%3Cg transform='translate(610 790) rotate(8)' filter='url(%23b1_5)'%3E%3Cpath fill-rule='evenodd' d='M-33.8 -45.5h67.6a11.700000000000001 11.700000000000001 0 0 1 11.700000000000001 11.700000000000001v67.6a11.700000000000001 11.700000000000001 0 0 1 -11.700000000000001 11.700000000000001h-67.6a11.700000000000001 11.700000000000001 0 0 1 -11.700000000000001 -11.700000000000001v-67.6a11.700000000000001 11.700000000000001 0 0 1 11.700000000000001 -11.700000000000001zM-32.5 -32.5v65h65v-65z'/%3E%3Crect x='-19.5' y='-19.5' width='39' height='39' rx='7'/%3E%3C/g%3E%3Cg transform='translate(330 240) rotate(-11)' filter='url(%23b1_5)'%3E%3Cpath fill-rule='evenodd' d='M-39 -52.5h78a13.5 13.5 0 0 1 13.5 13.5v78a13.5 13.5 0 0 1 -13.5 13.5h-78a13.5 13.5 0 0 1 -13.5 -13.5v-78a13.5 13.5 0 0 1 13.5 -13.5zM-37.5 -37.5v75h75v-75z'/%3E%3Crect x='-22.5' y='-22.5' width='45' height='45' rx='8'/%3E%3C/g%3E%3Cpath transform='translate(610 350) rotate(-9)' filter='url(%23b1_5)' d='M0 0h24v24h-24zM48 0h24v24h-24zM72 0h24v24h-24zM24 24h24v24h-24zM48 24h24v24h-24zM0 48h24v24h-24zM24 48h24v24h-24zM72 48h24v24h-24zM48 72h24v24h-24zM72 72h24v24h-24zM0 96h24v24h-24zM48 96h24v24h-24z'/%3E%3Cpath transform='translate(1040 800) rotate(23)' filter='url(%23b1)' d='M0 0h17v17h-17zM17 0h17v17h-17zM17 17h17v17h-17zM34 17h17v17h-17zM0 34h17v17h-17zM34 34h17v17h-17z'/%3E%3Cpath transform='translate(360 560) rotate(12)' filter='url(%23b1_5)' d='M0 0h20v20h-20zM40 0h20v20h-20zM0 20h20v20h-20zM20 20h20v20h-20zM20 40h20v20h-20zM40 40h20v20h-20zM0 60h20v20h-20z'/%3E%3Cpath transform='translate(820 150) rotate(-18)' filter='url(%23b1)' d='M0 0h16v16h-16zM16 0h16v16h-16zM48 0h16v16h-16zM16 16h16v16h-16zM32 16h16v16h-16zM0 32h16v16h-16zM32 32h16v16h-16zM48 32h16v16h-16z'/%3E%3Cpath transform='translate(120 760) rotate(6)' filter='url(%23b1)' d='M0 0h18v18h-18zM18 0h18v18h-18zM0 18h18v18h-18zM36 18h18v18h-18zM18 36h18v18h-18zM36 36h18v18h-18z'/%3E%3Cpath transform='translate(1120 520) rotate(30)' filter='url(%23b1)' d='M0 0h14v14h-14zM14 0h14v14h-14zM14 14h14v14h-14zM0 28h14v14h-14z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --sq-pane: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 900'%3E%3Cdefs%3E%3Cfilter id='b1' x='-30%' y='-30%' width='160%' height='160%'%3E%3CfeGaussianBlur stdDeviation='1'/%3E%3C/filter%3E%3Cfilter id='b1_5' x='-30%' y='-30%' width='160%' height='160%'%3E%3CfeGaussianBlur stdDeviation='1.5'/%3E%3C/filter%3E%3Cfilter id='b2_5' x='-30%' y='-30%' width='160%' height='160%'%3E%3CfeGaussianBlur stdDeviation='2.5'/%3E%3C/filter%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0.55' y2='0.55'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23fff'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='1200' height='900' fill='url(%23f)'/%3E%3C/mask%3E%3C/defs%3E%3Cg mask='url(%23m)'%3E%3Cg fill='%235f7896' opacity='.5'%3E%3Cg transform='translate(905 585) rotate(-14)' filter='url(%23b2_5)'%3E%3Cpath fill-rule='evenodd' d='M-93.6 -126h187.2a32.4 32.4 0 0 1 32.4 32.4v187.2a32.4 32.4 0 0 1 -32.4 32.4h-187.2a32.4 32.4 0 0 1 -32.4 -32.4v-187.2a32.4 32.4 0 0 1 32.4 -32.4zM-90 -90v180h180v-180z'/%3E%3Crect x='-54' y='-54' width='108' height='108' rx='18'/%3E%3C/g%3E%3Cg transform='translate(1085 235) rotate(17)' filter='url(%23b1_5)'%3E%3Cpath fill-rule='evenodd' d='M-49.4 -66.5h98.8a17.1 17.1 0 0 1 17.1 17.1v98.8a17.1 17.1 0 0 1 -17.1 17.1h-98.8a17.1 17.1 0 0 1 -17.1 -17.1v-98.8a17.1 17.1 0 0 1 17.1 -17.1zM-47.5 -47.5v95h95v-95z'/%3E%3Crect x='-28.5' y='-28.5' width='57' height='57' rx='10'/%3E%3C/g%3E%3Cg transform='translate(610 790) rotate(8)' filter='url(%23b1_5)'%3E%3Cpath fill-rule='evenodd' d='M-33.8 -45.5h67.6a11.700000000000001 11.700000000000001 0 0 1 11.700000000000001 11.700000000000001v67.6a11.700000000000001 11.700000000000001 0 0 1 -11.700000000000001 11.700000000000001h-67.6a11.700000000000001 11.700000000000001 0 0 1 -11.700000000000001 -11.700000000000001v-67.6a11.700000000000001 11.700000000000001 0 0 1 11.700000000000001 -11.700000000000001zM-32.5 -32.5v65h65v-65z'/%3E%3Crect x='-19.5' y='-19.5' width='39' height='39' rx='7'/%3E%3C/g%3E%3Cg transform='translate(330 240) rotate(-11)' filter='url(%23b1_5)'%3E%3Cpath fill-rule='evenodd' d='M-39 -52.5h78a13.5 13.5 0 0 1 13.5 13.5v78a13.5 13.5 0 0 1 -13.5 13.5h-78a13.5 13.5 0 0 1 -13.5 -13.5v-78a13.5 13.5 0 0 1 13.5 -13.5zM-37.5 -37.5v75h75v-75z'/%3E%3Crect x='-22.5' y='-22.5' width='45' height='45' rx='8'/%3E%3C/g%3E%3Cpath transform='translate(610 350) rotate(-9)' filter='url(%23b1_5)' d='M0 0h24v24h-24zM48 0h24v24h-24zM72 0h24v24h-24zM24 24h24v24h-24zM48 24h24v24h-24zM0 48h24v24h-24zM24 48h24v24h-24zM72 48h24v24h-24zM48 72h24v24h-24zM72 72h24v24h-24zM0 96h24v24h-24zM48 96h24v24h-24z'/%3E%3Cpath transform='translate(1040 800) rotate(23)' filter='url(%23b1)' d='M0 0h17v17h-17zM17 0h17v17h-17zM17 17h17v17h-17zM34 17h17v17h-17zM0 34h17v17h-17zM34 34h17v17h-17z'/%3E%3Cpath transform='translate(360 560) rotate(12)' filter='url(%23b1_5)' d='M0 0h20v20h-20zM40 0h20v20h-20zM0 20h20v20h-20zM20 20h20v20h-20zM20 40h20v20h-20zM40 40h20v20h-20zM0 60h20v20h-20z'/%3E%3Cpath transform='translate(820 150) rotate(-18)' filter='url(%23b1)' d='M0 0h16v16h-16zM16 0h16v16h-16zM48 0h16v16h-16zM16 16h16v16h-16zM32 16h16v16h-16zM0 32h16v16h-16zM32 32h16v16h-16zM48 32h16v16h-16z'/%3E%3Cpath transform='translate(120 760) rotate(6)' filter='url(%23b1)' d='M0 0h18v18h-18zM18 0h18v18h-18zM0 18h18v18h-18zM36 18h18v18h-18zM18 36h18v18h-18zM36 36h18v18h-18z'/%3E%3Cpath transform='translate(1120 520) rotate(30)' filter='url(%23b1)' d='M0 0h14v14h-14zM14 0h14v14h-14zM14 14h14v14h-14zM0 28h14v14h-14z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }
  body::before, body::after { content: ""; position: fixed; z-index: -1; top: 0; right: 0; bottom: 0; height: 100lvh; pointer-events: none; }
  body::before { left: 0; background: var(--sq-night) right bottom / 1200px 900px no-repeat, linear-gradient(to bottom right, #000 0%, #000 16%, #0e151e 38%, #273444 66%, #485a70 100%); }
}
@media screen and (prefers-color-scheme: dark) and (forced-colors: none) and (min-width: 1160px) {
  @supports (mask-image: linear-gradient(#000, #000)) or (-webkit-mask-image: linear-gradient(#000, #000)) {
    body::after { left: calc(50% + 548px); background: var(--sq-pane) right bottom / 1200px 900px no-repeat, linear-gradient(165deg, rgba(186, 202, 220, 0.68) 0%, rgba(218, 229, 240, 0.94) 40%, #f1f6fa 100%);
      -webkit-mask-image: linear-gradient(100deg, transparent 18vh, #000 calc(18vh + 220px)); mask-image: linear-gradient(100deg, transparent 18vh, #000 calc(18vh + 220px)); }
    /* The sponsor page has no column (main.full): its frame runs edge to edge, so it gets no pane. */
    body[data-page="go"]::after { content: none; }
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.5 var(--sans); min-height: 100vh; display: flex; flex-direction: column; overflow-wrap: break-word; }
main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px 72px; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* A link's words stay on one line. A link that does not fit moves to the next line whole.
   Addresses a person typed (a code's destination, a contact's website) are the exception: they can be longer than any line and must break. */
a:not(.btn), .linkbtn { white-space: nowrap; }
.url a, .addr a, .host a, .spec dd.v a, .said a { white-space: normal; }
b, strong { font-weight: 900; }
p { margin: 0 0 12px; }
[hidden] { display: none !important; }
:focus-visible { outline: var(--line) solid var(--fg); outline-offset: 3px; }

/* Lettering: heavy sans for names and buttons, regular sans for sentences, bold mono only for things that are typed or copied (addresses, links, keys). */
h1 { font: 900 clamp(34px, 5.6vw, 66px)/1 var(--sans); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h2 { font: 900 26px/1.15 var(--sans); letter-spacing: -0.01em; margin: 0 0 14px; }
.lead { font-size: 19px; margin: 14px 0 0; max-width: 58ch; }
/* Message pages (not found, switched off): room between the sentence and the button. */
[data-page="message"] .lead + p { margin-top: 22px; }
.small { font-size: 14.5px; line-height: 1.45; margin: 10px 0 0; max-width: 62ch; }
.note { font-size: 16px; margin: 0; }
.title { font: 900 15px/1.2 var(--sans); margin: 0 0 8px; }
.field > span, .facts dt, .spec dt { display: block; font: 900 14px/1.3 var(--sans); }
.url, .addr, .meta, input[readonly], #dest, .spec dd.v, .mine li b { font-family: var(--mono); font-weight: 700; }

/* A label: white stock, heavy outline, round corners. */
.panel { --fg: #000; --bg: #fff; --knock: #fff; background: var(--bg); color: var(--fg); border: var(--line) solid var(--fg); border-radius: var(--r); padding: 22px; }

/* Header and footer */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1120px; width: 100%; margin: 0 auto; padding: 20px 20px 16px; }
.brand { display: inline-block; text-decoration: none; font: 900 40px/1 var(--sans); letter-spacing: 0.015em; white-space: nowrap; }
/* The whole name is heavy and larger than the menu. The .lt span around BLANK stays in the markup in case its weight is set apart again. */
/* The Q is 7 modules tall (the cap height of the letters) plus a 1-module tail that hangs under the baseline. */
.brand .q { width: 0.819em; height: 0.819em; margin: 0 0.04em 0 0.055em; vertical-align: -0.1024em; }
.top nav { display: flex; gap: 22px; font: 900 15px/1 var(--sans); }
/* The links are 44px tall for a thumb; the negative margin keeps the header the height it was. */
.top nav a { text-decoration: none; white-space: nowrap; padding: 14px 0; margin: -7px 0; }
.top nav a:hover { text-decoration: underline; text-decoration-thickness: var(--thin); text-underline-offset: 7px; }
.foot { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; max-width: 1120px; width: 100%; margin: 0 auto; padding: 18px 20px 28px; border-top: var(--line) solid currentColor; font-size: 14.5px; }
.foot span { font-weight: 900; margin-right: auto; }
.foot a { padding: 10px 0; margin: -10px 0; }
/* Phones: the name is 30px where it fits beside the two links, and shrinks with the screen below about 375px wide.
   Its width is about 5.1 times its font size; 216px is the side padding (32), the gap (16), the links (about 165) and a little slack. */
/* With accounts on the header has a third link; on a phone the first one goes, since the name already leads home. */
@media (max-width: 540px) { .top nav.three a:first-child { display: none; } }   /* three links and the name need about 526px */
@media (max-width: 480px) { .brand { font-size: min(30px, calc((100vw - 216px) / 5.3)); } .top nav { gap: 14px; font-size: 14px; } .top { padding: 16px 16px 12px; } main { padding-left: 16px; padding-right: 16px; } }

/* Buttons and form parts */
.btn { display: inline-block; font: 900 16px/1 var(--sans); letter-spacing: 0.01em; padding: 14px 20px; border-radius: 11px; border: var(--line) solid var(--fg); background: var(--fg); color: var(--knock); cursor: pointer; text-decoration: none; text-align: center; }
.btn:hover { background: transparent; color: var(--fg); }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover { background: var(--fg); color: var(--knock); }
.btn:disabled { cursor: not-allowed; background: transparent; color: var(--fg); border-style: dashed; }
.btn.big { font-size: 21px; padding: 20px 28px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.actions .btn { flex: 1; }
.actions.left { gap: 18px; }
.actions.left .btn { flex: none; }
.linkbtn { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:disabled { opacity: 0.5; cursor: wait; }
.field { display: block; margin: 0 0 15px; min-width: 0; }
.field > span { margin: 0 0 6px; }
textarea, select, input[type=text], input[type=email], input[type=password], input[type=date], input[type=time], input:not([type]) { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--fg); background: var(--bg); border: var(--thin) solid var(--fg); border-radius: var(--r2); padding: 10px 12px; }
input[readonly] { font-size: 15px; }   /* #dest is typed into: under 16px a phone zooms the page when it is tapped */
textarea { resize: vertical; }
::placeholder { color: var(--fg); opacity: 0.45; }
select:disabled, textarea:disabled, input:disabled { border-style: dashed; cursor: not-allowed; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: -7px 0 7px; padding: 7px 0; cursor: pointer; }
.check input { margin: 2px 0 0; width: 20px; height: 20px; accent-color: var(--fg); flex: none; }
.copyrow { display: flex; gap: 8px; }
.copyrow input { flex: 1; min-width: 0; }
.copy { font: 900 14px/1 var(--sans); padding: 0 14px; border-radius: var(--r2); border: var(--thin) solid var(--fg); background: var(--fg); color: var(--knock); cursor: pointer; white-space: nowrap; }
.copy:hover { background: transparent; color: var(--fg); }
.error, .ok { font-size: 15px; margin: 12px 0 0; padding: 8px 12px; border: var(--thin) solid var(--fg); border-radius: var(--r2); }
.error { border-style: dashed; }
.error { --i: var(--i-warn); }
.ok { --i: var(--i-check); }

/* ---------- icons beside words ----------
   data-i="name" on an element draws that icon before its words (icons.js; the names and pictures are the block at the end of this file).
   The icon is a mask filled with the element's ink, so it turns with a hovered button and with day and night. */
[data-i]::before, [data-copy]::before, .error::before, .ok::before { content: ""; display: inline-block; flex: none; width: 1.2em; height: 1.2em; margin-right: 0.42em; vertical-align: -0.24em; background: currentColor; -webkit-mask: var(--i, var(--i-none)) center / contain no-repeat; mask: var(--i, var(--i-none)) center / contain no-repeat; }
:root { --i-none: linear-gradient(transparent, transparent); }   /* a name the block does not hold draws nothing, never a block of ink */
[data-copy] { --i: var(--i-copy); }
[data-copy].did, #keycopy.did { --i: var(--i-check); }
h2[data-i]::before { width: 1.05em; height: 1.05em; vertical-align: -0.16em; margin-right: 0.4em; }
.btn.big[data-i]::before, .btn.big[data-copy]::before { width: 1.1em; height: 1.1em; vertical-align: -0.18em; }
/* A list whose points are of different kinds: each point wears its own icon where the bullet was. */
ul.marks { list-style: none; padding-left: 0; }
ul.marks > li { position: relative; padding-left: 36px; }
ul.marks > li::before { position: absolute; left: 0; top: 0.12em; margin: 0; width: 22px; height: 22px; }
ul.marks > li:not([data-i])::before { content: none; }
.spec dt[data-i]::before { width: 1.25em; height: 1.25em; }
@media (forced-colors: active) { [data-i]::before, [data-copy]::before, .error::before, .ok::before { forced-color-adjust: none; background: CanvasText; } }
.stamp { display: inline-block; font: 900 30px/1 var(--sans); letter-spacing: 0.02em; text-transform: uppercase; padding: 9px 18px 10px; border-radius: 11px; background: var(--fg); color: var(--knock); border: var(--line) solid var(--fg); }
.stamp.open { background: transparent; color: var(--fg); }

/* Home: the headline, then one label that holds the code and the four steps. */
.intro { margin: 14px 0 26px; }
.intro .lead { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.4; max-width: 56ch; margin: 16px 0 0; }
.maker { display: grid; grid-template-columns: minmax(230px, 360px) minmax(0, 1fr); gap: clamp(22px, 4.5vw, 56px); align-items: start; padding: clamp(18px, 3vw, 34px); }
.code { position: sticky; top: 16px; }
.sticker { border: var(--line) solid var(--fg); border-radius: var(--r2); padding: 10px; background: #fff; }
.sticker canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.codeline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 4px; }
.codeline .stamp { font-size: 19px; padding: 6px 11px 7px; border-radius: 8px; }
.addr { font-size: clamp(15px, 1.7vw, 18px); line-height: 1.25; overflow-wrap: anywhere; }
.slots { letter-spacing: 0.1em; }
@media (max-width: 820px) {
  .maker { grid-template-columns: 1fr; }
  .code { position: static; max-width: 340px; }
  /* The picture stays small beside its address, so the open step is on the first screen of a phone. */
  .maker .code { max-width: none; display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr); gap: 4px 16px; align-items: center; }
  .maker .sticker { grid-row: span 2; padding: 6px; }
  .maker .codeline { margin: 0; align-self: end; }
  .maker .code .note { align-self: start; overflow-wrap: anywhere; min-width: 0; }
}

/* The steps are a real sequence, so they are numbered. Solid number: done. Dashed number: not yet. */
#stops { margin: 0 0 16px; }   /* the day a free code stops, said above the print buttons */
/* Under the maker while Fixed is chosen: what a changeable code adds. A list, since the lines are separate things and no sequence. */
.goonline { margin-top: 18px; }
.goonline h2 { margin: 0; }
.goonline ul { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 9px; }
.mode { margin: 0 0 24px; }
.pickh { font-size: 21px; margin: 0 0 10px; }
.mode .small { margin: 9px 0 0; }
/* The two kinds of code as two buttons side by side, the same things said of each line by line. The chosen one is filled. */
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* Each card's lines sit on the rows of the pair (subgrid), so the same thing is at the same height in both, also where a line wraps. */
.pick button { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start; text-align: left; font: 500 14.5px/1.3 var(--sans); padding: 13px 13px 14px; border-radius: 9px; border: var(--thin) solid var(--fg); background: transparent; color: var(--fg); cursor: pointer; }
.pick button b { display: block; font: 900 18px/1.1 var(--sans); margin: 0 0 6px; white-space: nowrap; }
.pick button span { display: block; margin-top: 5px; }
.pick.short button { grid-row: span 5; }   /* one line fewer where no code stops for age */
.pick button.on { background: var(--fg); color: var(--knock); }
.pick button:disabled { opacity: .4; cursor: default; }
@media (max-width: 480px) { .pick button { font-size: 13px; padding: 11px 10px 12px; } .pick button b { font-size: 15px; } }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; counter-increment: step; padding: 0 0 26px 54px; min-height: 60px; }
.step:last-child { padding-bottom: 0; min-height: 0; }
.step::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; font: 900 17px/1 var(--sans); border: var(--line) solid var(--fg); border-radius: 5px; }
.step::after { content: ""; position: absolute; left: 17px; top: 42px; bottom: 6px; border-left: var(--thin) solid var(--fg); }
.step:last-child::after { display: none; }
.step.done::before { background: var(--fg); color: var(--knock); }
/* One step is open at a time (.now). Steps before it are one line with an "Open" link; steps after it are not shown yet. */
.step h2 { font-size: 21px; margin: 0; }
.step h2:focus, .end h2:focus { outline: none; }
.step .head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; min-height: 36px; padding-top: 6px; }
.step:not(.now) { padding-bottom: 14px; min-height: 50px; }
.step:not(.now) h2 { font-size: 17px; }
.step .body { margin-top: 10px; }
.step .body > .note, #progstate { margin-bottom: 14px; }
.step, .end { scroll-margin-top: 14px; }
/* Customize: the look of the picture, chosen in step 2 before printing or saving. Swatches are classes; the page allows no inline styles. */
#custom-open { width: 100%; margin: 0 0 10px; }
#custom-open[aria-expanded="true"] { background: var(--fg); color: var(--knock); }
.custom { margin: 0 0 14px; padding: 14px 14px 12px; border: var(--thin) solid var(--fg); border-radius: var(--r2); }
/* One group is open at a time, so the panel stays short and the picture above it stays in view. */
.custom { padding-top: 2px; }
.custom .error, #custom-reset { margin-top: 12px; }
.logoacts { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 0 0 10px; }
.logoacts .btn { flex: 1 1 auto; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sw { width: 38px; height: 38px; padding: 0; border-radius: 50%; border: var(--thin) solid var(--fg); cursor: pointer; }
.sw.on { outline: 3px solid var(--fg); outline-offset: 2px; }
.other { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; cursor: pointer; }
.other input { width: 38px; height: 38px; padding: 0; border: var(--thin) solid var(--fg); border-radius: 8px; background: none; cursor: pointer; }
.other.on input { outline: 3px solid var(--fg); outline-offset: 2px; }
.seg { display: flex; gap: 8px; }
.seg button { flex: 1; font: 900 15px/1 var(--sans); padding: 11px 8px; border-radius: 9px; border: var(--thin) solid var(--fg); background: transparent; color: var(--fg); cursor: pointer; }
.seg button.on { background: var(--fg); color: var(--knock); }
/* Small drawings (views.js ICONS): outlines in the ink colour of wherever they sit. */
.ico { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
/* What a scan does, chosen by picture: nine buttons, three to a row at every width. */
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; margin: 6px 0 14px; }
.kinds button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 78px; padding: 10px 4px; font: 900 14px/1.15 var(--sans); border-radius: 9px; border: var(--thin) solid var(--fg); background: transparent; color: var(--fg); cursor: pointer; }
.kinds button.on { background: var(--fg); color: var(--knock); }
.kinds button:disabled { opacity: .45; cursor: default; }
/* The editor (Customize): tabs with drawings and one pane at a time, so nothing jumps when a pane opens.
   On a narrow screen the big picture scrolls away, so a small copy of it stays at the top of the panel while it is changed. */
.edpic { display: none; }
@media (max-width: 820px) {
  .edpic { display: block; position: sticky; top: 0; z-index: 3; margin: 0 -14px; padding: 8px 0; background: var(--bg); border-bottom: var(--thin) solid var(--fg); text-align: center; }
  #ed-pic { display: inline-block; vertical-align: top; width: min(40vw, 150px); height: min(40vw, 150px); }
}
@media (max-width: 820px) and (max-height: 520px) { .edpic { position: static; } }
.tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 12px 0 16px; }
/* the first tab (Looks) takes a row of its own, lower and with its drawing beside the word; the six others stand in one row, or in two rows of three on a narrow screen */
.tabs button:first-child { grid-column: 1 / -1; flex-direction: row; gap: 9px; min-height: 46px; }
@media (max-width: 560px) { .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 821px) { .looks { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.looks button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 5px 5px 6px; font: 900 12px/1.15 var(--sans); border-radius: 9px; border: var(--thin) solid var(--fg); background: transparent; color: var(--fg); cursor: pointer; }
.looks button.on { background: var(--fg); color: var(--knock); }
.looks button:disabled { opacity: 0.45; cursor: default; }
.looks .kept { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.looks .kept > button:first-child { width: 100%; }
.looks .kept .linkbtn { display: inline; padding: 4px 0; border: 0; font: inherit; font-size: 13px; }
.looks canvas { display: block; width: 100%; height: auto; border-radius: 4px; }
.pane .field + .logoacts { margin-top: 12px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tiles.arts { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); }
.tiles.arts button { min-height: 46px; padding: 6px 2px; }
.tiles.arts .ico { stroke-miterlimit: 2; }   /* as on the code (qr.js ART.miter) */
.tiles.quad { grid-template-columns: repeat(4, minmax(0, 1fr)); }   /* four choices: one row, or two rows of two on a narrow phone */
@media (max-width: 380px) { .tiles.quad { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tabs button, .tiles button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 64px; padding: 8px 2px; font: 900 13px/1.15 var(--sans); border-radius: 9px; border: var(--thin) solid var(--fg); background: transparent; color: var(--fg); cursor: pointer; }
.tabs button.on, .tiles button.on { background: var(--fg); color: var(--knock); }
.pane { margin-bottom: 4px; }
#pane-words > .small { margin: 0 0 12px; }
#words-note { margin: 0 0 12px; }
.wrow { margin-bottom: 16px; }
.pane .wrow .field { margin-bottom: 6px; }
.wstyle { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.wstyle .check { margin: 0; }
.seg.sizes { flex: none; gap: 5px; }
.seg.sizes button { flex: none; width: 40px; padding: 12px 0; }
.seg button:disabled { opacity: .4; cursor: default; }
.f-sans { font-family: Arial, Helvetica, sans-serif; }
.f-serif { font-family: Georgia, "Times New Roman", serif; }
.f-mono { font-family: "Courier New", Courier, monospace; }
.custom .error { margin: 0 0 12px; }
/* Size: a slider in millimetres, a readout in the chosen unit, and a ruler with the picture under it at the ruler's scale. */
.sizehead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 6px; }
#size-say { font: 900 20px/1.2 var(--sans); }
.seg.units { flex: none; }
.seg.units button { flex: none; padding: 12px 14px; font-size: 14px; }
#size { display: block; width: 100%; margin: 0 0 6px; accent-color: var(--fg); height: 40px; }
.rulerbox { margin: 0 0 8px; }
#ruler { display: block; width: 100%; height: 30px; overflow: visible; }
#ruler line { stroke: currentColor; stroke-width: 1.5; }
#ruler rect { fill: currentColor; }
#ruler text { font: 700 11px/1 var(--sans); fill: currentColor; text-anchor: middle; }
/* The printed page with the codes on it, to scale (app.js paintSheet). Lines keep their weight whatever the scale. */
.sheetbox { display: flex; align-items: center; gap: 14px; margin: 12px 0 10px; }
.sheetbox .small { margin: 0; }
#sheet-pic { flex: none; width: 92px; height: auto; overflow: visible; }
#sheet-pic .page { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; }
#sheet-pic rect:not(.page) { fill: currentColor; }
#sheet-pic line { stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
#size-pic { display: block; margin-top: 3px; border: var(--thin) solid var(--fg); box-sizing: border-box; }
.pane .field { margin-bottom: 12px; }
.pane .tiles + .field { margin-top: 14px; }
.sticker canvas.soft { image-rendering: auto; }   /* round dots are scaled smoothly; squares stay crisp */
.sw-000000 { background: #000000; }
.sw-0b2a6f { background: #0b2a6f; }
.sw-0e5a2a { background: #0e5a2a; }
.sw-8f1420 { background: #8f1420; }
.sw-4a1a7a { background: #4a1a7a; }
.sw-5a2e0c { background: #5a2e0c; }
.sw-ffffff { background: #ffffff; }
.sw-fff4d6 { background: #fff4d6; }
.sw-e3f0ff { background: #e3f0ff; }
.sw-e4f5e1 { background: #e4f5e1; }
.sw-ffe6ee { background: #ffe6ee; }
.more { margin: 14px 0 0; }
.more summary { cursor: pointer; font-weight: 900; font-size: 15px; padding: 10px 0; margin: -6px 0; }
/* Links that stand alone under a step are a thumb tall. */
#skip-keep, #custom-reset, #custom-undo, #mailclear { padding: 10px 0; margin: -6px 0; }
.edacts { display: flex; flex-wrap: wrap; gap: 0 22px; }
.more[open] summary { margin-bottom: 12px; }
.more .btn { width: 100%; }
.next { margin-top: 20px; display: grid; gap: 12px; justify-items: start; }
.next .btn.big { width: 100%; }
.next .small { margin: 0; }
.keyacts { display: grid; gap: 10px; }
.keyacts .btn { width: 100%; }
#editlink { width: 100%; }
/* Which of the four steps is open. Shown on the open step only. */
.of { font-size: 14px; opacity: 0.7; white-space: nowrap; }
.step:not(.now) .of { display: none; }
.end { margin-top: 8px; padding-top: 18px; border-top: var(--line) solid var(--fg); }
.end h2 { font-size: 26px; margin: 0 0 8px; }
.end .actions { margin-top: 16px; }
.step .btn.big { width: 100%; }
#progbtn { margin-top: 2px; }
.mailbox { margin-top: 20px; padding-top: 18px; border-top: var(--thin) solid var(--fg); }
/* A check on the page of a code that asks for one (views.js locked): its button, its line, and the camera's picture while the camera runs. */
/* A hosted page: the creator's page fills the window, the site's name and the report link sit in a thin bar under it. */
.hosted { margin: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }
.hostframe { flex: 1 1 auto; width: 100%; min-height: 0; border: 0; background: #fff; }
.hostbar { flex: 0 0 auto; display: flex; justify-content: space-between; gap: 16px; padding: 6px 14px; font-size: 13px; border-top: var(--thin) solid currentColor; }
.hostbar a { color: inherit; white-space: nowrap; }
/* The destinations of a code that picks by chance: what each does, its percent, and for the others Change and Remove. */
#altsay { margin: 0 0 12px; }
#chstate, #hookstate, #pgstate { margin-bottom: 10px; }
.chlist, .pglist { list-style: none; margin: 0 0 14px; padding: 0; }
.chlist li, .pglist li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px 0; border-top: var(--thin) solid currentColor; }
.chlist li .v, .pglist li .v { flex: 1 1 50%; min-width: 0; overflow-wrap: anywhere; }
.chlist .pct { font-weight: 900; white-space: nowrap; }
/* A file: its name takes what is left, the size and Remove keep one line at the right in every row. */
.pglist li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; }
.pglist .pct { white-space: nowrap; text-align: right; }
.chlist .pct input { width: 64px; margin-right: 4px; padding: 6px 8px; font: inherit; border: var(--line) solid var(--fg); border-radius: var(--r1, 8px); background: var(--bg, #fff); color: inherit; }
.chk { margin: 0 0 16px; }
.chk .small { margin: 8px 0 0; }
.chk video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #000; border-radius: var(--r2); margin: 0 0 10px; }
/* Narrow phones: a smaller code leaves room for the stamp and the address beside it. */
@media (max-width: 379px) { .maker .code { grid-template-columns: minmax(96px, 38vw) minmax(0, 1fr); gap: 4px 12px; } }
/* Phones: the number sits beside the step's name and the step's content uses the full width of the label. */
@media (max-width: 480px) {
  .step { padding-left: 0; }
  .step::after { display: none; }
  .step .head { padding-left: 48px; padding-top: 0; align-items: center; }
  .step .head .linkbtn { padding: 10px 0; margin: -6px 0; }
  .step .body { margin-top: 12px; }
  .btn.big { font-size: 19px; padding: 18px 12px; }
  .step .actions { gap: 8px; }
  .maker:not(.claimed) .codeline { display: none; }
  .maker:not(.claimed) .note { grid-row: span 2; align-self: center; }
}

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px 32px; margin: 30px 2px 0; padding-top: 18px; border-top: var(--line) solid currentColor; }
.facts dt { margin-bottom: 3px; display: flex; align-items: center; gap: 8px; }
.facts dt .ico { width: 22px; height: 22px; }
/* The way a scan goes (views.js way): one strip of line art with its words under it, in thirds. */
.way { max-width: 420px; margin: 18px 0 22px; }
.way svg { display: block; width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.way .ink { fill: currentColor; stroke: none; }
.way .fine { stroke-width: 1; }
.wayw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 6px 0 0; text-align: center; font: 900 14px/1.25 var(--sans); }
.wayn { margin: 18px 0 -8px; font: 900 15px/1.3 var(--sans); }
.plans .way { margin: 0 0 16px; }
.facts dd { margin: 0; font-size: 16px; }

.mine, .tut, .faq, .use, .uses { margin-top: 56px; }
/* Accounts (shown only when switched on): the sign-in panel and the page of an account's codes. */
.signin { display: grid; gap: 18px; justify-items: start; }
.signin form { width: 100%; }
.acct { margin-top: 22px; }
.acct h1 { font-size: clamp(32px, 6vw, 52px); }
.acct .lead { margin: 12px 0 20px; overflow-wrap: anywhere; }
.acct > .panel { margin-top: 30px; }
.acct .acts { flex-wrap: wrap; }
/* The account's codes. Each row: the code's picture, what it is (its name, what it does, its address and dates), and what can be done with it. */
.acct .bar { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin: 0 0 16px; }
.acct .bar .howmany { font: 900 20px/1.2 var(--sans); margin: 0 auto 0 0; }
.acct .find { display: flex; align-items: center; gap: 10px; font: 900 14px/1.3 var(--sans); }
.acct .find input { width: 220px; padding: 9px 12px; }
#acctlist li { grid-template-columns: 76px minmax(0, 1fr) max-content; gap: 6px 18px; align-items: start; padding: 16px 2px; }
#acctlist li[hidden] { display: none; }
#acctlist .pic { grid-row: 1 / span 2; display: block; width: 76px; height: 76px; overflow: hidden; background: #fff; border: var(--thin) solid currentColor; border-radius: var(--r2); }
#acctlist .pic img { display: block; width: 100%; height: 100%; }
#acctlist .what { display: grid; gap: 3px; min-width: 0; }
#acctlist .name, #acctlist .dest.head { font: 900 19px/1.25 var(--sans); }
#acctlist .name { overflow-wrap: anywhere; }
#acctlist .sub { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: 14.5px; }
#acctlist .tag { font: 900 12.5px/1 var(--sans); padding: 4px 9px; border: var(--thin) solid currentColor; border-radius: 99px; white-space: nowrap; }
#acctlist .acts { justify-content: flex-end; align-items: baseline; max-width: 420px; }
@media (min-width: 1000px) { #acctlist .acts { max-width: 500px; } }   /* room for the five links of a free code on one line */
#acctlist .acts [data-i]::before { width: 1.05em; height: 1.05em; margin-right: 0.32em; vertical-align: -0.17em; }
#acctlist .opens { grid-column: 2 / -1; }
#acctlist .extra { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 12px 18px; justify-content: inherit; }
#acctlist .extra[hidden] { display: none; }
#acctlist [data-more][aria-expanded="true"] { font-weight: 900; }
.namer { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 0 0 4px; }
.namer input { flex: 1 1 220px; max-width: 420px; }
.namer .btn { padding: 11px 16px; }
.acct .planbox { margin: 34px 0 26px; }
.acct .planbox h2 { margin-bottom: 8px; }
@media (max-width: 640px) {
  #acctlist li { grid-template-columns: 64px minmax(0, 1fr); gap: 6px 14px; }
  #acctlist .pic { width: 64px; height: 64px; grid-row: 1; }
  #acctlist .acts, #acctlist .opens { grid-column: 1 / -1; }
  #acctlist .acts { justify-content: flex-start; max-width: none; }
  .acct .bar .howmany { flex-basis: 100%; }
  .acct .find { flex: 1 1 100%; } .acct .find input { width: auto; flex: 1; }
}
.acct .opens { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 14.5px; }
.acct .spark { display: inline-grid; gap: 2px; }
.acct .spark svg { display: block; max-width: 100%; height: auto; }
.acct .spark .ends { display: flex; justify-content: space-between; font-size: 12px; opacity: 0.75; }
/* On the night backdrop dimmed words would fall under 4.5 to 1 near its light corner, so the day labels stay full white.
   This sits after the rule above on purpose: a media block adds no weight, the later of two equal selectors wins. */
@media screen and (prefers-color-scheme: dark) and (forced-colors: none) { .acct .spark .ends { opacity: 1; } }
.acct .buy { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.pricepage .buy { display: flex; flex-wrap: wrap; gap: 10px; }
.acct .buy + .small { margin-bottom: 16px; }
.acct #plan { margin-bottom: 16px; }   /* the plan line of a paying account keeps the same distance to the list's line as the pay note does */
.acct .split { flex: 1 1 240px; min-width: 0; max-width: 360px; margin-top: 4px; align-self: flex-start; }
.acct .splith { display: block; font: 900 13px/1.3 var(--sans); margin-bottom: 3px; }
.acct .split ul { list-style: none; margin: 0; padding: 0; border: 0; display: grid; gap: 4px; }
.acct .split li { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(40px, 1fr) auto; gap: 8px; align-items: center; font-size: 13.5px; padding: 0; border: 0; }
.acct .split .sname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct .split .sbar { height: 7px; }
.acct .split .sbar i { display: block; height: 100%; background: var(--fg); border-radius: 0 2px 2px 0; }
.acct .split .sn { font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.acctend { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; }
.acctend details, .acctend .error { flex-basis: 100%; }
.acctend details p { max-width: 60ch; }
.acctend summary { cursor: pointer; font-weight: 900; padding: 10px 0; }
.acctend .linkbtn { padding: 10px 0; }
/* Pages for common uses: notes on that kind of code, and the links between the pages. */
.use ul, .use ol { margin: 12px 0; padding-left: 22px; max-width: 68ch; }
.use p { max-width: 68ch; }
.use h2 + p { margin-top: 12px; }
.use h2:not(:first-child) { margin-top: 36px; }
.use li { margin-bottom: 8px; }
/* A plain list. A column is wider than the longest link in regular weight, so a link's text never wraps (measured again 2026-11-27). */
.uses ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); gap: 0 26px; max-width: 1000px; }
.uses a { display: inline-block; padding: 7px 0; }
.uses a .q { width: 22px; height: 22px; margin: 0 3px; flex: none; }
/* Under the text of /about the links keep to the text's column. */
.prose + .uses { max-width: 720px; margin-left: auto; margin-right: auto; }
.mine ul { list-style: none; margin: 0 0 10px; padding: 0; border-top: var(--line) solid currentColor; }
.mine li { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; gap: 6px 18px; align-items: baseline; padding: 7px 2px; border-bottom: var(--thin) solid currentColor; font-size: 15.5px; }
.mine .dest { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mine .acts { display: flex; gap: 12px 18px; }
/* Row actions, the uses list and the footer links get a thumb's height. The row padding is smaller by what the actions add, and the 12px row gap keeps wrapped actions from overlapping. */
.mine .acts a, .mine .acts button { padding: 10px 0; margin: -6px 0; }
@media (max-width: 640px) { .mine li { grid-template-columns: 1fr; } }

.faq details { border-top: var(--thin) solid currentColor; padding: 0 2px; }
.faq details:first-of-type { border-top-width: var(--line); }
.faq details:last-child { border-bottom: var(--thin) solid currentColor; }
.faq summary { cursor: pointer; font-weight: 900; font-size: 18px; padding: 14px 0 14px 22px; text-indent: -22px; }   /* the whole row is the target */
.faq details p { margin: -6px 0 14px; max-width: 68ch; }

/* Walkthrough: one animated label and four numbered lines that light up in turn. */
.tut-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
#tutpause { padding: 12px 0 12px 16px; margin: -12px 0; }
.tut-body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px clamp(24px, 4vw, 48px); align-items: center; }
@media (max-width: 820px) { .tut-body { grid-template-columns: 1fr; } }
.tut-plate { padding: 8px; }
.tut-stage { display: block; width: 100%; height: auto; }
.tut-stage text { font-family: var(--sans); font-weight: 900; }
.tut-stage .t-mono { font-family: var(--mono); font-weight: 700; }
.t-k, .t-kf { fill: var(--bg); }
.t-ks { stroke: var(--bg); }
.beats { list-style: none; margin: 0; padding: 0; counter-reset: beat; display: grid; gap: 18px; }
.beats li { position: relative; counter-increment: beat; padding-left: 48px; min-height: 32px; max-width: 46ch; }
.beats li::before { content: counter(beat); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; font: 900 16px/1 var(--sans); border: var(--line) solid currentColor; border-radius: 5px; }
/* The still picture (and all that reduced motion shows) is the end of the story: printed, set up, changed. */
.t-b1, .t-b2, .t-scan, .t-blank, .t-urla, .t-lbla, .t-ptr, .t-tap { opacity: 0; }
.t-label { stroke-dasharray: 1; stroke-dashoffset: 0; }
.t-type { transform-box: fill-box; transform-origin: 100% 50%; transform: scaleX(0); }
.t-b1, .t-print, .t-go, .t-tap { transform-box: fill-box; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .tut-stage *, .beats li::before { animation: 16s linear infinite; }
  .tut.paused .tut-stage *, .tut.paused .beats li::before { animation-play-state: paused; }
  .t-all { animation-name: t-all; }
  .t-b1 { animation-name: t-b1; } .t-b2 { animation-name: t-b2; } .t-print { animation-name: t-print; } .t-ptr { animation-name: t-ptr; }
  .t-label { animation-name: t-label; } .t-addr { animation-name: t-addr; } .t-blank { animation-name: t-blank; } .t-set { animation-name: t-set; }
  .t-phone { animation-name: t-phone; } .t-scan { animation-name: t-scan; } .t-type { animation-name: t-type; }
  .t-urla { animation-name: t-urla; } .t-urlb { animation-name: t-urlb; } .t-lbla { animation-name: t-lbla; } .t-lblb { animation-name: t-lblb; }
  .t-go { animation-name: t-go; } .t-tap { animation-name: t-tap; }
  .beats li:nth-child(1)::before { animation-name: beat1; } .beats li:nth-child(2)::before { animation-name: beat2; }
  .beats li:nth-child(3)::before { animation-name: beat3; } .beats li:nth-child(4)::before { animation-name: beat4; }
}
/* The code is whole from the first frame, as on the page. Beat 1, 0-25%: claim. Beat 2, 25-50%: print. Beat 3, 50-75%: set up from a phone. Beat 4, 75-100%: change; the print stays. */
@keyframes t-all { 0% { opacity: 0; } 2%, 97% { opacity: 1; } 100% { opacity: 0; } }
@keyframes t-b1 { 0%, 7% { opacity: 1; transform: scale(1); } 8% { opacity: 1; transform: scale(0.95); } 9.5%, 11% { opacity: 1; transform: scale(1); } 13%, 100% { opacity: 0; transform: scale(1); } }
@keyframes t-b2 { 0%, 13% { opacity: 0; } 15%, 47% { opacity: 1; } 49%, 100% { opacity: 0; } }
@keyframes t-print { 0%, 32% { transform: scale(1); } 33% { transform: scale(0.92); } 34.5%, 100% { transform: scale(1); } }
@keyframes t-ptr { 0% { opacity: 0; transform: translate(520px, 286px); } 2% { opacity: 1; transform: translate(520px, 286px); } 6.5%, 24% { opacity: 1; transform: translate(440px, 160px); } 31%, 46% { opacity: 1; transform: translate(330px, 160px); } 48%, 100% { opacity: 0; transform: translate(330px, 160px); } }
@keyframes t-label { 0%, 35% { stroke-dashoffset: 1; } 43%, 100% { stroke-dashoffset: 0; } }
@keyframes t-addr { 0%, 43% { opacity: 0; } 44%, 100% { opacity: 1; } }
@keyframes t-blank { 0%, 44% { opacity: 0; } 45%, 68.5% { opacity: 1; } 69%, 100% { opacity: 0; } }
@keyframes t-set { 0%, 68.5% { opacity: 0; } 69%, 100% { opacity: 1; } }
@keyframes t-phone { 0%, 50% { opacity: 0; } 52%, 100% { opacity: 1; } }
@keyframes t-scan { 0%, 52% { opacity: 0; } 53%, 56.5% { opacity: 1; } 57.5%, 100% { opacity: 0; } }
@keyframes t-type { 0% { transform: scaleX(1); } 57% { transform: scaleX(1); animation-timing-function: steps(17, end); } 64% { transform: scaleX(0); } 79.9% { transform: scaleX(0); } 80% { transform: scaleX(1); } 81% { transform: scaleX(1); animation-timing-function: steps(19, end); } 88%, 100% { transform: scaleX(0); } }
@keyframes t-urla { 0%, 79.9% { opacity: 1; } 80%, 100% { opacity: 0; } }
@keyframes t-urlb { 0%, 79.9% { opacity: 0; } 80%, 100% { opacity: 1; } }
@keyframes t-lbla { 0%, 76% { opacity: 1; } 76.1%, 100% { opacity: 0; } }
@keyframes t-lblb { 0%, 76% { opacity: 0; } 76.1%, 100% { opacity: 1; } }
@keyframes t-go { 0%, 67% { transform: scale(1); } 68% { transform: scale(0.92); } 69.5%, 91% { transform: scale(1); } 92% { transform: scale(0.92); } 93.5%, 100% { transform: scale(1); } }
@keyframes t-tap { 0%, 66% { opacity: 0; transform: scale(0.5); } 67.5% { opacity: 1; transform: scale(1); } 70%, 90% { opacity: 0; transform: scale(1.4); } 90.1% { opacity: 0; transform: scale(0.5); } 91.5% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1.4); } }
@keyframes beat1 { 0%, 24.9% { background: var(--fg); color: var(--bg); } 25%, 100% { background: transparent; color: var(--fg); } }
@keyframes beat2 { 0%, 24.9% { background: transparent; color: var(--fg); } 25%, 49.9% { background: var(--fg); color: var(--bg); } 50%, 100% { background: transparent; color: var(--fg); } }
@keyframes beat3 { 0%, 49.9% { background: transparent; color: var(--fg); } 50%, 74.9% { background: var(--fg); color: var(--bg); } 75%, 100% { background: transparent; color: var(--fg); } }
@keyframes beat4 { 0%, 74.9% { background: transparent; color: var(--fg); } 75%, 100% { background: var(--fg); color: var(--bg); } }

/* Single-label pages: sponsor page, first scan, key page, report, stop, counter, messages */
.narrow, .go { max-width: 680px; margin: 22px auto 0; }
.narrow > .panel, .narrow > form { margin-top: 20px; }
.narrow h1, .go h1 { font-size: clamp(32px, 6vw, 52px); }
.narrow .meta { font-size: 15px; margin: 10px 0 6px; }
.panel > .note { margin: 0 0 12px; }
.host { overflow-wrap: anywhere; }
.url { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; margin: 10px 0 0; }
.ruler { height: 14px; margin: 16px 0 14px; background:
  linear-gradient(var(--fg), var(--fg)) 0 0 / 100% var(--line) no-repeat,
  repeating-linear-gradient(90deg, var(--fg) 0 2px, transparent 2px 65px) 0 0 / 100% 14px no-repeat,
  repeating-linear-gradient(90deg, var(--fg) 0 2px, transparent 2px 13px) 0 0 / 100% 9px no-repeat; }
.spec { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px 22px; margin: 0; align-items: baseline; }
.spec dd { margin: 0; }
.spec dd.v { font-size: 15px; overflow-wrap: anywhere; }
.said { margin: 12px 0 0; }
.said { margin-bottom: 16px; }   /* air between the last detail and what is under it */
.words { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 19px; line-height: 1.45; margin: 14px 0 18px; }   /* the words of a note */
.said dd { white-space: pre-wrap; overflow-wrap: anywhere; }
/* A Wi-Fi password or the words of a note: on the page, shown when the button that leads to #said is pressed. */
.said .copyrow { white-space: normal; }
.said dd:has(.copyrow) { grid-column: 1 / -1; }   /* the field with its Copy button takes the whole width, its label above it, so a password is not cut off on a phone */
.said .copyrow input { font-family: var(--mono); font-weight: 700; }   /* a password is read letter by letter */
/* Two short fields side by side (first and last name, latitude and longitude, day and time). */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.kind > .small { margin: 0 0 16px; }
/* ---------- Sponsor page ----------
   The first page a scan of a free code opens. A white bar across the top: the name and Remove ads on the left, Skip ad on the right.
   Under it sponsored content and nothing else. Nothing here moves or waits. */
main.full { max-width: none; padding: 0; }
.sponsor { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.skipbar { --fg: #000; --bg: #fff; --knock: #fff; position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 20px; background: var(--bg); color: var(--fg); border-bottom: var(--line) solid var(--fg); }
.skipbar .brand { font-size: 24px; margin-right: 6px; }
.skipbar .btn { flex: none; padding: 12px 18px; font-size: 16px; }
.skipbar #skip { margin-left: auto; }
@media (max-width: 480px) {
  .skipbar { gap: 8px; padding: 10px 12px; }
  .skipbar .brand { font-size: 19px; margin-right: 0; }
  .skipbar .btn { padding: 11px 11px; font-size: 14.5px; }
}
.ad { display: grid; place-items: center; border: var(--thin) dashed var(--fg); border-radius: var(--r2); padding: 14px; overflow: hidden; }
.sponsor .ad { flex: 1; min-height: 300px; margin: 16px 20px 0; }
.ad iframe { max-width: 100%; border: 0; }
.house { max-width: 30ch; text-align: center; }
.house .big { font: 900 clamp(24px, 4.6vw, 40px)/1.15 var(--sans); letter-spacing: -0.01em; margin: 6px 0 10px; }
.house p:last-child { margin: 0; }
.adask { margin: 8px 20px 18px; text-align: center; max-width: none; }
.go .btn.big { display: block; }
.count { font: 900 clamp(72px, 17vw, 150px)/0.9 var(--sans); letter-spacing: -0.03em; margin: 0; }
.prose { max-width: 720px; margin: 22px auto 0; }
.prose h1 { font-size: clamp(34px, 6vw, 56px); margin-bottom: 14px; }
.prose h2 { margin: 36px 0 12px; padding-top: 16px; border-top: var(--line) solid currentColor; }
.prose li { margin-bottom: 8px; }
/* Commands on the page for developers: one line each, scrolled sideways when it does not fit. */
.prose pre { margin: 10px 0 18px; padding: 12px 14px; border: var(--line) solid currentColor; overflow-x: auto; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
.prose pre code { white-space: pre; }
.prose :not(pre) > code { overflow-wrap: anywhere; }

/* Print: the claimed code and its link, nothing else. Always black on white, whatever the screen theme. */
#printsheet { display: none; }
@media print {
  html, body { background: #fff !important; color: #000 !important; }
  /* Only the maker pages print their sheet alone; every other page prints what it shows. */
  .top, .foot, body[data-page="home"] main > :not(#printsheet), body[data-page="edit"] main > :not(#printsheet), body[data-page="scan"] main > :not(#printsheet) { display: none !important; }
  main { margin: 0; padding: 0; max-width: none; }
  /* One code, or a sheet of 6, 12 or 24. The page script sets --code (the width of one picture) from the size chosen under Customize,
     never above the size each sheet was measured with (qr.js SIZE), so every sheet fits the default margins of A4 and Letter. */
  #printsheet { display: grid; justify-content: center; text-align: center; gap: 6mm 8mm; padding-top: 6mm; --code: 80mm; grid-template-columns: var(--code); }
  #printsheet figure { margin: 0; break-inside: avoid; }
  #printsheet img { display: block; width: var(--code); height: var(--code); image-rendering: pixelated; }
  /* The address under each picture scales with the picture, so it stays inside its column at every size.
     The 4.5pt floor is our own choice: the address under the smallest picture still fits its width. */
  #printsheet figcaption { font: 700 14pt/1.2 var(--mono, monospace); font-size: clamp(4.5pt, calc(var(--code) * 0.069), 14pt); margin-top: calc(var(--code) * 0.035); white-space: nowrap; }
  #printsheet.n1 { padding-top: 15mm; }
  #printsheet.n6 { grid-template-columns: repeat(2, var(--code)); gap: 6mm 16mm; }
  #printsheet.n12 { grid-template-columns: repeat(3, var(--code)); gap: 6mm 12mm; }
  #printsheet.n24 { grid-template-columns: repeat(4, var(--code)); gap: 3mm 10mm; }
  /* A sheet of different codes (the bulk page): one grid per page, each of them the same size as the sheets above. */
  #printsheet.pages { display: block; padding-top: 0; }
  #printsheet .pg { display: grid; justify-content: center; text-align: center; padding-top: 6mm; break-after: page; }
  #printsheet .pg:last-child { break-after: auto; }
  #printsheet .pg.n6 { grid-template-columns: repeat(2, var(--code)); gap: 6mm 16mm; }
  #printsheet .pg.n12 { grid-template-columns: repeat(3, var(--code)); gap: 6mm 12mm; }
  #printsheet .pg.n24 { grid-template-columns: repeat(4, var(--code)); gap: 3mm 10mm; }
}
/* The bulk page is the home page's maker opened on a sheet (views.js home, start "sheet"): codes per page and pages in one row, the offer under the button, the list of sheets. */
.sheetrow { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.sheetrow .field { flex: 1; min-width: 120px; margin: 0; }
#bulkoffer { margin: 12px 0 0; }
.mine .sheetlist { border-top: var(--line) solid currentColor; }
.mine .sheetlist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
/* Keys for programs on the account page: the new key is shown once, on its own line, and wraps instead of pushing the page wide. */
.keynew code { display: block; padding: 10px 12px; border: 2px dashed var(--ink, #000); border-radius: 8px; overflow-wrap: anywhere; user-select: all; margin: 8px 0; }
#keys form { margin-top: 12px; }
.keynew { margin-top: 16px; }
#keys .small { margin-top: 14px; }
/* Price page: the two plans side by side, stacked on a phone. */
.pricepage { max-width: 1040px; margin: 22px auto 0; }
.pricepage h1 { font-size: clamp(32px, 6vw, 52px); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 28px 0 22px; }
.plans h2 { margin: 0; font-size: 26px; }
.plans .amount { font: 900 19px/1.3 var(--sans); margin: 4px 0 14px; padding-bottom: 14px; border-bottom: var(--thin) solid var(--fg); }
.plans ul { margin: 0; padding-left: 20px; }
.plans li { margin-bottom: 9px; }
.pricepage > p { max-width: 68ch; }
.pricepage > .buy { margin-top: 20px; }
.pricepage > .buy ~ p:not(.small) { margin-top: 14px; }
#offer { margin: -8px 0 20px; max-width: 60ch; }
.plans.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .plans.three { grid-template-columns: 1fr; } }
/* Side by side, the three cards share their rows: name, price, tax note, picture, list. So the pictures and lists start level. */
@media (min-width: 821px) {
  .plans.three { row-gap: 0; }
  .plans.three > .panel { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; align-content: start; }
  .plans.three > .panel > h2 { grid-row: 1; }
  .plans.three > .panel > .amount { grid-row: 2; border-bottom: 0; padding-bottom: 0; margin-bottom: 2px; }
  .plans.three > .panel > .small { grid-row: 3; margin: 0; }
  .plans.three > .panel > .way { grid-row: 4; border-top: var(--thin) solid var(--fg); padding-top: 18px; margin: 14px 0 16px; max-width: none; }
  .plans.three > .panel > ul { grid-row: 5; }
}

/* The question about counting visits (visits.js): a slim strip along the bottom edge, so it does not sit on the page's own buttons.
   Both answers are the same kind of button. */
/* The map on the Location form (public/map.js): tiles laid out by the script, a pin, two zoom buttons and the map maker's name. */
.map { position: relative; height: 260px; margin: 4px 0 8px; overflow: hidden; border: var(--thin) solid var(--fg); border-radius: var(--r2); background: #ddd; touch-action: none; cursor: crosshair; user-select: none; -webkit-user-select: none; }
.map:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.map-tiles img { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; pointer-events: none; }
.map-pin { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #000; border: 3px solid #fff; box-shadow: 0 0 0 2px #000; pointer-events: none; }
.map-zoom { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; padding: 0; font: 900 20px/1 var(--sans); color: #000; background: #fff; border: 2px solid #000; border-radius: 8px; cursor: pointer; }
.map-zoom.out { top: 50px; }
.map-zoom:disabled { opacity: 0.4; cursor: default; }
.map-by { position: absolute; right: 0; bottom: 0; padding: 1px 6px; font-size: 11px; line-height: 1.5; color: #000; background: rgba(255, 255, 255, 0.85); text-decoration: none; border-top-left-radius: 6px; }
dialog.ask { position: fixed; inset: 0; margin: auto; width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 24px 24px 22px; background: var(--bg); color: var(--fg); border: var(--line) solid var(--fg); border-radius: var(--r); }
dialog.ask:focus { outline: none; }
dialog.ask::backdrop { background: rgba(0, 0, 0, 0.55); }
.ask p { margin: 0 0 18px; font-size: 17px; line-height: 1.4; }
.ask div { display: flex; gap: 10px; }
.ask .btn { flex: 1 1 0; }

/* ---------- Openers ----------
   Every summary wears a plus that turns into a cross when its box is open, in place of the browser's triangle. */
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 12px; vertical-align: -0.1em; background: currentColor; -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; }
details[open] > summary::before { transform: rotate(45deg); }
.faq summary { padding-left: 28px; text-indent: -28px; }
a:not(.btn):hover, .linkbtn:not(:disabled):hover { text-decoration-thickness: 3px; }
@media (forced-colors: active) { summary::before { forced-color-adjust: none; background: CanvasText; } }

/* ---------- Motion ----------
   Ink moves when a person does something: a button goes down under the finger, a box opens, a message arrives, a copy is confirmed.
   Nothing here moves by itself, and nothing a stranger must read on a scan page starts out of sight. With reduced motion none of it runs. */
@media (prefers-reduced-motion: no-preference) {
  .btn, .copy, .seg button, .kinds button, .tiles button, .tabs button { transition: background-color 0.12s ease-out, color 0.12s ease-out, transform 0.08s ease-out; }
  .btn:not(:disabled):active, .copy:active, .seg button:not(:disabled):active, .kinds button:not(:disabled):active, .tiles button:active { transform: translateY(2px); }
  a, .linkbtn { transition: text-decoration-thickness 0.12s ease-out; }
  .step::before { transition: background-color 0.2s ease-out, color 0.2s ease-out; }
  summary::before { transition: transform 0.18s ease-out; }
  details[open] > summary ~ *, #custom, #acctlist .extra { animation: open-in 0.2s ease-out; }
  .pane { animation: fade-in 0.16s ease-out; }
  .ok, .error { animation: note-in 0.22s ease-out; }
  .did::before { animation: tick 0.32s cubic-bezier(0.2, 1.6, 0.4, 1); }
  .stamp { animation: stamp 0.3s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
  .stamp.open { animation-name: stamp-open; }   /* a second name, so the stamp comes down again when a blank code is set up */
  [data-page="stats"] .ruler { animation: rule-in 0.6s ease-out both; }
}
@keyframes open-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes note-in { from { opacity: 0; transform: translateY(4px); } }
@keyframes tick { from { transform: scale(0.4); } }
@keyframes stamp { from { opacity: 0; transform: scale(1.35) rotate(-4deg); } }
@keyframes stamp-open { from { opacity: 0; transform: scale(1.35) rotate(-4deg); } }
@keyframes rule-in { from { clip-path: inset(0 100% 0 0); } }

/* icons:begin. Written by `node icons.js --write` from icons.js; do not edit by hand. */
:root {
  --i-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M10.5 13.5a4 4 0 0 0 5.7 0l2.6-2.6a4 4 0 0 0-5.7-5.7L12 6.3'/%3E%3Cpath d='M13.5 10.5a4 4 0 0 0-5.7 0l-2.6 2.6a4 4 0 0 0 5.7 5.7l1.1-1.1'/%3E%3C/svg%3E");
  --i-f-price: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M3 12V4h8l10 10-8 8z'/%3E%3Cpath d='M7 8h1'/%3E%3C/svg%3E");
  --i-f-sponsor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Crect x='5' y='3' width='14' height='18'/%3E%3Crect x='8' y='6' width='8' height='6'/%3E%3Cpath d='M9 17h6'/%3E%3C/svg%3E");
  --i-f-stored: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M4 5h16v6H4zM4 13h16v6H4z'/%3E%3Cpath d='M10 8h4M10 16h4'/%3E%3C/svg%3E");
  --i-f-lasts: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E");
  --i-email: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M3 6h18v12H3z'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E");
  --i-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M6 3h4l2 5-3 2c1 2.5 2.5 4 5 5l2-3 5 2v4c0 1-1 2-2 2C11 20 4 13 4 5c0-1 1-2 2-2z'/%3E%3C/svg%3E");
  --i-sms: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M4 5h16v11h-9l-5 4v-4H4z'/%3E%3Cpath d='M8 9h8M8 12h5'/%3E%3C/svg%3E");
  --i-wifi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M3 10a13 13 0 0 1 18 0'/%3E%3Cpath d='M7 14.5a7 7 0 0 1 10 0'/%3E%3Cpath d='M12 19v.01'/%3E%3C/svg%3E");
  --i-vcard: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M3 5h18v14H3z'/%3E%3Ccircle cx='9' cy='10.5' r='2'/%3E%3Cpath d='M5.5 16c.5-2 2-3 3.5-3s3 1 3.5 3'/%3E%3Cpath d='M16 10h2M16 14h2'/%3E%3C/svg%3E");
  --i-text: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v4h4'/%3E%3Cpath d='M9.5 12h5M9.5 16h5'/%3E%3C/svg%3E");
  --i-geo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M12 21c-4-4.5-6-8-6-11a6 6 0 0 1 12 0c0 3-2 6.5-6 11z'/%3E%3Ccircle cx='12' cy='10' r='2'/%3E%3C/svg%3E");
  --i-event: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M4 6h16v14H4z'/%3E%3Cpath d='M4 11h16'/%3E%3Cpath d='M8 3v4M16 3v4'/%3E%3C/svg%3E");
  --i-menu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M7 3v18'/%3E%3Cpath d='M4 3v5c0 2 1.5 3 3 3s3-1 3-3V3'/%3E%3Cpath d='M17 21V3c-2 1-3 3-3 6v4h3'/%3E%3C/svg%3E");
  --i-blank: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M4 9V4h5M15 4h5v5M20 15v5h-5M9 20H4v-5'/%3E%3C/svg%3E");
  --i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Crect x='5' y='11' width='14' height='10'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
  --i-unlock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Crect x='5' y='11' width='14' height='10'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 7.5-2'/%3E%3C/svg%3E");
  --i-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Ccircle cx='8' cy='15.5' r='4.5'/%3E%3Cpath d='M11.5 12L20 3.5'/%3E%3Cpath d='M16 7.5l3 3'/%3E%3C/svg%3E");
  --i-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M2 12c3-5 6.5-7 10-7s7 2 10 7c-3 5-6.5 7-10 7s-7-2-10-7z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  --i-eye-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M2 12c3-5 6.5-7 10-7s7 2 10 7c-3 5-6.5 7-10 7s-7-2-10-7z'/%3E%3Cpath d='M4 4l16 16'/%3E%3C/svg%3E");
  --i-chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M4 4v16h16'/%3E%3Cpath d='M9 16v-4M13 16V8M17 16v-6'/%3E%3C/svg%3E");
  --i-flag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M5 21V3'/%3E%3Cpath d='M5 4h13l-3 4.5 3 4.5H5'/%3E%3C/svg%3E");
  --i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3 7.5-8 9-5-1.5-8-4.5-8-9V6z'/%3E%3C/svg%3E");
  --i-rules: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M6 5h12v16H6z'/%3E%3Cpath d='M9 3h6v4H9z'/%3E%3Cpath d='M9 12h6M9 16h6'/%3E%3C/svg%3E");
  --i-globe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3c3.5 3 3.5 15 0 18c-3.5-3-3.5-15 0-18z'/%3E%3C/svg%3E");
  --i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6'/%3E%3Cpath d='M12 7v.01'/%3E%3C/svg%3E");
  --i-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M12 3l10 18H2z'/%3E%3Cpath d='M12 10v5'/%3E%3Cpath d='M12 18v.01'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  --i-power: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M12 3v9'/%3E%3Cpath d='M7 6.5a8 8 0 1 0 10 0'/%3E%3C/svg%3E");
  --i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1-4.5 4-6.5 8-6.5s7 2 8 6.5'/%3E%3C/svg%3E");
  --i-building: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M5 21V3h10v18'/%3E%3Cpath d='M15 9h4v12'/%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M9 7h2M9 11h2M9 15h2'/%3E%3C/svg%3E");
  --i-briefcase: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Crect x='3' y='7' width='18' height='13'/%3E%3Cpath d='M9 7V4h6v3'/%3E%3Cpath d='M3 13h18'/%3E%3C/svg%3E");
  --i-subject: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M4 6h16M4 12h16M4 18h10'/%3E%3C/svg%3E");
  --i-code: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M8 7l-5 5 5 5'/%3E%3Cpath d='M16 7l5 5-5 5'/%3E%3Cpath d='M13.5 4l-3 16'/%3E%3C/svg%3E");
  --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
  --i-list: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M10 6h10M10 12h10M10 18h10'/%3E%3Cpath d='M4 6v.01M4 12v.01M4 18v.01'/%3E%3C/svg%3E");
  --i-print: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M7 9V3h10v6'/%3E%3Cpath d='M7 17H3V9h18v8h-4'/%3E%3Cpath d='M7 14h10v7H7z'/%3E%3C/svg%3E");
  --i-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E");
  --i-share: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M12 15V3'/%3E%3Cpath d='M8 7l4-4 4 4'/%3E%3Cpath d='M5 12v8h14v-8'/%3E%3C/svg%3E");
  --i-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Crect x='8' y='8' width='12' height='13'/%3E%3Cpath d='M16 8V3H4v13h4'/%3E%3C/svg%3E");
  --i-pencil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M4 20l1-5L16 4l4 4L9 19z'/%3E%3Cpath d='M13 7l4 4'/%3E%3C/svg%3E");
  --i-sliders: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M4 7h10M18 7h2M4 17h2M10 17h10'/%3E%3Crect x='14' y='5' width='4' height='4'/%3E%3Crect x='6' y='15' width='4' height='4'/%3E%3C/svg%3E");
  --i-skip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M5 5l9 7-9 7z'/%3E%3Cpath d='M19 5v14'/%3E%3C/svg%3E");
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --i-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
  --i-more: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M5 12v.01M12 12v.01M19 12v.01'/%3E%3C/svg%3E");
  --i-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3C/svg%3E");
  --i-user-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Ccircle cx='10' cy='8' r='4'/%3E%3Cpath d='M3 21c.8-4.5 3.5-6.5 7-6.5 1.5 0 3 .4 4 1.2'/%3E%3Cpath d='M18 14v6M15 17h6'/%3E%3C/svg%3E");
  --i-event-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='square'%3E%3Cpath d='M4 6h16v14H4z'/%3E%3Cpath d='M4 11h16'/%3E%3Cpath d='M8 3v4M16 3v4'/%3E%3Cpath d='M12 13.5v4M10 15.5h4'/%3E%3C/svg%3E");
}
[data-i="link"] { --i: var(--i-link); }
[data-i="f-price"] { --i: var(--i-f-price); }
[data-i="f-sponsor"] { --i: var(--i-f-sponsor); }
[data-i="f-stored"] { --i: var(--i-f-stored); }
[data-i="f-lasts"] { --i: var(--i-f-lasts); }
[data-i="email"] { --i: var(--i-email); }
[data-i="tel"] { --i: var(--i-tel); }
[data-i="sms"] { --i: var(--i-sms); }
[data-i="wifi"] { --i: var(--i-wifi); }
[data-i="vcard"] { --i: var(--i-vcard); }
[data-i="text"] { --i: var(--i-text); }
[data-i="geo"] { --i: var(--i-geo); }
[data-i="event"] { --i: var(--i-event); }
[data-i="menu"] { --i: var(--i-menu); }
[data-i="blank"] { --i: var(--i-blank); }
[data-i="lock"] { --i: var(--i-lock); }
[data-i="unlock"] { --i: var(--i-unlock); }
[data-i="key"] { --i: var(--i-key); }
[data-i="eye"] { --i: var(--i-eye); }
[data-i="eye-off"] { --i: var(--i-eye-off); }
[data-i="chart"] { --i: var(--i-chart); }
[data-i="flag"] { --i: var(--i-flag); }
[data-i="shield"] { --i: var(--i-shield); }
[data-i="rules"] { --i: var(--i-rules); }
[data-i="globe"] { --i: var(--i-globe); }
[data-i="info"] { --i: var(--i-info); }
[data-i="warn"] { --i: var(--i-warn); }
[data-i="check"] { --i: var(--i-check); }
[data-i="power"] { --i: var(--i-power); }
[data-i="user"] { --i: var(--i-user); }
[data-i="building"] { --i: var(--i-building); }
[data-i="briefcase"] { --i: var(--i-briefcase); }
[data-i="subject"] { --i: var(--i-subject); }
[data-i="code"] { --i: var(--i-code); }
[data-i="phone"] { --i: var(--i-phone); }
[data-i="list"] { --i: var(--i-list); }
[data-i="print"] { --i: var(--i-print); }
[data-i="download"] { --i: var(--i-download); }
[data-i="share"] { --i: var(--i-share); }
[data-i="copy"] { --i: var(--i-copy); }
[data-i="pencil"] { --i: var(--i-pencil); }
[data-i="sliders"] { --i: var(--i-sliders); }
[data-i="skip"] { --i: var(--i-skip); }
[data-i="arrow"] { --i: var(--i-arrow); }
[data-i="plus"] { --i: var(--i-plus); }
[data-i="cross"] { --i: var(--i-cross); }
[data-i="more"] { --i: var(--i-more); }
[data-i="search"] { --i: var(--i-search); }
[data-i="user-plus"] { --i: var(--i-user-plus); }
[data-i="event-plus"] { --i: var(--i-event-plus); }
[data-i="call"] { --i: var(--i-tel); }
[data-i="message"] { --i: var(--i-sms); }
[data-i="note"] { --i: var(--i-text); }
[data-i="page"] { --i: var(--i-text); }
[data-i="place"] { --i: var(--i-geo); }
[data-i="contact"] { --i: var(--i-vcard); }
[data-i="contact-card"] { --i: var(--i-vcard); }
[data-i="text-message"] { --i: var(--i-sms); }
[data-i="calendar"] { --i: var(--i-event); }
[data-i="clock"] { --i: var(--i-f-lasts); }
/* icons:end */

/* ---------- the tool: the form first, the picture beside it, one button ----------
   These rules come last on purpose: they take the numbers and the two cards out of the step rules above. */
.intro h1 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; }
.intro { margin: 8px 0 20px; }
@media (min-width: 821px) { .maker { grid-template-columns: minmax(0, 1fr) minmax(230px, 340px); } .maker .code { order: 2; } }
.maker.blank .kind, .maker:not(.blank) #blanksay { display: none; }
/* The Blank line and, beside it, the small button that opens the set-up password; the field itself opens under them. */
.blankrow { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 18px; margin: 0 0 16px; }
.blankrow:empty, .maker:not(.blank) .blankrow { display: none; }
.blankrow #blanksay { margin: 0; }
/* The two small password links: the padding gives a finger 38 px to hit, the margin takes it back so the rows keep their height.
   The rows sit 12 px apart, so each link grows 6 px toward the other and 10 px away from it: the two areas never overlap. */
.blankrow .linkbtn, .spwrow .linkbtn { font-size: 14.5px; font-weight: 700; }
.blankrow .linkbtn { padding: 10px 0 6px; margin: -10px 0 -6px; }
.spwrow .linkbtn { padding: 6px 0 10px; margin: -6px 0 -10px; }
.maker:not(.blank) .pwopt, .maker.fixed .pwopt, .maker.claimed .pwopt, .maker.fixed .spwopt, .maker.claimed .spwopt { display: none; }
.spwrow { display: flex; justify-content: flex-end; margin: 0 0 16px; }
.spwrow:empty { display: none; }
#pwfield, #spwfield { margin: -6px 0 16px; }
#pwfield .field, #spwfield .field { margin-bottom: 8px; }
#pwfield .small, #spwfield .small { margin: 0 0 4px; max-width: 60ch; }
#pwfield.locked #pwsay, #spwfield.locked #spwsay { display: none; }   /* a locked field says one thing: where it comes from */
.pwacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-bottom: 12px; }
#pwfield input:disabled, #pwform input:disabled { background: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--fg) 9%, transparent) 6px 12px); cursor: not-allowed; }
.maker.fixed .agree, .maker.claimed .agree { display: none; }
.maker:not(.claimed) #s-setup .head { display: none; }
.maker .kinds { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 16px; }   /* ten types in two rows of five */

.maker .kinds button { min-height: 64px; padding: 8px 2px; font-size: 13px; gap: 4px; }
.maker .kinds .q { width: 20px; height: 20px; margin: 2px; }
#blanksay { margin: 0 0 16px; max-width: 44ch; }
/* No step numbers: the form is the page, and what follows the button shows one step at a time under a line. */
.step, .step:not(.now) { padding-left: 0; min-height: 0; }
.step::before, .step::after { display: none; }
.step + .step { border-top: var(--thin) solid var(--fg); padding-top: 14px; }
.step .head { padding: 0; min-height: 0; }
.step:not(.now) h2 { font-weight: 500; }
@media (max-width: 480px) { .step .head { padding-left: 0; } .maker .kinds button { font-size: 11.5px; } }
/* Phones: the button belongs on the first screen, so the type buttons are lower and the line about the blank code is left to the note beside the picture. */
@media (max-width: 540px) { .maker .kinds button { min-height: 52px; padding: 6px 2px; } .maker .kinds { margin-bottom: 12px; } #blanksay { margin-bottom: 12px; } .blankrow { margin-bottom: 12px; } }
.maker.fixed #pick-blank { display: none; }   /* a static code holds its content in the picture, so it is never blank */
@media (max-width: 480px) { .maker:not(.claimed) .code { grid-template-columns: 120px minmax(0, 1fr); } }
@media (max-width: 360px) { .maker .kinds { gap: 4px; } .maker .kinds button { font-size: 10px; letter-spacing: 0; } .maker:not(.claimed) .code { grid-template-columns: 104px minmax(0, 1fr); } }

/* Print and Save under the picture, whenever it shows a real code. */
.codeacts { margin-top: 14px; flex-wrap: nowrap; }
.codeacts .btn { white-space: nowrap; padding-left: 10px; padding-right: 10px; }
.codeacts[hidden] { display: none; }
.codeacts[hidden] + .agree { display: none; }
.code .agree { margin: 8px 0 0; }
@media (max-width: 820px) { .maker .code .agree { grid-column: 1 / -1; } }
@media (max-width: 820px) { .maker .code .codeacts { grid-column: 1 / -1; margin-top: 8px; } }

/* Short desktop windows (a laptop): the same blocks with less air between them, so the Claim button and the buttons under the
   picture are on the first screen. Taller windows keep the roomier spacing. */
@media (min-width: 821px) and (max-height: 840px) {
  .top { padding-top: 12px; padding-bottom: 10px; }
  .intro { margin: 4px 0 14px; }
  .intro .lead { font-size: 19px; margin-top: 10px; max-width: none; }
  .maker { padding-top: 24px; padding-bottom: 24px; }
  .mode { margin-bottom: 16px; }
  .pickh { margin-bottom: 8px; }
  .pick button { padding: 10px 13px 11px; }
  .pick button span { margin-top: 3px; }
  .maker .kinds { margin-bottom: 12px; }
  .maker .kinds button { min-height: 50px; padding: 4px 2px; gap: 2px; }
  .maker .field { margin-bottom: 12px; }
  .maker .step .note { margin-bottom: 12px; }
  .blankrow { margin-bottom: 12px; }
  .maker .btn.big { padding-top: 17px; padding-bottom: 17px; }
}
/* The shortest laptop windows (a 1366 by 768 screen leaves about 650 px): one more notch, so the Claim button is still on the first screen. */
@media (min-width: 821px) and (max-height: 700px) {
  .intro { margin: 2px 0 8px; }
  .intro .lead { font-size: 18px; }
  .maker { padding-top: 18px; }
  .mode { margin-bottom: 10px; }
  .pickh { margin-bottom: 6px; }
  .maker .kinds button { min-height: 45px; padding: 3px 2px; }
  .pick button { font-size: 13.5px; padding: 8px 13px 9px; }
  .pick button span { margin-top: 1px; }
  .maker .btn.big { padding-top: 14px; padding-bottom: 14px; }
}

/* The page a scan of a blank code shows (views.js scan): until the code is set up, the maker is its form alone, as wide as the lines above it. */
#scanhead + .maker { margin-top: 20px; }
#scanhead.done > :not(h1) { display: none; }
#scanhead.done { max-width: none; }
.maker.firstscan { display: block; max-width: 680px; margin: 20px auto 0; }
/* The page of one code (an edit link, a first scan after set-up): one column, the editor first, everything else in closed rows that
   open on a press (views.js fold). A row whose content the script hides is not shown. */
.maker.solo { display: block; max-width: 680px; margin: 20px auto 0; }
.fold { border-top: var(--thin) solid var(--fg); }
/* A row reads like the closed steps above it: its name, then an underlined word to press. */
.fold > summary { cursor: pointer; font-size: 17px; font-weight: 500; padding: 14px 0; }
.fold > summary::before { display: none; }
.fold > summary::after { content: "Open"; margin-left: 14px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fold[open] > summary { font-size: 21px; font-weight: 900; }
.fold[open] > summary::after { content: "Close"; font-size: 17px; font-weight: 500; }
.end:not([hidden]) + .manage { margin-top: 18px; }
.maker.solo #s-keep.now { padding-bottom: 14px; }
.fold > .mailbox { margin-top: 0; padding: 0 0 18px; border-top: 0; }
.fold:has(> [hidden]) { display: none; }
.foldrow + .step { border-top: var(--thin) solid var(--fg); padding-top: 14px; }
.maker.solo .code { position: static; max-width: none; display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr); gap: 4px 16px; align-items: center; padding-bottom: 18px; }
.maker.solo .sticker { grid-row: span 2; padding: 6px; }
.maker.solo .codeline { margin: 0; align-self: end; }
.maker.solo .code .note { align-self: start; overflow-wrap: anywhere; min-width: 0; }
.maker.solo .code .codeacts { grid-column: 1 / -1; margin-top: 8px; }
.foot.bare { justify-content: flex-start; }
.maker.firstscan .code, .maker.firstscan .flow > :not(#s-setup), .maker.firstscan #end, .maker.firstscan #manage, .maker.firstscan .next, .maker.firstscan #pick-blank { display: none; }
