/* Sparky Stock.
   The look: a lockup wall covered in hard hat stickers. Black, volt yellow and the barricade stripe carry the
   brand. The other colours come off the site itself: flagging tape, marking paint and hi-vis.
   Big targets for cold or gloved hands, and nothing that needs a second look to read. */

:root {
  --bg: #eef0eb;
  --surface: #ffffff;
  --sunk: #e4e7df;
  --ink: #14161a;
  --ink-2: #434951;
  --ink-3: #666e78;
  --line: #d8dbd3;
  --line-2: #b4b9ae;
  --edge: #14161a;
  --drop: #14161a;
  --volt: #ffd60a;
  --volt-ink: #14161a;
  --volt-soft: #fff2ad;
  --out: #b83508;
  --out-soft: #ffe2d4;
  --ok: #17753a;
  --ok-soft: #d4f2dd;
  --info: #185cae;
  --info-soft: #d9e8fb;
  --tick-bg: #14161a;
  --tick-fg: #ffd60a;
  --black: #14161a;
  --on-black: #ffffff;
  --on-black-2: #b9c0c8;
  /* tape colours. All of them take black text, in the light theme and the dark one. */
  --t-yellow: #ffd60a;
  --t-orange: #ff9a4d;
  --t-lime: #b9ee3f;
  --t-sky: #76ccff;
  --t-pink: #ff9dcf;
  --t-mint: #63e3b2;
  --t-lilac: #bfaeff;
  --t-red: #ff7d6e;
  --tile-ink: #14161a;
  --display: "Anton", Impact, "Arial Narrow", "Helvetica Neue", sans-serif;
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 16px;
  --nav-h: 62px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0f11;
    --surface: #1a1d22;
    --sunk: #131518;
    --ink: #f2f4f5;
    --ink-2: #c0c6cd;
    --ink-3: #8e96a0;
    --line: #2b3036;
    --line-2: #414850;
    --edge: #505862;
    --drop: #000000;
    --volt-soft: #3b3307;
    --out: #ff8a57;
    --out-soft: #3a1c0f;
    --ok: #62d08d;
    --ok-soft: #11301d;
    --info: #86bcf6;
    --info-soft: #12263c;
    --tick-bg: #ffd60a;
    --tick-fg: #14161a;
    --black: #000000;
    color-scheme: dark;
  }
}

.tone-yellow { --tc: var(--t-yellow); }
.tone-orange { --tc: var(--t-orange); }
.tone-lime { --tc: var(--t-lime); }
.tone-sky { --tc: var(--t-sky); }
.tone-pink { --tc: var(--t-pink); }
.tone-mint { --tc: var(--t-mint); }
.tone-lilac { --tc: var(--t-lilac); }
.tone-red { --tc: var(--t-red); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.4 var(--ui);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--info); outline-offset: 2px; }
svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.i.s { width: 18px; height: 18px; }

/* Every picture is a sticker drawn for this app. They are decoration only: the words beside them say the same thing. */
.art { display: block; object-fit: contain; flex: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; pointer-events: none; }
.art.gone { visibility: hidden; }
/* a big mascot that could not load (no signal, never saved) closes up instead of leaving a hole */
.empty .art.gone, .sent-art.gone, .pin-art.gone, .hero-art.gone, .banner.pic .art.gone { display: none; }

.wrap { max-width: 640px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.page { padding-top: 18px; padding-bottom: calc(var(--nav-h) + 116px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 18px; }
.page.nonav { padding-bottom: calc(126px + env(safe-area-inset-bottom, 0px)); }
.page.end { padding-bottom: calc(44px + env(safe-area-inset-bottom, 0px)); }
.stack { display: flex; flex-direction: column; gap: 12px; }
.gap8 { gap: 8px; }
.rowx { display: flex; align-items: center; gap: 10px; }
.rowx.wrapx { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.mute { color: var(--ink-3); }
.small { font-size: 14px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.center { text-align: center; }

/* ---------- top bar */
.top { background: var(--black); color: var(--on-black); padding-top: env(safe-area-inset-top, 0px); position: relative; z-index: 3; }
.top::before, .hero::before {
  content: ""; display: block; height: 10px;
  background: repeating-linear-gradient(135deg, var(--volt) 0 14px, #14161a 14px 28px);
}
.top-in { display: flex; align-items: center; gap: 10px; min-height: 64px; padding-block: 10px; }
.top-back { width: 44px; height: 44px; margin-left: -10px; display: grid; place-items: center; color: inherit; border-radius: 12px; }
.top-t { flex: 1; min-width: 0; }
.top-title { font: 400 25px/1.05 var(--display); text-transform: uppercase; letter-spacing: 0.02em; overflow-wrap: anywhere; text-wrap: balance; }
.top-sub { font-size: 13.5px; color: var(--on-black-2); margin-top: 3px; }
.who { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 13px; border-radius: 999px; background: #2a2e34; color: var(--on-black); font-weight: 700; font-size: 14px; max-width: 46%; border: 2px solid #4a515a; }
.who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* a category page wears its tape colour, so every aisle looks different */
.top.tone { background: var(--tc); color: var(--tile-ink); border-bottom: 2px solid var(--tile-ink); }
.top.tone .top-sub { color: rgba(20, 22, 26, 0.78); font-weight: 600; }
.top-art { width: 74px; height: 74px; margin-block: -8px; transform: rotate(6deg); filter: drop-shadow(1px 3px 0 rgba(20, 22, 26, 0.3)); }

/* ---------- landing */
.hero { background: var(--black); color: var(--on-black); padding-top: env(safe-area-inset-top, 0px); overflow: hidden; }
.hero-in { padding-block: 26px 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; align-items: end; }
.hero-t { grid-column: 1; min-width: 0; }
.logo { font: 400 50px/0.92 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.logo b { font-weight: 400; color: var(--volt); display: block; }
.hero h1 { font: 800 22px/1.2 var(--ui); margin-top: 16px; text-wrap: balance; }
.hero p { color: var(--on-black-2); margin-top: 8px; max-width: 34em; grid-column: 1 / -1; }
.hero-art { grid-column: 2; grid-row: 1; width: 132px; height: 168px; object-position: bottom; margin-bottom: -6px; }
.rule { grid-column: 1 / -1; justify-self: start; margin-top: 18px; background: var(--volt); color: #14161a; font: 400 19px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.03em; padding: 9px 13px 8px; border-radius: 10px; border: 2px solid #14161a; box-shadow: 0 0 0 3px #fff, 5px 6px 0 3px rgba(0, 0, 0, 0.55); transform: rotate(-2.2deg); }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: how; }
.how li { counter-increment: how; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; }
.how .how-pic { position: relative; width: 84px; height: 92px; }
.how .how-pic .art { width: 84px; height: 92px; object-position: bottom; }
.how .how-pic::after { content: counter(how); position: absolute; left: -4px; top: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--volt); color: #14161a; border: 2px solid #14161a; font: 400 17px/24px var(--display); text-align: center; }
.how b { display: block; line-height: 1.25; }
.how span { display: block; color: var(--ink-3); margin-top: 2px; }
.steps { counter-reset: s; display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.steps li::before { content: counter(s); font: 400 20px/30px var(--display); width: 34px; height: 34px; text-align: center; background: var(--volt); color: var(--volt-ink); border-radius: 50%; border: 2px solid #14161a; }

/* ---------- cards, sections */
.card { background: var(--surface); border: 2px solid var(--edge); border-radius: var(--r); padding: 15px; }
.card.flush { padding: 0; overflow: hidden; }
.sec { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 17px; font-weight: 800; color: var(--ink); padding: 0 2px; margin-bottom: -8px; }
.sec .mute { font-weight: 600; font-size: 13.5px; }
.h2 { font: 400 26px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; text-wrap: balance; }

.banner { position: relative; display: flex; gap: 10px; align-items: flex-start; background: var(--volt-soft); border: 2px solid var(--edge); border-radius: var(--r); padding: 12px 13px; font-size: 15px; }
.banner b { font-weight: 800; }
.banner.ok { background: var(--ok-soft); }
.banner.out { background: var(--out-soft); }
.banner.info { background: var(--info-soft); }
.banner.plain { background: var(--surface); border-color: var(--line-2); }
.banner .btn { margin-left: auto; align-self: center; flex: none; white-space: nowrap; }
/* a banner with the mascot stuck on its corner */
.banner.pic { padding-left: 82px; min-height: 70px; align-items: center; }
.banner.pic .art { position: absolute; left: 6px; bottom: 5px; width: 70px; height: 78px; object-position: bottom; transform: rotate(-4deg); }

/* ---------- buttons: hard edge, offset shadow, and they go down when you press them */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 17px; border-radius: 14px; font-weight: 800; font-size: 16px; text-decoration: none; border: 2px solid var(--edge); background: var(--surface); color: var(--ink); text-align: center; box-shadow: 3px 3px 0 var(--drop); transition: transform 0.07s ease-out, box-shadow 0.07s ease-out; }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--drop); }
.btn.big { min-height: 58px; font-size: 17.5px; width: 100%; }
.btn.wide { flex: 1 1 100%; }
.btn.sm { min-height: 40px; padding: 0 12px; font-size: 14px; border-radius: 11px; box-shadow: 2px 2px 0 var(--drop); }
.btn.sm:active { transform: translate(2px, 2px); }
.btn.volt { background: var(--volt); color: var(--volt-ink); border-color: #14161a; }
.btn.ink { background: var(--ink); color: var(--bg); border-color: var(--ink); box-shadow: 3px 3px 0 var(--volt); }
.btn.ink:active { box-shadow: 0 0 0 var(--volt); }
.btn.line { background: var(--surface); color: var(--ink); }
.btn.ghost { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; border-color: transparent; background: none; box-shadow: none; }
.btn.ghost:active { transform: none; }
.btn.outb { background: var(--out); color: #fff; border-color: #14161a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.outb { color: #14161a; } }
.btn.okb { background: var(--ok); color: var(--surface); border-color: #14161a; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn.other { justify-content: flex-start; text-align: left; padding-left: 10px; line-height: 1.2; }
.btn.other .art { width: 46px; height: 46px; transform: rotate(-5deg); }
.btn .count { font-family: var(--mono); background: #14161a; color: var(--volt); border-radius: 999px; min-width: 30px; padding: 3px 9px; font-size: 15px; display: inline-block; }

/* ---------- forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .label { font-size: 15px; font-weight: 700; color: var(--ink); }
.field small { color: var(--ink-3); font-size: 13.5px; }
.in, textarea.in, select.in {
  width: 100%; min-height: 54px; padding: 12px 14px; font-size: 17px;
  background: var(--surface); border: 2px solid var(--edge); border-radius: 14px; -webkit-appearance: none; appearance: none;
}
textarea.in { min-height: 84px; resize: vertical; line-height: 1.35; }
.in:focus { outline: 4px solid var(--volt); outline-offset: 0; }
.in.code { font: 600 26px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; text-align: center; }
.err { color: var(--out); font-weight: 700; font-size: 15px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; width: 100%; text-align: left; }
.toggle i { flex: none; width: 54px; height: 32px; border-radius: 999px; background: var(--line-2); border: 2px solid var(--edge); position: relative; transition: background 0.15s; }
.toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid #14161a; transition: transform 0.15s; }
.toggle[aria-pressed="true"] i { background: var(--ok); }
.toggle[aria-pressed="true"] i::after { transform: translateX(22px); }
/* the bigger-text switch: one slim row, the same wherever it shows */
.bigrow { background: var(--surface); border: 2px solid var(--line-2); border-radius: var(--r); padding: 2px 14px; }
.bigrow .toggle b { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.days button { min-height: 46px; border-radius: 11px; border: 2px solid var(--edge); background: var(--surface); font-weight: 800; }
.days button[aria-pressed="true"] { background: var(--volt); color: #14161a; border-color: #14161a; }

/* ---------- search and chips */
.searchbar { position: sticky; top: 0; z-index: 5; background: var(--bg); padding-block: 8px; margin-block: -8px; }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.search .in { padding-left: 46px; padding-right: 46px; border-radius: 16px; min-height: 58px; box-shadow: 3px 3px 0 var(--drop); }
/* the page has its own clear button; the browser's second one would sit beside it */
.search .in::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.search .clear { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink-2); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; padding-block: 2px 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--edge); background: var(--surface); font-weight: 700; font-size: 15px; white-space: nowrap; }
.chip .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--tc); border: 2px solid #14161a; flex: none; }
.chip[aria-pressed="true"], .chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- category tiles: the sticker wall */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding-right: 4px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; min-height: 172px; padding: 10px 12px 12px; background: var(--tc, var(--t-yellow)); color: var(--tile-ink); border: 2px solid var(--tile-ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--drop); transition: transform 0.07s ease-out, box-shadow 0.07s ease-out; }
.tile:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--drop); }
.tile-art { width: 84px; height: 84px; align-self: flex-end; margin: -2px -4px 0 0; transform: rotate(var(--tilt, 5deg)); filter: drop-shadow(1px 3px 0 rgba(20, 22, 26, 0.3)); }
.tile:nth-child(3n + 1) { --tilt: -6deg; }
.tile:nth-child(3n + 2) { --tilt: 5deg; }
.tile:nth-child(3n) { --tilt: -3deg; }
.tile b { font: 400 21px/1.04 var(--display); text-transform: uppercase; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.tile span { font-size: 12.5px; line-height: 1.3; color: rgba(20, 22, 26, 0.82); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.tile em { font-style: normal; margin-top: auto; font: 700 12.5px/1 var(--ui); background: #14161a; color: #fff; border-radius: 999px; padding: 5px 9px; }
.tile.has em { background: #fff; color: #14161a; box-shadow: 0 0 0 2px #14161a; }
.tile.has::after { content: ""; position: absolute; top: 10px; left: 10px; width: 30px; height: 30px; border-radius: 50%; background: #14161a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd60a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.500l4.500 4.500L19 7.500'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* ---------- item rows */
.list { background: var(--surface); border: 2px solid var(--edge); border-radius: var(--r); overflow: hidden; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 10px 10px 14px; min-height: 68px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row.in-cart { background: var(--volt-soft); }
.row-n { display: block; font-weight: 700; font-size: 16.5px; line-height: 1.25; overflow-wrap: anywhere; }
.row-h { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.row-s { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 5px; }
/* the words (and the photo, when there is one) open the item's own page */
.row-t { display: flex; align-items: center; gap: 12px; min-width: 0; align-self: stretch; text-align: left; border-radius: 10px; }
.row-t:active .row-n { text-decoration: underline; text-underline-offset: 3px; }
.row-x { display: block; min-width: 0; }
.thumb { width: 54px; height: 54px; flex: none; border-radius: 11px; border: 2px solid var(--edge); background: #fff; object-fit: cover; }
.add { width: 50px; height: 50px; border-radius: 14px; background: var(--volt); color: var(--volt-ink); border: 2px solid #14161a; display: grid; place-items: center; box-shadow: 2px 2px 0 var(--drop); transition: transform 0.07s ease-out, box-shadow 0.07s ease-out; }
.add:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--drop); }
.add svg { stroke-width: 2.6; }
.step { flex: none; display: grid; grid-template-columns: 44px minmax(56px, auto) 44px; align-items: stretch; height: 50px; border: 2px solid var(--edge); border-radius: 14px; overflow: hidden; background: var(--surface); }
.step > button { display: grid; place-items: center; }
.step > button:first-child { border-right: 1px solid var(--line-2); }
.step > button:last-child { border-left: 2px solid #14161a; background: var(--volt); color: var(--volt-ink); }
.step > button:active { filter: brightness(0.9); }
.step-q { padding: 0 6px; line-height: 1; display: flex !important; flex-direction: column; justify-content: center; align-items: center; gap: 3px; }
.step-q b { font: 700 18px/1 var(--mono); font-variant-numeric: tabular-nums; }
.step-q i { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; }
.step input { width: 64px; border: 0; text-align: center; font: 700 18px/1 var(--mono); background: var(--volt-soft); color: var(--ink); outline: none; -moz-appearance: textfield; }
.step input::-webkit-outer-spin-button, .step input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- pills */
.pill { display: inline-flex; align-items: center; gap: 4px; min-height: 22px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.02em; background: var(--sunk); color: var(--ink-2); white-space: nowrap; }
.pill.out { background: var(--out); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pill.out { color: #14161a; } }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.info { background: var(--info-soft); color: var(--info); }
.pill.volt { background: var(--volt); color: var(--volt-ink); }

/* ---------- fixed bars */
.bar { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px)); z-index: 20; background: linear-gradient(to top, var(--bg) 72%, transparent); padding-block: 14px 12px; }
.bar.nonav { bottom: 0; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.bar .wrap { display: flex; gap: 12px; padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; background: var(--surface); border-top: 2px solid var(--edge); padding-bottom: env(safe-area-inset-bottom, 0px); }
.nav-in { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: var(--nav-h); max-width: 640px; margin: 0 auto; }
.nav button, .nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 700; color: var(--ink-3); position: relative; text-decoration: none; }
.nav svg { width: 50px; height: 28px; padding: 2px 13px; border-radius: 999px; border: 2px solid transparent; }
.nav [aria-current="page"] { color: var(--ink); font-weight: 800; }
.nav [aria-current="page"] svg { background: var(--volt); color: #14161a; border-color: #14161a; }
.nav .badge { position: absolute; top: 4px; left: calc(50% + 12px); min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 700 11.5px/19px var(--mono); text-align: center; border: 1px solid var(--surface); }
.nav .badge.out { background: var(--out); color: #fff; }
.nav .badge.ok { background: var(--ok); color: var(--surface); }

/* ---------- name picker */
.names { display: grid; gap: 0; }
.names button { text-align: left; padding: 0 14px; min-height: 56px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.names button:first-child { border-top: 0; }
.names button:active { background: var(--volt-soft); }

/* ---------- cart */
.cl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; padding: 12px 10px 12px 14px; border-top: 1px solid var(--line); align-items: center; }
.cl:first-child { border-top: 0; }
.cl .seg { grid-column: 1 / -1; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--edge); border-radius: 12px; overflow: hidden; }
.seg button { min-height: 42px; font-size: 14.5px; font-weight: 800; color: var(--ink-2); }
.seg button + button { border-left: 2px solid var(--edge); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg button.outopt[aria-pressed="true"] { background: var(--out); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seg button.outopt[aria-pressed="true"] { color: #14161a; } }
.note-dup { grid-column: 1 / -1; font-size: 13.5px; color: var(--info); font-weight: 600; }
.cl .left { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); line-height: 1.25; }
.left i { font-style: normal; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.left .in { flex: none; width: 92px; min-height: 46px; padding: 8px 10px; text-align: center; -moz-appearance: textfield; }
.left .in::-webkit-outer-spin-button, .left .in::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- one item, big */
.photo { border: 2px solid var(--edge); border-radius: var(--r); overflow: hidden; background: #fff; }
.photo img { display: block; width: 100%; max-height: 58vh; object-fit: contain; }
.photo.none { min-height: 190px; display: grid; place-items: center; align-content: center; gap: 8px; padding: 18px; text-align: center; font-weight: 700; background: var(--sunk); color: var(--ink-2); }
.photo.none[class*="tone-"] { background: var(--tc); color: var(--tile-ink); }
.photo.none .art { width: 124px; height: 124px; transform: rotate(-4deg); filter: drop-shadow(1px 3px 0 rgba(20, 22, 26, 0.3)); }
.facts { font-size: 17px; font-weight: 600; line-height: 1.35; }
.buy-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--volt-soft); border: 2px solid var(--edge); border-radius: 14px; padding: 8px 8px 8px 14px; }

/* ---------- my requests / line lists */
.ln { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 10px; padding: 12px 14px; border-top: 1px solid var(--line); align-items: center; }
.ln:first-child { border-top: 0; }
.ln-n { font-weight: 700; overflow-wrap: anywhere; }
.ln-q { font: 700 16px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.ln-m { font-size: 13.5px; color: var(--ink-3); grid-column: 1 / -1; }
.ln .btn { grid-row: 1; grid-column: 3; }
/* where a request is on its way from the phone to the lockup */
.track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--surface); border: 2px solid var(--edge); border-radius: var(--r); overflow: hidden; }
.track div { padding: 9px 6px 8px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--ink-3); line-height: 1.2; }
.track div + div { border-left: 2px solid var(--edge); }
.track b { display: block; font: 700 22px/1.1 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.track .on-asked { background: var(--volt-soft); color: var(--ink); }
.track .on-order { background: var(--info-soft); color: var(--ink); }
.track .on-ready { background: var(--ok-soft); color: var(--ink); }

/* ---------- big send confirmation */
.sent { position: relative; text-align: center; padding-block: 10px 2px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sent-art { width: 190px; height: 190px; object-position: bottom; }
.sent .h2 { font-size: 34px; }
.burst { position: absolute; left: 50%; top: 104px; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; left: -6px; top: -8px; width: 12px; height: 16px; background: var(--c); clip-path: polygon(28% 0, 72% 0, 100% 100%, 0 100%); opacity: 0; animation: fling 0.95s cubic-bezier(0.15, 0.7, 0.3, 1) var(--d, 0s) forwards; }
@keyframes fling {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(0.5); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1.15); }
}

/* ---------- foreman: group cards, orders */
.g { background: var(--surface); border: 2px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.g.sel { border-color: var(--edge); }
.g.isout { box-shadow: inset 6px 0 0 var(--out); }
.g-h { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 6px; align-items: center; padding: 10px 12px 10px 8px; width: 100%; text-align: left; }
.box { width: 30px; height: 30px; margin: 7px; border-radius: 9px; border: 2px solid var(--ink-3); display: grid; place-items: center; color: transparent; }
.box.on { background: var(--tick-bg); border-color: var(--tick-bg); color: var(--tick-fg); }
.box svg { width: 20px; height: 20px; stroke-width: 3; }
.g-n { font-weight: 800; font-size: 16.5px; line-height: 1.25; overflow-wrap: anywhere; }
.g-w { font-size: 13.5px; color: var(--ink-2); margin-top: 3px; overflow-wrap: anywhere; }
.g-tot { text-align: right; line-height: 1.05; }
.g-tot b { font: 700 25px/1 var(--mono); font-variant-numeric: tabular-nums; }
.g-tot i { display: block; font-style: normal; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); margin-top: 3px; }
.g-tot em { display: block; font: 600 12.5px/1.2 var(--mono); font-style: normal; color: var(--ink-2); margin-top: 6px; }
.g-p { color: var(--ink); font-weight: 700; }
.g-late { color: var(--out); font-weight: 700; }
/* pack size, price and usual supplier of an item, set from the board */
.pp { display: grid; gap: 10px; background: var(--surface); border: 2px solid var(--edge); border-radius: 12px; padding: 12px; }
.pp-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: end; }
.pp-line { background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 8px 8px 12px; }
.chip .n { font: 700 12.5px/1 var(--mono); background: var(--sunk); color: var(--ink-2); border-radius: 999px; padding: 4px 7px; }
.chip[aria-pressed="true"] .n { background: var(--volt); color: #14161a; }
.est-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 4px; font-weight: 700; }
.est-line span { color: var(--ink-2); }
.est-line b { font-size: 19px; white-space: nowrap; }
/* the order sheet */
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-top: 8px; border-top: 1px solid var(--line); }
.kv span { flex: none; color: var(--ink-3); font-weight: 600; }
.kv b { text-align: right; overflow-wrap: anywhere; }
.kv.total b { font-size: 26px; }
.o-it.sh-it { grid-template-columns: auto minmax(0, 1fr) auto; }
.o-it.sh-it .for { grid-column: 2 / -1; }
.sh-it .amt { font-weight: 700; font-size: 14px; white-space: nowrap; }
.list.o-items .o-it:first-child { border-top: 0; }
/* the photo part of the item editor */
.rowx.ends { align-items: flex-end; }
.ph { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; }
.ph > img, .ph-none { width: 112px; height: 112px; border-radius: 12px; border: 2px solid var(--edge); object-fit: cover; background: #fff; }
.ph-none { display: grid; place-items: center; align-content: center; gap: 4px; background: var(--sunk); border-style: dashed; border-color: var(--line-2); color: var(--ink-3); font-size: 13px; font-weight: 700; }
.ph .btn { width: 100%; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 0; }
.pick:focus-within { outline: 3px solid var(--info); outline-offset: 2px; }
.g-b { border-top: 2px solid var(--edge); background: var(--sunk); padding: 10px 12px 12px; display: grid; gap: 10px; }
.g-l { background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; }
.g-l .who2 { font-weight: 800; }
.oqty { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 3px 3px 0; }
.o-items { display: grid; }
.o-it { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; padding: 9px 14px; border-top: 1px solid var(--line); align-items: baseline; }
.o-it .q { font: 700 15px/1.3 var(--mono); font-variant-numeric: tabular-nums; min-width: 4.5ch; text-align: right; }
.o-it .for { grid-column: 2; font-size: 13.5px; color: var(--ink-3); overflow-wrap: anywhere; }
.o-it.done .nm { text-decoration: line-through; color: var(--ink-3); }
.o-head { padding: 12px 14px; display: grid; gap: 6px; }
.o-foot { padding: 12px 15px 15px 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; }
.o-foot.ask { align-items: center; }
.o-foot .ask-q { flex: 1 1 200px; min-width: 0; font-size: 14px; }
.check { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 6px; padding: 8px 12px 8px 8px; border-top: 1px solid var(--line); width: 100%; text-align: left; min-height: 58px; }
.check:first-child { border-top: 0; }
.menu { display: grid; }
.menu > a, .menu > button { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 0 14px; min-height: 62px; border-top: 1px solid var(--line); text-align: left; text-decoration: none; }
.menu > :first-child { border-top: 0; }
.menu > :active { background: var(--volt-soft); }
.menu b { display: block; font-weight: 700; }
.menu small { display: block; color: var(--ink-3); font-size: 13.5px; }
.meter { height: 10px; border-radius: 5px; background: var(--sunk); overflow: hidden; grid-column: 1 / -1; }
.meter i { display: block; height: 100%; background: var(--volt); border-right: 2px solid #14161a; border-radius: 5px 0 0 5px; }
/* nothing done yet: no sliver of a bar */
.meter i[style="width:0%"] { display: none; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-right: 3px; }
.stat { background: var(--tc, var(--surface)); color: var(--tile-ink); border: 2px solid var(--tile-ink); border-radius: var(--r); padding: 12px 10px; box-shadow: 3px 3px 0 var(--drop); }
.stat b { display: block; font: 400 34px/1 var(--display); font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: 12.5px; font-weight: 600; margin-top: 6px; line-height: 1.25; }

/* ---------- PIN pad */
.pin-art { width: 116px; height: 128px; object-position: bottom; margin: 0 auto -4px; }
.pin-dots { display: flex; justify-content: center; gap: 12px; min-height: 22px; }
.pin-dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink-3); }
.pin-dots i.on { background: var(--volt); border-color: var(--ink); }
.pin-dots.shake { animation: shake 0.36s ease-in-out; }
@keyframes shake { 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 330px; margin: 0 auto; width: 100%; padding-right: 3px; }
.pinpad button { min-height: 64px; border-radius: 16px; background: var(--surface); border: 2px solid var(--edge); font: 700 26px/1 var(--mono); display: grid; place-items: center; box-shadow: 3px 3px 0 var(--drop); transition: transform 0.07s ease-out, box-shadow 0.07s ease-out; }
.pinpad button:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--drop); }
.pinpad button.go { background: var(--volt); color: var(--volt-ink); border-color: #14161a; font: 800 17px/1 var(--ui); }
.pinpad button[disabled] { opacity: 0.45; }

/* ---------- share + poster */
.linkbox { font: 600 15px/1.35 var(--mono); background: var(--sunk); border: 2px dashed var(--line-2); border-radius: 12px; padding: 12px; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.qr { background: #fff; padding: 14px; border-radius: 14px; border: 2px solid #14161a; box-shadow: 5px 5px 0 var(--volt), 5px 5px 0 2px #14161a; width: min(260px, 100%); margin: 0 auto 6px; }
.qr canvas, .poster img { display: block; width: 100%; height: auto; }
.poster img { border: 2px solid var(--edge); border-radius: 10px; background: #fff; }
.msgbox { white-space: pre-wrap; font-size: 15px; background: var(--sunk); border-radius: 12px; padding: 12px; border: 2px dashed var(--line-2); }

/* ---------- the install card and other cards with the mascot in the corner */
.card.pic { display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 6px 10px; align-items: center; }
.card.pic > .art { grid-column: 2; grid-row: 1 / span 2; width: 76px; height: 96px; object-position: bottom; align-self: end; transform: rotate(4deg); }
.card.pic > .full { grid-column: 1 / -1; }

/* ---------- past orders: each order opens to show what was in it */
.hist > summary { list-style: none; cursor: pointer; }
.hist > summary::-webkit-details-marker { display: none; }
.hist > summary:active { background: var(--volt-soft); }
.hist-t { font-size: 17px; overflow-wrap: anywhere; }
.hist-foot { justify-content: space-between; gap: 6px 10px; }
.hist-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.hist-more .i { transition: transform 0.15s; }
.hist[open] .hist-more .i { transform: rotate(90deg); }
.hist .shut-t, .hist[open] .open-t { display: none; }
.hist[open] .shut-t { display: inline; }
.hist[open] > summary { border-bottom: 2px solid var(--edge); }
.hist .o-it:first-child { border-top: 0; }
.hist .o-foot { color: var(--ink-2); }

/* ---------- the recovery code */
.reccode { font: 700 23px/1.25 var(--mono); letter-spacing: 0.05em; text-align: center; background: var(--volt-soft); border: 2px dashed var(--edge); border-radius: 12px; padding: 16px 6px; user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.in.code.rec { font-size: 19px; letter-spacing: 0.06em; }

/* ---------- photos of parts, one tap each */
.ln.pr { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; min-height: 64px; }
.ln.pr.has { grid-template-columns: 46px minmax(0, 1fr) auto; }
.ln.pr .thumb { width: 46px; height: 46px; }
.ln.pr > * { grid-row: 1; }
.ln.pr .pr-t { grid-column: 1; }
.ln.pr .btn, .ln.pr > .pill { grid-column: 2; }
.ln.pr.has .thumb { grid-column: 1; }
.ln.pr.has .pr-t { grid-column: 2; }
.ln.pr.has .btn, .ln.pr.has > .pill { grid-column: 3; }
.pr-t { display: grid; gap: 2px; min-width: 0; }
.pr-t b { font-weight: 700; overflow-wrap: anywhere; }
.pr-t small { color: var(--ink-3); font-size: 13.5px; }

/* ---------- toast, empty, loading */
.toast { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); margin: 0 auto; width: -webkit-fit-content; width: fit-content; bottom: calc(var(--nav-h) + 100px + env(safe-area-inset-bottom, 0px)); z-index: 50; background: #14161a; color: #fff; border: 2px solid #fff; border-radius: 14px; padding: 12px 16px; font-weight: 700; font-size: 15px; box-shadow: 4px 4px 0 var(--volt); max-width: 520px; display: flex; align-items: center; gap: 14px; animation: toast-in 0.18s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
.toast button { color: var(--volt); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.empty { text-align: center; color: var(--ink-2); padding: 20px 16px 26px; display: grid; gap: 8px; justify-items: center; }
.empty b { color: var(--ink); font: 400 26px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; text-wrap: balance; }
.empty span { max-width: 30em; }
.empty .art { width: 150px; height: 160px; object-position: bottom; margin-bottom: 2px; }
.empty .btn { margin-top: 6px; }
.spin { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--line-2); border-top-color: var(--volt); border-right-color: var(--ink); animation: spin 0.8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.offline { background: var(--out-soft); color: var(--out); font-weight: 700; font-size: 14px; text-align: center; padding: 9px 12px; border-bottom: 2px solid var(--edge); }

/* Privacy, terms and help: small, at the foot of the screens where a name or a site is first entered. */
.legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 20px; margin: 0; }
.legal a { display: inline-flex; align-items: center; min-height: 40px; font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.sig { text-align: center; font: 400 17px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-3); padding-top: 4px; }
.sig b { font-weight: 400; color: var(--ink); background: var(--volt); padding: 2px 6px 1px; border-radius: 5px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sig b { color: #14161a; } }

/* ---------- motion
   Everything here answers something the person just did: a screen opening, a tap, a send.
   Nothing loops by itself except the spinner and the mascot loops the page swaps in. */
@keyframes slap {
  0% { opacity: 0; transform: scale(0.35) rotate(-22deg); }
  62% { opacity: 1; transform: scale(1.14) rotate(calc(var(--tilt, 0deg) + 5deg)); }
  100% { opacity: 1; transform: scale(1) rotate(var(--tilt, 0deg)); }
}
/* --el is how long ago the screen opened. A redraw sets it, so its new stickers join the animation in step. */
.intro.fresh .tile-art { animation: slap 0.42s cubic-bezier(0.2, 0.9, 0.3, 1) both; animation-delay: calc(var(--i, 0) * 34ms - var(--el, 0ms)); }
.tile:nth-child(1) { --i: 1; } .tile:nth-child(2) { --i: 2; } .tile:nth-child(3) { --i: 3; } .tile:nth-child(4) { --i: 4; }
.tile:nth-child(5) { --i: 5; } .tile:nth-child(6) { --i: 6; } .tile:nth-child(7) { --i: 7; } .tile:nth-child(8) { --i: 8; }
.tile:nth-child(9) { --i: 9; } .tile:nth-child(10) { --i: 10; } .tile:nth-child(11) { --i: 11; } .tile:nth-child(12) { --i: 12; }
.tile:nth-child(n + 13) { --i: 13; }
.fresh .empty .art, .fresh .sent-art, .fresh .hero-art, .fresh .pin-art, .fresh .top-art { animation: slap 0.45s cubic-bezier(0.2, 0.9, 0.3, 1) both; animation-delay: calc(0ms - var(--el, 0ms)); }
.fresh .top-art { --tilt: 6deg; }
.fresh .rule { animation: stamp 0.4s cubic-bezier(0.2, 0.9, 0.3, 1) both; animation-delay: calc(250ms - var(--el, 0ms)); }
@keyframes stamp { 0% { opacity: 0; transform: scale(1.5) rotate(-9deg); } 100% { opacity: 1; transform: scale(1) rotate(-2.2deg); } }
.bump { animation: bump 0.22s ease-out; }
@keyframes bump { 40% { transform: scale(1.32); } }
#cartbar.arrive .btn { animation: rise 0.22s ease-out; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
/* while a request is on its way to the server, the barricade stripe marches */
.busy .top::before, .busy .hero::before { animation: march 0.55s linear infinite; }
@keyframes march { to { background-position: 39.6px 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .spin { animation: spin 1.4s linear infinite !important; }
  .burst { display: none; }
}

/* ---------- wider screens: a tablet in the trailer, a laptop in the office */
@media (min-width: 600px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-art { width: 170px; height: 210px; }
  .logo { font-size: 64px; }
  .logo b { display: inline; }
}
@media (min-width: 900px) {
  .wrap { max-width: 800px; }
  .nav-in { max-width: 800px; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .how { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how li { grid-template-columns: 1fr; justify-items: start; align-items: start; }
}

/* ---------- print: only the poster or the order sheet, whichever was just asked for */
@media print {
  html { zoom: 1 !important; }
  body { background: #fff !important; color: #000 !important; }
  body > *:not(#print) { display: none !important; }
  #print { display: block !important; }
  #print img { width: 100%; height: auto; }
  @page { margin: 0.4in; }
  .ps { font: 11pt/1.35 Arial, Helvetica, sans-serif; color: #000; }
  .ps h1 { font: 700 20pt/1.1 Arial, Helvetica, sans-serif; margin: 0 0 4pt; }
  .ps h2 { font: 700 13pt/1.2 Arial, Helvetica, sans-serif; margin: 16pt 0 5pt; }
  .ps p { margin: 0 0 6pt; }
  .ps table { width: 100%; border-collapse: collapse; }
  .ps th, .ps td { border: 1px solid #000; padding: 4pt 6pt; text-align: left; vertical-align: top; }
  .ps th { font-weight: 700; background: #e8e8e8; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ps tr { break-inside: avoid; }
  .ps .r { text-align: right; white-space: nowrap; }
  .ps .ps-total { font-size: 14pt; margin-top: 12pt; text-align: right; }
  .ps .ps-note { font-size: 9pt; text-align: right; }
}
#print { display: none; }

/* ---------- makes and part numbers */
/* on the crew's item page: what to look for on the carton */
.partno { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 2px solid var(--edge); border-radius: 12px; padding: 10px 12px; font-size: 15px; color: var(--ink-2); }
.partno svg { flex: none; }
.partno b { display: block; font: 700 18px/1.25 var(--mono); color: var(--ink); overflow-wrap: anywhere; }
/* in the crew's search results, under an item's small print */
.row-p { display: block; font: 600 13px/1.3 var(--mono); color: var(--ink-2); margin-top: 3px; overflow-wrap: anywhere; }
/* on the board, under an item's name */
.g-pt { font-family: var(--mono); font-weight: 600; color: var(--ink); }
/* in the item editor: part numbers read off real cartons for this item */
.known { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.known small { color: var(--ink-3); font-size: 13.5px; }
/* on the Part numbers screen */
.pt-no { font: 700 15px/1.3 var(--mono); overflow-wrap: anywhere; }
