
/* ============================================================================
   THE DESIGN SYSTEM. One file, no JavaScript in it, and every value below is a decision.

   TOKENS FIRST. Colour is assigned by ROLE, never by hue: a pill, a banner and a button all
   read the same six roles (default / info / success / attention / warning / critical), so the
   erasure button and the "3 to check" pill can never accidentally share a colour again. The
   type scale is six sizes and no more; the spacing scale is 4px steps. Everything that used to
   be an ad-hoc rem value has been mapped onto one of these, and a value that is not a token is
   a bug, not a nuance.

   Measured against Shopify Polaris, GitHub Primer and Atlassian, which agree on almost all of
   this: 14px body for data-dense admin, tabular numerals on every figure, horizontal rules plus
   row hover (never zebra stripes as well), right-aligned numerics, a visible focus ring, and a
   destructive action that looks different from a safe one at a glance.

   DISCLOSURE WITHOUT SCRIPT. Still true of every screen: the one script this dashboard serves is
   the Description box's buttons and nothing else uses it. The small-screen menu, the setup checklist's folded steps and the
   long tables' extra rows are <details> elements whose open attribute the SERVER sets — the one
   collapse/expand device that needs no script at all, which is still how every screen but the
   Description box works. This sheet only dresses them; it
   never fakes their state. The rail's own groups WERE such elements and are not any more: the
   menu is eighteen flat lines with two blank gaps, because nothing a person navigates by should
   be foldable over.
   ========================================================================= */
/* THE COLOURS are src/dashboard/materials.ts: Night on :root, so a page nobody has chosen for is never colourless;
   Paper on html[data-bg="paper"] and again for print; the frame's --f-* on :root only, so Paper cannot reach the
   top bar or the menus (the operator, 12 Oct 2026: "Menues and headers always stay dark"), and the look editor's
   --le-* beside them, for the same reason. */
:root{/* the shop page drawn in Rewards › Design: the same in Night and Paper, as the shop is */--pv-05101d:#05101d;--pv-1b1b1b:#1b1b1b;--pv-666:#666;--pv-8a5a00:#8a5a00;--pv-8a8a8a:#8a8a8a;--pv-d0d0d0:#d0d0d0;--pv-dcdcdc:#dcdcdc;--pv-e6e6e6:#e6e6e6;--pv-efefef:#efefef;--pv-f1f1f1:#f1f1f1;--pv-f3f3f3:#f3f3f3;--pv-fff:#fff;
  color-scheme:dark;--bg:#0b0d12;--card:#161a23;--well:#0f1219;--field:#0f1219;--ink:#eceef3;--ink-2:#bdc2cf;--dim:#9aa1b0;--faint:#7f8697;--on-ink:#0b0d12;--line:rgba(255,255,255,.1);--line-2:rgba(255,255,255,.06);--ring:#6a7287;--ring-2:#6a7287;--dash:#636b80;--accent:#2c3e9c;--accent-ink:#ffffff;--accent-2:#3a4eb0;--accent-soft:rgba(139,154,234,.1);--link:#8b9aea;--link-2:#b8c2f3;--info:#8fc3ff;--info-soft:rgba(143,195,255,.11);--info-2:#b4d7ff;--ok:#6fcf97;--ok-soft:rgba(111,207,151,.11);--ok-2:#8fdcae;--ok-line:rgba(111,207,151,.3);--attn:#f0c062;--attn-soft:rgba(240,192,98,.12);--attn-line:rgba(240,192,98,.3);--warn:#f5a66b;--warn-soft:rgba(245,166,107,.12);--warn-2:#f8c093;--warn-line:rgba(245,166,107,.3);--bad:#f2a0a0;--bad-soft:rgba(242,160,160,.12);--bad-2:#f7c4c4;--bad-line:rgba(242,160,160,.3);--bad-ring:rgba(242,160,160,.45);--bad-ink:#0b0d12;--live:#6fcf97;--test:#f5a66b;--shadow:inset 0 1px 0 rgba(255,255,255,.04);--shadow-btn:0 0 0 transparent;--shadow-pop:0 8px 24px rgba(0,0,0,.5);--shadow-lift:0 0 0 1px rgba(255,255,255,.1),0 8px 18px -8px rgba(0,0,0,.6);--scroll-shade:rgba(0,0,0,.55);--sheet-glow:radial-gradient(720px 440px at 50% -60px,rgba(44,62,156,.42),rgba(44,62,156,0) 72%);--sheet-edge:linear-gradient(90deg,rgba(200,208,248,.25),rgba(200,208,248,.55) 20%,rgba(200,208,248,0) 70%);--sheet-rim:inset 1px 1px 0 rgba(255,255,255,.08);--lit-bg:radial-gradient(120% 100% at 0 0,rgba(44,62,156,.42),rgba(44,62,156,0) 65%),linear-gradient(180deg,rgba(139,154,234,.1),rgba(44,62,156,.05)),#161a23;--lit-line:rgba(139,154,234,.5);--lit-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 0 4px rgba(139,154,234,.06),0 30px 70px -28px rgba(44,62,156,.85);--lit-edge:linear-gradient(90deg,rgba(200,208,248,0),rgba(200,208,248,.95) 50%,rgba(200,208,248,0));--lit-edge-h:1px;--shadow-primary:inset 0 1px 0 rgba(255,255,255,.24),0 10px 26px -12px rgba(44,62,156,.95);--preview-frame:0 0 0 1px rgba(255,255,255,.14),0 0 0 7px rgba(255,255,255,.035),0 40px 90px -40px rgba(44,62,156,.85);
  --f-ground:#0b0d12;--f-raise:#11141b;--f-plate:#161a23;--f-ink:#eceef3;--f-ink-lit:#bdc2cf;--f-ink-2:#9aa1b0;--f-dusk:#8a91a2;--f-accent:#8b9aea;--f-accent-bright:#b8c2f3;--f-lamp:#2c3e9c;--f-lamp-rim:#6273d0;--f-wash:rgba(139,154,234,.13);--f-hair:rgba(255,255,255,.08);--f-hair-2:rgba(255,255,255,.14);--f-edge:#6a7287;--f-attn:#f0c062;--f-well:#0f1219;--f-bright:#ffffff;--f-hover:rgba(255,255,255,.06);--f-attn-tint:rgba(240,192,98,.14);--f-tab-lit:linear-gradient(180deg,rgba(139,154,234,.16),rgba(139,154,234,.07));--f-tab-ring:rgba(139,154,234,.22);--f-tab-glow:rgba(139,154,234,.45);--f-pressed-ring:rgba(139,154,234,.6);--f-lit-edge:linear-gradient(90deg,rgba(200,208,248,0),rgba(200,208,248,.95) 50%,rgba(200,208,248,0));--f-lamp-near:radial-gradient(620px 380px at 170px -110px,rgba(44,62,156,.46),rgba(44,62,156,0) 72%);--f-lamp-far:radial-gradient(1400px 640px at 300px -260px,rgba(44,62,156,.15),rgba(44,62,156,0) 70%);--f-scrim:rgba(3,5,10,.62);--f-shadow-drawer:30px 0 60px -30px rgba(0,0,0,.8);--f-shadow-pop:0 16px 40px -12px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.06);
  --le-seam:rgba(255,255,255,.06);--le-rim:rgba(255,255,255,.1);--le-ink-off:#4b5160;--le-fill-off:rgba(255,255,255,.06);--le-pressed:rgba(139,154,234,.55);--le-live:#6fcf97;--le-live-soft:rgba(111,207,151,.11);--le-tool-hover:rgba(11,13,18,.14);--le-page:#ffffff;--le-toast:#e9ebf2;--le-toast-ok:#08613e;--le-toast-bad:#b42318;--le-frame-bad:#f97066;--le-mark:#ffffff;--le-mark-glass:rgba(255,255,255,.18);--le-mark-rim:rgba(0,0,0,.6);--le-knob:#ffffff;--le-check-light:#ffffff;--le-check-dark:#d4d4d8;--le-colour-none:#d92d20;--le-chip-ring:rgba(0,0,0,.12);--le-shadow-menu:0 16px 40px -8px rgba(0,0,0,.7);--le-shadow-pop:0 16px 40px -8px rgba(0,0,0,.55);--le-shadow-card:0 12px 32px -12px rgba(0,0,0,.55);--le-shadow-toast:0 10px 30px -6px rgba(0,0,0,.6);--le-shadow-sheet:0 -20px 40px -10px rgba(0,0,0,.5);--le-scrim:rgba(5,7,10,.6);--le-mini-paper:#f6f5f1;--le-mini-ink:#17150f;--le-mini-light:#fdfcf8;--le-mini-img:#c9c6bd;--le-mini-rule:rgba(23,21,15,.2);--le-mini-gap:rgba(23,21,15,.35);--le-mini-shadow:0 1px 2px rgba(0,0,0,.3);
  --sans:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --fs-1:11px;--fs-2:12px;--fs-3:13px;--fs-4:14px;--fs-5:16px;--fs-6:20px;--fs-7:26px;
  --s1:4px;--s2:8px;--s3:12px;--s4:16px;--s5:24px;--s6:32px;--s7:48px;
  --r:8px;--r2:12px;--measure:38rem;
  --row1:50px;--row2:40px;--head-h:var(--row1);--side-w:212px;--home-w:62px;
}
/* The top bar's height, read by everything that must sit below it: on the root, so the scroll padding reads it. */
:root:has(.basetabs){--head-h:calc(var(--row1) + var(--row2))}
html{scroll-padding-top:var(--head-h)}
/* A page with a sticky head (a product, an item, a variant) lands an anchor below the head too: its height, 42px,
   or 83px where its actions stack under the title (60rem and less). */
:root:has(.sticky-head){--sticky-h:42px;scroll-padding-top:calc(var(--head-h) + var(--sticky-h) + var(--s2))}
html[data-bg="paper"]{color-scheme:light;--bg:#f1f2f6;--card:#ffffff;--well:#f6f7f9;--field:#f6f7f9;--ink:#16191f;--ink-2:#3d434d;--dim:#5a6170;--faint:#666d7b;--on-ink:#ffffff;--line:#e7e9ee;--line-2:#eeeff1;--ring:#858b96;--ring-2:rgba(22,25,31,.2);--dash:#8e94a0;--accent:#2c3e9c;--accent-ink:#ffffff;--accent-2:#212f7a;--accent-soft:#eceefb;--link:#2c3e9c;--link-2:#212f7a;--info:#14508c;--info-soft:#e7f2ff;--info-2:#0f3d6b;--ok:#08613e;--ok-soft:#e3f4ea;--ok-2:#065c3a;--ok-line:#cfe9d9;--attn:#6e5200;--attn-soft:#fdf3d0;--attn-line:#eedca0;--warn:#8f4400;--warn-soft:#fdecda;--warn-2:#7a3a00;--warn-line:#f0cfa8;--bad:#a01b2b;--bad-soft:#fdecee;--bad-2:#7c1220;--bad-line:#f3c3c9;--bad-ring:#e6b3ba;--bad-ink:#ffffff;--live:#08613e;--test:#8f4400;--shadow:0 1px 2px rgba(22,25,31,.06),0 2px 8px -3px rgba(22,25,31,.06);--shadow-btn:0 1px 0 rgba(22,25,31,.05);--shadow-pop:0 4px 16px rgba(22,25,31,.14);--shadow-lift:0 1px 2px rgba(22,25,31,.07),0 4px 10px -4px rgba(22,25,31,.14);--scroll-shade:rgba(22,25,31,.16);--sheet-glow:radial-gradient(760px 300px at 0 0,rgba(44,62,156,.075),rgba(44,62,156,0) 70%);--sheet-edge:linear-gradient(90deg,rgba(139,154,234,.25),rgba(150,163,236,.95) 18%,rgba(139,154,234,0) 60%);--sheet-rim:none;--lit-bg:radial-gradient(120% 130% at 0 0,rgba(44,62,156,.17),rgba(44,62,156,0) 60%),linear-gradient(180deg,#f1f3fd,#ffffff 70%);--lit-line:rgba(44,62,156,.58);--lit-shadow:0 0 0 4px rgba(44,62,156,.07),0 1px 2px rgba(22,25,31,.06),0 24px 48px -24px rgba(44,62,156,.6);--lit-edge:linear-gradient(90deg,rgba(44,62,156,.2),#2c3e9c 30%,#2c3e9c 70%,rgba(44,62,156,.2));--lit-edge-h:2px;--shadow-primary:inset 0 1px 0 rgba(255,255,255,.24),0 8px 18px -10px rgba(44,62,156,.6);--preview-frame:0 0 0 1px rgba(20,23,31,.14),0 0 0 7px rgba(20,23,31,.04),0 34px 70px -38px rgba(44,62,156,.5)}
@media print{:root{color-scheme:light;--bg:#f1f2f6;--card:#ffffff;--well:#f6f7f9;--field:#f6f7f9;--ink:#16191f;--ink-2:#3d434d;--dim:#5a6170;--faint:#666d7b;--on-ink:#ffffff;--line:#e7e9ee;--line-2:#eeeff1;--ring:#858b96;--ring-2:rgba(22,25,31,.2);--dash:#8e94a0;--accent:#2c3e9c;--accent-ink:#ffffff;--accent-2:#212f7a;--accent-soft:#eceefb;--link:#2c3e9c;--link-2:#212f7a;--info:#14508c;--info-soft:#e7f2ff;--info-2:#0f3d6b;--ok:#08613e;--ok-soft:#e3f4ea;--ok-2:#065c3a;--ok-line:#cfe9d9;--attn:#6e5200;--attn-soft:#fdf3d0;--attn-line:#eedca0;--warn:#8f4400;--warn-soft:#fdecda;--warn-2:#7a3a00;--warn-line:#f0cfa8;--bad:#a01b2b;--bad-soft:#fdecee;--bad-2:#7c1220;--bad-line:#f3c3c9;--bad-ring:#e6b3ba;--bad-ink:#ffffff;--live:#08613e;--test:#8f4400;--shadow:0 1px 2px rgba(22,25,31,.06),0 2px 8px -3px rgba(22,25,31,.06);--shadow-btn:0 1px 0 rgba(22,25,31,.05);--shadow-pop:0 4px 16px rgba(22,25,31,.14);--shadow-lift:0 1px 2px rgba(22,25,31,.07),0 4px 10px -4px rgba(22,25,31,.14);--scroll-shade:rgba(22,25,31,.16);--sheet-glow:radial-gradient(760px 300px at 0 0,rgba(44,62,156,.075),rgba(44,62,156,0) 70%);--sheet-edge:linear-gradient(90deg,rgba(139,154,234,.25),rgba(150,163,236,.95) 18%,rgba(139,154,234,0) 60%);--sheet-rim:none;--lit-bg:radial-gradient(120% 130% at 0 0,rgba(44,62,156,.17),rgba(44,62,156,0) 60%),linear-gradient(180deg,#f1f3fd,#ffffff 70%);--lit-line:rgba(44,62,156,.58);--lit-shadow:0 0 0 4px rgba(44,62,156,.07),0 1px 2px rgba(22,25,31,.06),0 24px 48px -24px rgba(44,62,156,.6);--lit-edge:linear-gradient(90deg,rgba(44,62,156,.2),#2c3e9c 30%,#2c3e9c 70%,rgba(44,62,156,.2));--lit-edge-h:2px;--shadow-primary:inset 0 1px 0 rgba(255,255,255,.24),0 8px 18px -10px rgba(44,62,156,.6);--preview-frame:0 0 0 1px rgba(20,23,31,.14),0 0 0 7px rgba(20,23,31,.04),0 34px 70px -38px rgba(44,62,156,.5)}}
/* Windows' high-contrast colours drop every shadow and fill, so a card drawn by its shadow alone would vanish. */
@media (forced-colors:active){.card,.tile,.chart,.kv,.wrap,.att,.hits a,.org{border:1px solid CanvasText}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
/* Geist, the face of the website and the log-in pages, at mock-up F's 400 14px/1.5: a merchant who logs in does not
   watch the type change under them. Its file is the log-in's own (the @font-face in their block below), and page()
   asks for it before the sheet does. */
body{margin:0;background:var(--bg);color:var(--ink);
font:400 var(--fs-4)/1.5 var(--sans);
font-variant-numeric:tabular-nums}
/* Geist carries every weight to 900, so the browser's own "bolder" took a bold word inside a 600 heading to black.
   Bold is one weight wherever it sits. */
b,strong{font-weight:700}
/* A command (the API guide's) wraps inside its card on a phone rather than running under the sheet's clip; the
   wrap is drawn only, so a copied command is the same text. */
pre,.msg-body{white-space:pre-wrap;overflow-wrap:anywhere}
a{color:var(--link)}
a:hover{color:var(--link-2)}
summary{cursor:pointer}
/* ONE focus ring, everywhere something takes the keyboard — links, buttons, inputs, summaries,
   the scrollable table region. The three surfaces painted in the accent invert it instead. */
:focus-visible{outline:2px solid var(--link);outline-offset:2px;border-radius:var(--r)}
.btn-primary:focus-visible,.btn-danger:focus-visible{outline-color:var(--accent-ink);outline-offset:-3px}
h1,h2,h3{line-height:1.25;letter-spacing:-.01em}
h1{font-size:var(--fs-6);margin:0 0 var(--s4);font-weight:650}
/* ***** THE HEADINGS INSIDE A PAGE CAME DOWN, AND THE AIR ABOVE THEM CAME WITH THEM. *****
   Measured in a browser on 9 Sep 2026: h2 was 20px against a 26px h1, so a section's label was
   nearly the size of the page's own name, and it carried 48px of empty above it. On a screen
   with three thin sections — a customer with two orders, a product with no picture — the
   headings were the biggest objects in view, and a page reads as emptier than it is when most
   of what the eye lands on is a label for something rather than the something.
   16px under a 26px title is a hierarchy an eye takes at a glance without being shouted at, and
   24px of air separates a section instead of cutting the page into slabs. The hairline under h2
   stays and matters more now: it is what still makes a 16px line read as the START of a section
   rather than as a bold sentence. h3 goes to body size, which is where every admin we measured
   sets the heading on a card. */
h2{font-size:var(--fs-4);margin:var(--s5) 0 var(--s3);font-weight:600}
h3{font-size:var(--fs-3);margin:var(--s4) 0 var(--s2);font-weight:600}
p{margin:0 0 var(--s3)}
.dim{color:var(--dim)}
.faint{color:var(--faint)}
.small{font-size:var(--fs-3)}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:var(--fs-3)}

/* THE SKIP LINK. Off-screen until it takes focus, then the first thing on the page. Never
   display:none — a hidden element cannot be tabbed to, which would make it decoration. */
.skip{position:absolute;left:-9999px;top:0}
.skip:focus{position:static;left:auto;display:block;padding:var(--s2) var(--s5);
background:var(--accent);color:var(--accent-ink);font-weight:600;text-decoration:none}

/* ---- BANNERS: three, and they are not the same thing ------------------------------ */
.banner{margin:0 0 var(--s3);padding:var(--s2) var(--s4);border-radius:var(--r);font-size:var(--fs-3);font-weight:600;letter-spacing:.01em}
/* The PERMANENT one — "this is a practice shop" — which an operator learns to look past in a
   day. A real problem must not arrive in that colour, so warnings have their own. */
.banner-mode{background:var(--attn-soft);color:var(--attn);border:1px solid var(--attn-line)}
.banner-warning{background:var(--warn-soft);color:var(--warn);border:1px solid var(--warn-line)}
.banner-error{background:var(--bad-soft);color:var(--bad-2);border:1px solid var(--bad-line)}
/* ---- ALERTS: inline, on the page, and ROLE-coloured -------------------------------- */
.alert{display:flex;gap:var(--s3);align-items:flex-start;padding:var(--s3) var(--s4);margin:0 0 var(--s4);
border:1px solid var(--line);border-left-width:4px;border-radius:var(--r);background:var(--card);font-size:var(--fs-3)}
.alert p{margin:0}
.alert-error{border-left-color:var(--bad);background:var(--bad-soft);color:var(--bad-2)}
/* A refusal said in words rather than in a box — the reason a row of a spreadsheet was not
   imported, printed in the cell beside it. The import screen drew a class the sheet had never
   heard of, so every refusal rendered as ordinary black text. (No backticks in this file's
   comments: the whole sheet is one template literal and a backtick ends it.) */
.bad{color:var(--bad);font-weight:600}
.alert-success{border-left-color:var(--ok);background:var(--ok-soft);color:var(--ok-2)}
.alert-warning{border-left-color:var(--warn);background:var(--warn-soft);color:var(--warn-2)}
.alert-info{border-left-color:var(--info);background:var(--info-soft);color:var(--info-2)}
/* A banner's button sits on its own row under the words, as Shopify's chargeback banner draws it. */
.alert .alert-act{margin-top:var(--s2)}

/* ---- THE FRAME: layout F (dashboard-look A4) ------------------------------------------ */
/* The top bar, the tab row and the menu column are always dark, in Night and in Paper (the operator, 12 Oct 2026:
   "Menues and headers always stay dark"). Every rule here reads the frame's own --f-* tokens and no working-area
   token, so Paper cannot reach it (tests/node/work-area-contrast.test.ts holds that). The base rules for button,
   a and input below are the working area's, so each frame control sets every colour they set, hover included. */
.topbar{position:sticky;top:0;z-index:40;color:var(--f-ink);color-scheme:dark;
background:var(--f-lamp-near) fixed,var(--f-lamp-far) fixed,var(--f-ground)}
.topbar :focus-visible,.side :focus-visible{outline-color:var(--f-accent)}
.row1{position:relative;display:flex;align-items:center;gap:10px;height:var(--row1);padding:0 16px 0 0}
.menu-btn{display:none;place-items:center;flex:none;width:44px;height:44px;padding:0;border-radius:10px;
background:transparent;box-shadow:none;color:var(--f-ink)}
.menu-btn:hover,.menu-btn:active{background:var(--f-hover);color:var(--f-ink)}
/* The mark and the name: the receipt's own, and in the top bar over the menu column, the width of it, so the two
   read as one dark piece. */
.brand{display:inline-flex;align-items:center;gap:var(--s2);color:var(--link);text-decoration:none;
border-radius:var(--r)}
.brand .wordmark{font-size:var(--fs-5);font-weight:650;letter-spacing:-.01em;color:var(--ink);line-height:1}
.topbar .brand{display:flex;gap:10px;flex:none;width:var(--side-w);height:44px;padding:0 0 0 22px;color:var(--f-ink);
border-radius:10px}
.topbar .brand svg{width:22px;height:22px;flex:0 0 22px}
.topbar .brand .wordmark{font-size:15.5px;font-weight:600;color:var(--f-ink)}
.topbar .brand:hover,.topbar .brand:hover .wordmark{color:var(--f-bright)}
/* The shop and the person: a <details> each, so each opens with no script; its panel drops below the bar. */
.shop,.person{position:relative;flex:none}
.shop>summary,.person>summary{list-style:none;cursor:pointer;color:var(--f-ink)}
.shop>summary::-webkit-details-marker,.person>summary::-webkit-details-marker{display:none}
.shop>summary{display:flex;align-items:center;gap:9px;max-width:240px;height:36px;padding:0 10px 0 4px;border-radius:999px;
background:var(--f-raise);box-shadow:inset 0 0 0 1px var(--f-hair-2);font-size:13.5px;font-weight:500}
.shop>summary:hover,.shop[open]>summary{background:var(--f-plate)}
.shop .av{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:999px;background:var(--f-lamp);
color:var(--f-bright);font-size:11.5px;font-weight:600;letter-spacing:.02em;box-shadow:inset 0 0 0 1px var(--f-lamp-rim)}
.shop .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shop>summary svg{color:var(--f-ink-2)}
.person>summary{display:grid;place-items:center;width:36px;height:36px;border-radius:999px}
.person .av{display:grid;place-items:center;width:36px;height:36px;border-radius:999px;background:var(--f-plate);
font-size:12px;font-weight:600;letter-spacing:.02em;box-shadow:inset 0 0 0 1px var(--f-hair-2)}
.person>summary:hover .av,.person[open] .av{box-shadow:inset 0 0 0 1px var(--f-edge)}
.drop{position:absolute;top:calc(100% + 6px);z-index:50;min-width:220px;max-width:min(320px,calc(100vw - 16px));padding:6px;
border-radius:12px;background:var(--f-plate);color:var(--f-ink);box-shadow:0 0 0 1px var(--f-hair-2),var(--f-shadow-pop)}
.shop .drop{left:0}
.person .drop{right:0}
.drop hr{margin:4px 0;border:0;border-top:1px solid var(--f-hair)}
.drop a,.drop button{display:flex;align-items:center;width:100%;min-height:34px;height:auto;padding:0 10px;border-radius:8px;
background:transparent;box-shadow:none;color:var(--f-ink-lit);font-size:13.5px;font-weight:450;text-decoration:none}
.drop a:hover,.drop button:hover,.drop button:active{background:var(--f-hover);color:var(--f-ink)}
.drop a[aria-current=page]{background:var(--f-wash);color:var(--f-bright);font-weight:500}
.drop p,.drop .pe{margin:0;padding:0 10px;color:var(--f-ink-2);font-size:12.5px;overflow-wrap:anywhere}
.drop .pn{padding-top:6px;color:var(--f-ink);font-size:13.5px;font-weight:600}
.drop .pr{padding-bottom:4px}
.drop form{margin:0}
/* Search, in the frame's own field. Enter sends it: one field needs no button. */
.find{position:relative;flex:1 1 auto;min-width:0;max-width:480px;margin:0 auto}
/* With no shop open there is no search to centre: the switch and the person go to the far end on their own. */
.brand+.bgswitch{margin-left:auto}
.find svg{position:absolute;left:12px;top:50%;margin-top:-8px;color:var(--f-ink-2);pointer-events:none}
.topbar .find input{width:100%;height:36px;padding:0 12px 0 36px;border:0;border-radius:10px;box-shadow:inset 0 0 0 1px var(--f-edge);
background:var(--f-well);color:var(--f-ink);font-size:14px}
.topbar .find input::placeholder{color:var(--f-ink-2)}
.topbar .find input:hover{box-shadow:inset 0 0 0 1px var(--f-dusk)}
.topbar .find input:focus-visible{outline:2px solid var(--f-accent);outline-offset:0;box-shadow:none;background:var(--f-well)}
/* Night or Paper: two buttons, the pressed one lit. The same widths either way, so nothing moves when it changes. */
.bgswitch{display:inline-flex;flex:none;gap:2px;margin:0;padding:3px;border-radius:11px;background:var(--f-raise);
box-shadow:inset 0 0 0 1px var(--f-hair-2)}
.bgswitch button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:30px;padding:0 11px 0 9px;
border-radius:8px;background:transparent;box-shadow:none;color:var(--f-ink-2);font-size:13px;font-weight:500;user-select:none}
.bgswitch svg{flex:none;stroke-width:1.5}
.bgswitch button:hover,.bgswitch button:active{background:transparent;color:var(--f-ink)}
.bgswitch button[aria-pressed=true],.bgswitch button[aria-pressed=true]:hover{background:var(--f-plate);color:var(--f-bright);
box-shadow:inset 0 0 0 1px var(--f-pressed-ring),inset 0 1px 0 var(--f-hair)}
.bgswitch button[aria-pressed=true] svg{color:var(--f-accent-bright)}
/* Row 2, the tab per base: drawn only when a screen has tabs (B4). The tab you are in is lit: the plate, the lamp's
   edge on top, the accent along its foot where it meets the sheet. */
.basetabs{height:var(--row2);border-bottom:1px solid var(--f-hair)}
.tabrow{display:flex;align-items:flex-end;gap:2px;height:100%;margin:0;padding:0 12px;overflow-x:auto;
overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain}
.btab{position:relative;flex:none;display:flex;align-items:center;gap:8px;height:34px;padding:0 13px 0 11px;
border-radius:9px 9px 0 0;color:var(--f-ink-lit);text-decoration:none;font-size:13.5px;font-weight:500;white-space:nowrap}
.btab:hover{background:var(--f-hover);color:var(--f-ink)}
.btab[aria-current],.btab[aria-current]:hover{background:var(--f-tab-lit),var(--f-plate);color:var(--f-bright);
box-shadow:inset 0 0 0 1px var(--f-tab-ring)}
.btab[aria-current]::before{content:"";position:absolute;top:0;left:12%;right:12%;height:1px;background:var(--f-lit-edge)}
.btab[aria-current]::after{content:"";position:absolute;left:8px;right:8px;bottom:-1px;height:2px;border-radius:2px 2px 0 0;
background:var(--f-accent);box-shadow:0 0 12px 1px var(--f-tab-glow)}
/* A row wider than its screen opens scrolled to the tab you are in, where the browser knows how (else the phone's menu
   names it, below). */
@supports (scroll-initial-target:nearest){.btab[aria-current]{scroll-initial-target:nearest}}
.sidehead{display:none}
.frame{display:grid;grid-template-columns:var(--side-w) minmax(0,1fr);min-height:calc(100vh - var(--head-h));
background:var(--f-ground)}
.frame.bare{grid-template-columns:minmax(0,1fr)}
/* THE MENU COLUMN. Its popover attribute is for phones (below); here the sheet sets the browser's own popover
   placing aside and draws it in place, beside the work, held in view while the work scrolls. */
.side{display:flex;flex-direction:column;position:sticky;inset:auto;top:var(--head-h);z-index:20;width:auto;
height:calc(100vh - var(--head-h));margin:0;padding:14px 12px 12px;border:0;overflow-y:auto;overscroll-behavior:contain;
color:var(--f-ink);color-scheme:dark;background:var(--f-lamp-near) fixed,var(--f-lamp-far) fixed,var(--f-ground)}
.navstack{display:flex;flex-direction:column;gap:2px;flex:1}
.nav{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;padding:0 10px;
border-radius:8px;text-decoration:none;color:var(--f-ink-lit);font-size:14px;font-weight:450}
.nav:hover{background:var(--f-hover);color:var(--f-ink)}
.nav.on,.nav.on:hover{background:var(--f-wash);color:var(--f-bright);font-weight:500}
.nav.on::before{content:"";position:absolute;left:-12px;top:7px;bottom:7px;width:3px;border-radius:0 3px 3px 0;
background:var(--f-accent)}
/* ***** THE GAP IS WHAT THE FOUR GROUP HEADINGS BECAME. ***** They were disclosures with a word
   for a summary, over items the child indent had already grouped; a blank line groups the same
   way without a word to read and discard, and it cannot be folded shut over a link or dropped by
   a role filter along with the item that happened to carry it. */
.nav.gap{margin-top:var(--s4)}
/* SETTINGS AT THE COLUMN'S FOOT, as in F. It is the last line of every tab's menu (sideMenuFor, 'always'),
   held in view at the bottom while a long menu scrolls, under a hairline. */
.navstack>.nav:last-child{position:sticky;bottom:0;margin-top:auto;background:var(--f-ground)}
.navstack>.nav:last-child::after{content:"";position:absolute;left:-12px;right:-12px;top:-9px;height:9px;
border-top:1px solid var(--f-hair);background:var(--f-ground)}
.navstack>.nav.on:last-child{background:var(--f-wash),var(--f-ground)}
/* The same chip as everywhere else — 20px tall, 11px type — with a floor under its width so a
   one-digit count is a circle and a three-digit one grows sideways rather than squashing. */
.nav .cnt{display:inline-flex;align-items:center;justify-content:center;height:20px;min-width:20px;
padding:0 var(--s1);font-size:var(--fs-1);font-weight:700;border-radius:99px;background:var(--f-attn-tint);color:var(--f-attn)}
/* A CHILD hangs from a hairline under the line above it, the tree's shape; the open one is marked on the hairline. */
.nav.sub{min-height:30px;margin-left:18px;padding-left:17px;border-left:1px solid var(--f-hair-2);border-radius:0 8px 8px 0;
font-size:13.5px}
.nav.sub.on{box-shadow:inset 2px 0 0 var(--f-accent)}
.nav.sub.on::before{content:none}
/* A person's name in a table (whoDid, staff-names.ts): the id it stands for is its title, shown on hover. */
span.who{cursor:help}
.vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* THE SHEET the work sits on, laid into the frame: a 14px corner where the column and the bar meet it, the lamp's
   glow from above, a hairline rim and a lit top edge, each in the person's working area. Clipped sideways: being
   positioned, it is what a wide table's visually hidden labels are placed against, and unclipped they would scroll
   a phone's page sideways. A clip makes no scroll container, so the tables' sticky headers still hold. */
.frame>main{position:relative;z-index:1;min-width:0;padding:var(--s5) var(--s6) var(--s7);background:var(--bg);
border-radius:14px 0 0 0;box-shadow:var(--sheet-rim);isolation:isolate;overflow-x:clip}
.frame>main::before{content:"";position:absolute;inset:0 0 auto 0;height:560px;border-radius:inherit;pointer-events:none;z-index:-1;
background:var(--sheet-glow)}
.frame>main::after{content:"";position:absolute;top:0;left:14px;right:0;height:1px;pointer-events:none;background:var(--sheet-edge)}
.frame.bare>main{border-radius:0}
.frame.bare>main::after{left:0}
.eyebrow{margin:0 0 var(--s2);font-size:var(--fs-2);color:var(--dim)}
.affiliation{margin:var(--s7) 0 0;font-size:var(--fs-2);color:var(--dim);text-align:center}
.affiliation a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.affiliation a:hover{color:var(--link)}
.powered{margin:calc(-1 * var(--s2)) 0 var(--s4);font-size:var(--fs-2);color:var(--dim)}
.powered a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.powered a:hover{color:var(--link)}
.eyebrow a{color:inherit;text-decoration:none}
.eyebrow a:hover{color:var(--ink);text-decoration:underline}
.eyebrow .sep{color:var(--faint)}
.eyebrow [aria-current=page]{color:var(--ink-2)}
/* The way back on a screen that hangs off a card rather than off a rail item. Above the
   heading, never in the actions slot beside the page's own button. */
.back{margin:0 0 var(--s2);font-size:var(--fs-2)}
.pagehead{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--s4);margin:0 0 var(--s5)}
.pagehead h1{margin:0}
.pagehead .actions{display:flex;gap:var(--s2);flex-wrap:wrap;flex:0 0 auto;padding-top:2px}

/* ---- CONTROLS ---------------------------------------------------------------------- */
/* ***** A SECOND BUTTON MUST NOT SHOUT AS LOUD AS THE FIRST ONE. ***** Every button on the
   dashboard was drawn at one weight — 600, near-black text, a shadow under it — so a screen with
   five of them had five equally loud things on it and the one action that mattered had to win on
   colour alone. The products board is the clearest case: "Export CSV", "Bring in a catalogue" and
   "+ New product" sat side by side at the same weight, and a "Take off sale" was repeated at that
   weight down every row of the table underneath.
   So the ordinary button steps back — 500, ink-2 rather than ink, and no shadow, which is what
   was making a white button look like a raised object. It is still a button: it keeps its border,
   its height, its hover and its focus ring. The two that must NOT step back say so for
   themselves: primary keeps 600 on the accent, and danger keeps 600 in red, because "a
   destructive action looks different from a safe one at a glance" is a rule this sheet already
   made and a lighter weight would quietly walk it back. */
.btn,button{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 var(--s3);
border:0;border-radius:var(--r);background:var(--card);color:var(--ink);
box-shadow:inset 0 0 0 .66px var(--ring-2),var(--shadow-btn);
font:inherit;font-size:var(--fs-3);font-weight:500;cursor:pointer;text-decoration:none;white-space:nowrap}
.btn:hover,button:hover{background:var(--well);color:var(--ink)}
.btn:active,button:active{background:var(--line-2)}
/* The count inside a filter chip — "desk 1" — is the smaller half of what it says. Same
   treatment it gets on a tab, so the two kinds of counted thing on a board match. */
.btn .n{color:var(--faint);font-weight:500}
.btn-primary,button.btn-primary{background:var(--accent);box-shadow:none;color:var(--accent-ink);font-weight:550}
.btn-primary:hover,button.btn-primary:hover,.btn-primary:active,button.btn-primary:active{background:var(--accent-2);color:var(--accent-ink)}
.btn-danger,button.btn-danger{background:var(--card);box-shadow:inset 0 0 0 .66px var(--bad-ring);color:var(--bad);font-weight:600}
.btn-danger:hover,button.btn-danger:hover,.btn-danger:active,button.btn-danger:active{background:var(--bad);box-shadow:none;color:var(--bad-ink)}
/* The act a box is for, when it cannot be undone: filled red, as Shopify's Cancel order is inside its box, where the
   outlined danger button is the one that opened the box. */
.btn-primary.btn-danger,button.btn-primary.btn-danger{background:var(--bad);box-shadow:none;color:var(--bad-ink)}
.btn-primary.btn-danger:hover,button.btn-primary.btn-danger:hover,.btn-primary.btn-danger:active,button.btn-primary.btn-danger:active{background:var(--bad-2);color:var(--bad-ink)}
.btn-sm,button.btn-sm{height:28px;padding:0 var(--s2);font-size:var(--fs-2)}
/* ***** A BUTTON THAT CANNOT BE PRESSED LOOKS LIKE ONE. ***** There was no disabled rule in
   this sheet at all, and because .btn sets its own background, colour and border it overrode
   the browser's own greying — while button:hover still matched, so a dead control lit up under
   the cursor exactly like a live one. Seven screens draw disabled buttons, including "Open my
   shop window" on the one screen that decides whether the shop can sell anything. */
.btn[disabled],button[disabled],.btn[disabled]:hover,button[disabled]:hover,
.btn[disabled]:active,button[disabled]:active{background:var(--line-2);
color:var(--faint);cursor:default;box-shadow:none}
.btn-link{border:0;background:none;box-shadow:none;color:var(--link);padding:0;height:auto;font-weight:500}
.btn-link:hover,.btn-link:active{background:none;color:var(--link-2);text-decoration:underline}
/* Shopify's plain button (the Metafields card's View all beside Add definition): a button's size and hover, no ring,
   in the ink of the words around it rather than the link blue that made it read as a different kind of thing. */
.btn-plain,a.btn-plain{background:none;box-shadow:none;color:var(--ink)}
/* A file box's own button drawn as ours (Upload theme, Upload section, a collection's picture): the browser's grey
   "Choose File" was the one control on those cards that belonged to no screen of the dashboard (7 Nov 2026). */
input[type=file]{max-width:100%;font:inherit;font-size:var(--fs-3);color:var(--ink-2)}
input[type=file]::file-selector-button{height:32px;margin-right:var(--s3);padding:0 var(--s3);border:0;border-radius:var(--r);
  background:var(--card);color:var(--ink);box-shadow:inset 0 0 0 .66px var(--ring-2),var(--shadow-btn);font:inherit;font-weight:500;
  cursor:pointer}
input[type=file]::file-selector-button:hover{background:var(--well)}
.input,input[type=text],input[type=search],input[type=number],input[type=email],input[type=url],input[type=date],input[type=tel],input[type=time],
input[type=datetime-local],input[type=password],select,textarea{
height:32px;padding:0 var(--s3);border:0;box-shadow:inset 0 0 0 .66px var(--ring);border-radius:var(--r);
font:inherit;font-size:var(--fs-3);background:var(--field);color:var(--ink);min-width:0}
textarea{height:auto;padding:var(--s2) var(--s3);line-height:1.45;resize:vertical}
/* A box's hint in the dashboard's dim ink, not the browser's #757575: that grey stood 4.3:1 on Paper's field and 4.0:1 on
   Night's, under the 4.5:1 text needs (the impeccable detector, Pages' and metaobjects' search, 7 Nov 2026). */
input::placeholder,textarea::placeholder{color:var(--dim);opacity:1}
select[multiple]{height:auto;padding:var(--s1)}
input:hover,select:hover,textarea:hover{box-shadow:inset 0 0 0 1px var(--ring)}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--link);outline-offset:0;box-shadow:none;background:var(--card)}
input[type=search]::-webkit-search-cancel-button{display:none}
/* A width is the most a control takes: on a phone its card is narrower than 26rem, and the sheet clips sideways. */
.w-xs,.w-sm,.w-md,.w-lg{max-width:100%}
.w-xs{width:5.5rem}.w-sm{width:9rem}.w-md{width:16rem}.w-lg{width:26rem}.w-full{width:100%}
/* A FIELD is one column at one measure: label, control, hint — aligned because they share the
   same left edge and are never wider than a hint stays readable. */
.field{display:flex;flex-direction:column;gap:var(--s1);margin:0 0 var(--s4);max-width:var(--measure)}
.field>label,.label{font-size:var(--fs-3);font-weight:450;color:var(--ink)}
.field .hint{font-size:var(--fs-2);color:var(--dim);margin:0}
/* A box's own refusal, as Shopify draws one: small red type under the box, the box ringed red, so a form can mark
   every wrong box at once where one banner could only name the first. */
.field-error{font-size:var(--fs-2);color:var(--bad);margin:0}
.field [aria-invalid=true]{box-shadow:inset 0 0 0 1px var(--bad)}
/* A form card as wide as Shopify's address and cancel dialogs: its boxes fill it, a pair of them (First name and
   Last name, City and Postcode) splits it half and half, and every box ends on the one right edge. */
.form-card{max-width:calc(var(--measure) + 2 * var(--s4))}
.form-card .field{max-width:none}
.pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 var(--s3);margin:0 0 var(--s4)}
.pair>.field{margin:0}
.pair>.field-error{grid-column:1/-1;margin-top:var(--s1)}
@media (max-width:400px){.pair{grid-template-columns:minmax(0,1fr);row-gap:var(--s4)}}
.row{display:flex;gap:var(--s2);align-items:center;flex-wrap:wrap}
/* A list row's place and the two arrows that move it (Bundles, Discount rules): one line, whatever the column's width. */
.field.row{flex-direction:row}
.move{display:flex;gap:var(--s1);align-items:center;flex-wrap:nowrap;margin:0}
.move>span{min-width:1.25rem}
.row.end{justify-content:flex-end}
/* The order page's state cards (screens/order.md §2): the act that changes the state sits at the
   foot of the card it changes, set off by a line; the payment card's Paid/Refunded rows sit under a
   rule, as Shopify draws them. */
.card-foot{margin-top:var(--s4);padding-top:var(--s4);border-top:1px solid var(--line-2)}
hr.rule{border:0;border-top:1px solid var(--line-2);margin:var(--s3) 0}
/* A row of the order page's Documents card: the kind, day and pills on one line with the row's own buttons at its
   right, each row taking the card's width for itself; on a phone the buttons drop under, still at the right. */
.doc-line{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--s2) var(--s3)}
.doc-acts{margin-left:auto;white-space:nowrap}
/* ***** A MENU'S ITEMS, AS SHOPIFY DRAWS THEM (Content › Menus, merchant walk 7 Nov 2026 faults 9, 15). ***** One list in
   one hairline box: a closed row per item, its handle, label and where it goes on one line and Edit and Delete at its
   end. A nested item is a list inside its parent's row, indented under a tree line, so five levels still fit a phone;
   "Add menu item to <parent>" closes each nested list. Edit opens the row's boxes under its line, and only that row
   grows: nothing above it moves. The handle shows only once the script that moves rows is running (the space is held,
   so nothing shifts when it starts). */
.mi-tree{margin:0 0 var(--s3);padding:0;list-style:none;border:1px solid var(--line);border-radius:var(--r2)}
.mi-list{margin:0;padding:0;list-style:none}
.mi-list .mi-list{position:relative;margin-left:28px}
.mi-list .mi-list::before{content:"";position:absolute;left:-12px;top:0;bottom:12px;border-left:1px solid var(--line)}
.menu-item{scroll-margin-top:calc(var(--head-h) + var(--s4))}
.mi-line{display:flex;align-items:center;gap:var(--s1);min-height:48px;padding:0 var(--s1) 0 2px;border-top:1px solid var(--line-2)}
.mi-tree>li:first-child>.mi-line{border-top:0}
.mi-grip{flex:none;justify-content:center;width:32px;height:40px;padding:0;background:transparent;box-shadow:none;
color:var(--dim);cursor:grab;touch-action:none;user-select:none}
.mi-grip:hover,.mi-grip:active{background:var(--well);color:var(--ink)}
[data-menu-editor]:not([data-enhanced]) .mi-grip{visibility:hidden}
.mi-text{display:flex;align-items:baseline;gap:var(--s2);flex:1 1 auto;min-width:0;padding:var(--s2) 0}
.mi-label{flex:0 1 auto;min-width:0;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:550;color:var(--ink)}
.mi-to{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-2);color:var(--dim)}
.mi-acts{display:flex;flex:none;gap:2px}
.mi-icon{justify-content:center;width:36px;height:36px;padding:0;background:transparent;box-shadow:none;color:var(--ink-2)}
.mi-icon:hover,.mi-icon:active{background:var(--well);color:var(--ink)}
.menu-item[data-open]>.mi-line{background:var(--well)}
.menu-item[data-moving]>.mi-line{background:var(--well);box-shadow:inset 3px 0 0 var(--link)}
.menu-item[data-moving] .mi-grip{cursor:grabbing;color:var(--link)}
.mi-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 var(--s3);padding:var(--s3) var(--s3) var(--s3) 38px;
border-top:1px solid var(--line-2)}
.mi-fields[hidden]{display:none}
.mi-fields .field{max-width:none;margin:0 0 var(--s3)}
.mi-fill{display:grid;grid-column:1/-1;grid-template-columns:inherit;gap:inherit}
.mi-foot{display:flex;grid-column:1/-1;flex-wrap:wrap;align-items:center;gap:var(--s2)}
.mi-moves{flex:1 1 auto}
.mi-done{margin-left:auto}
[data-enhanced] .mi-pick{display:none}
.menu-add{border-top:1px solid var(--line-2)}
.menu-add.level-1{margin-top:calc(-1 * var(--s3));border-top:0}
.mi-tree:empty+input+.menu-add.level-1{margin-top:0}
.mi-add{width:100%;justify-content:flex-start;gap:var(--s2);height:44px;padding:0 var(--s2);border-radius:0;color:var(--link)}
.mi-add:hover,.mi-add:active{background:var(--well);color:var(--link-2)}
.mi-add strong{font-weight:600}
/* The Link box: one box that searches the shop's places or takes a pasted address (Shopify's "Search or paste link"). */
.linkbox{position:relative}
.linkbox>input{width:100%}
.linkbox-list{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:30;max-height:min(320px,50vh);margin:0;padding:6px;
overflow-y:auto;overscroll-behavior:contain;list-style:none;border-radius:var(--r2);background:var(--card);box-shadow:var(--shadow-pop)}
.linkbox-list[hidden]{display:none}
.linkbox-head{padding:var(--s2) var(--s2) var(--s1);font-size:var(--fs-2);font-weight:600;color:var(--dim)}
.linkbox-opt{display:flex;align-items:center;gap:var(--s2);min-height:36px;padding:0 var(--s2);border-radius:var(--r);cursor:pointer;
color:var(--ink)}
.linkbox-opt>span{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.linkbox-opt>svg{flex:none;color:var(--dim)}
.linkbox-opt[aria-selected=true]{background:var(--well)}
.linkbox-opt[data-chosen]{font-weight:600}
.linkbox-none{padding:var(--s2);color:var(--dim)}
/* SHOPIFY'S SAVE BAR, in the frame's own inks. With the menu's script it is a popover in the top layer, over the top bar
   while anything is unsaved, so the page under it never moves (the work area is its own stacking context, which a fixed
   bar inside it cannot rise out of). With no script it is drawn on a redraw with changes pending, held at the top of the
   work area as it scrolls. */
.savebar{position:sticky;top:var(--head-h);z-index:5;display:flex;align-self:stretch;align-items:center;gap:10px;min-height:48px;margin:0;padding:0 16px;
border:0;border-radius:var(--r2);color:var(--f-ink);color-scheme:dark;background:var(--f-ground);box-shadow:0 1px 0 var(--f-hair)}
.savebar[hidden],.savebar[popover]:not(:popover-open){display:none}
.savebar:popover-open{position:fixed;inset:0 0 auto 0;width:auto;height:var(--row1);min-height:0;margin:0;border-radius:0;overflow:visible}
.savebar :focus-visible{outline-color:var(--f-accent)}
.savebar-msg{margin:0 auto 0 0;font-size:14px;font-weight:600;color:var(--f-bright)}
a.savebar-discard,button.savebar-save{display:inline-flex;align-items:center;height:32px;padding:0 14px;border-radius:8px;
font-size:13.5px;font-weight:550;text-decoration:none}
a.savebar-discard{color:var(--f-ink);background:var(--f-raise);box-shadow:inset 0 0 0 1px var(--f-hair-2)}
a.savebar-discard:hover{color:var(--f-bright);background:var(--f-plate)}
button.savebar-save{color:var(--f-ground);background:var(--f-bright);box-shadow:none}
button.savebar-save:hover,button.savebar-save:active{color:var(--f-ground);background:var(--f-ink)}
button.savebar-save[aria-busy=true]{color:var(--f-ink-2);background:var(--f-plate)}
/* "Menu saved": a word at the foot of the screen that goes by itself, as Shopify's toast does. */
.toast{position:fixed;left:50%;bottom:24px;z-index:70;max-width:calc(100vw - 32px);padding:10px 16px;border-radius:10px;
color:var(--f-bright);background:var(--f-plate);box-shadow:var(--f-shadow-pop);font-size:13.5px;font-weight:500;
transform:translateX(-50%);transition:opacity 180ms cubic-bezier(.23,1,.32,1),transform 180ms cubic-bezier(.23,1,.32,1)}
.toast[hidden]{display:none}
@starting-style{.toast{opacity:0;transform:translate(-50%,8px)}}
/* A blog post's sections (./pages/article-sections.ts), as Shopify's theme editor lists them in its sidebar: one list,
   each section a fold whose summary row carries its kind, a short preview of its words, and Move up, Move down and
   Remove at the right. The buttons sit beside the fold, not inside its summary (a button in a summary is a control in a
   control), placed over the summary row's right end, which keeps the room for them. On a narrow screen they show their
   icons alone. The fields of an open section run the list's width under the row. */
.section-list{border:1px solid var(--line);border-radius:var(--r2);margin:0 0 var(--s3)}
.section-item{position:relative;border-top:1px solid var(--line)}
.section-item:first-child{border-top:0}
.section-item[aria-invalid=true]{box-shadow:inset 3px 0 0 var(--bad)}
.section-item .field{max-width:none;margin:0 0 var(--s3)}
main details.section-fold>summary{list-style:none;display:flex;align-items:center;gap:var(--s2);min-height:48px;
padding:var(--s2) calc(var(--sec-tools,336px) + var(--s3)) var(--s2) var(--s4)}
main details.section-fold>summary::-webkit-details-marker{display:none}
main details.section-fold>summary::before{flex:none}
.section-fold>summary h3{margin:0;flex:none;font-size:var(--fs-3);font-weight:600}
.section-preview{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--dim);font-size:var(--fs-3)}
.section-fold:not([open])>summary:hover h3{text-decoration:underline}
.section-fields{padding:var(--s1) var(--s4) var(--s2)}
.section-tools{position:absolute;top:8px;right:var(--s3);display:flex;justify-content:flex-end;gap:var(--s1)}
.sec-tool svg{flex:none}
.sec-tool[disabled],.sec-tool[disabled]:hover,.sec-tool[disabled]:active{background:var(--card);color:var(--faint);
box-shadow:inset 0 0 0 .66px var(--ring-2);opacity:.5}
.sec-up{display:inline-flex}
.sec-up svg{transform:rotate(180deg)}
/* A grading rule reads as a sentence with its conditions under it, so the two text boxes and each
   condition run the width of the card while the grade and the match mode sit side by side. */
.rule-item{display:grid;grid-template-columns:1fr 1fr;gap:0 var(--s3);align-items:end;
padding:var(--s3);margin:0 0 var(--s2);border:1px solid var(--line);border-radius:var(--r)}
.rule-item .field{margin:0 0 var(--s2);max-width:none}
.rule-item .field.wide,.rule-item .row{grid-column:1/-1}
.rule-item .clause{display:flex;gap:var(--s2);align-items:end;flex-wrap:wrap}
.rule-item .clause>label{flex:0 0 100%;text-align:left}
.rule-item .clause select{max-width:16rem}
form.inline{display:inline-flex;gap:var(--s2);align-items:center}
form.search{margin:0 0 var(--s4);display:flex;gap:var(--s2);align-items:center;flex-wrap:wrap}
form.search input{flex:1;max-width:26rem}
/* The prose "Why" disclosures live in main; the rail's disclosures are furniture and dressed
   above. Scoping keeps the accent-coloured summary out of the nav. */
main details{margin:var(--s2) 0 0}
main details>summary{cursor:pointer;color:var(--link);font-size:var(--fs-3);font-weight:600;list-style:none;display:inline-flex;gap:6px;align-items:center}
main details>summary::-webkit-details-marker{display:none}
/* Drawn, because Geist's file has no ▸: the character would come from another face, off the line. */
main details>summary::before{content:"";width:5px;height:8px;background:currentColor;clip-path:path("M0 0 5 4 0 8Z");
transition:transform .15s}
main details[open]>summary::before{transform:rotate(90deg)}
main details .foot{margin-top:var(--s2)}

/* ---- CARDS AND TILES ---------------------------------------------------------------
   ***** MEASURED OFF SHOPIFY'S OWN ORDER SCREEN, 21 SEP 2026, NOT GUESSED. ***** Read out of
   the live admin with getComputedStyle, piercing the shadow roots their new web components use:

     section  padding 16px · border-radius 12px · background #fff · BORDER 0
              box-shadow rgba(0,0,0,.03) 0 5px 5px -2.5px, rgba(0,0,0,.02) …
     gaps     16px between cards in a column, and 16px between the two columns
     page     background #f1f1f1
     headings inside a card: 13px, the SAME SIZE AS BODY TEXT, weight 450, no rule under it
     page title: 18px / 600

   THE BORDER IS THE THING THAT WAS WRONG. A 1px line plus a tight shadow draws every card twice
   and is most of why ours read as heavier than theirs at a glance. Shopify has no border at all:
   the card is white on grey with a soft shadow beneath it, and the shadow does the separating.
   Ours keeps the softer shadow and drops the line.
   What stays ours: the navy, and weight 600 on a card heading rather than their 450 — our body
   text is 400 where theirs is 450, so 600 is the same one-step-bolder-than-body they use. */
.card{background:var(--card);border:0;border-radius:var(--r2);padding:var(--s4);box-shadow:var(--shadow)}
.card>h2:first-child,.card>h3:first-child{margin-top:0}
/* ***** EVERY BLOCK OF A PAGE COLUMN IS A CARD, AND panel() IS WHAT SAYS SO. *****
   The order page was nine bare <h2>s stacked in a flat list beside a right column that WAS
   cards — the operator's "layout, spacing and gaps are very poorly designed again". Shopify has
   no such thing as a section of a page that is not a card.
   A card's heading is BODY SIZE, one step bolder, with no rule and no air above it. Measured:
   theirs is 13px/450 against 13px/450 body; ours is 13px/600 against 13px/400. */
.card>h2,.card>h3{font-size:var(--fs-3);margin:0 0 var(--s3);font-weight:600}
/* ***** AND THE AIR AT THE BOTTOM OF EVERY CARD WAS A MARGIN NOBODY MEANT. ***** Paragraphs,
   fields and forms all carry a bottom margin so they separate from what follows them. The last
   one in a card has nothing following it, so that margin becomes padding the card did not ask
   for — which is why ours stood taller than Shopify's holding the same thing, and is half of
   "the gaps are very poorly designed". */
.card>*:last-child,.card>form>*:last-child,.card>form:last-child>*:last-child{margin-bottom:0}
/* A table's last row draws a hairline along the card's own bottom edge, which reads as a second
   border. Shopify's line items end on white. */
.card>.wrap tbody tr:last-child>td,.card>.wrap tbody tr:last-child>th,
.card>form>.wrap tbody tr:last-child>td,.card>form>.wrap tbody tr:last-child>th{border-bottom:0}
/* The kv list's last row does the same thing. */
.card .kv dl>div:last-child{border-bottom:0;padding-bottom:0}
/* ***** A LIST SCREEN IS ONE CARD: THE FILTERS, THE ROWS AND THE PAGER TOGETHER. *****
   Shopify's every list is a single white box on grey whose first line is the filter row. Ours had
   the tabs, the toolbar and the table as three separate things floating on the page, which is why
   the Products screen — the one rebuilt from theirs — read as designed and the rest did not.
   The card's own padding is cancelled sideways for the rows, so the table runs to its edges the
   way theirs does, while the filter row keeps its inset. */
.list-card{padding:0}
.list-card>.tabs,.list-card>.toolbar,.list-card>form.search{margin:0;padding:var(--s3) var(--s4)}
.list-card>.tabs{padding-bottom:0}
.list-card>.toolbar,.list-card>form.search{border-bottom:1px solid var(--line-2)}
.list-card>.wrap{border:0;border-radius:0;box-shadow:none;background-image:none;max-height:none}
.list-card>.pager{margin:0;padding:var(--s3) var(--s4)}
/* A stocktake's sheet is a list card whose rows are typed into, so its Save sits under the rows
   with the pager's inset and a rule above it, the way the filter row has one below. */
.list-card>.sheet-save{margin:0;padding:var(--s3) var(--s4);border-top:1px solid var(--line-2)}
.list-card>.empty{margin:0;padding:var(--s5) var(--s4);border:0;box-shadow:none;background:none}
/* A list card's own heading (Settings › Customer events: Pixels), inset like its rows' first cell. */
.list-card>h2.listhead{margin:0;padding:var(--s3) var(--s4) var(--s2)}
/* A set of radios with one name (a blog post's Visible and Hidden): no box of its own, one per line, a fact about the
   choice under it set in from the dot. */
fieldset.choices{border:0;margin:0 0 var(--s4);padding:0;display:flex;flex-direction:column;gap:var(--s2);min-width:0}
fieldset.choices>label{display:flex;align-items:center;gap:var(--s2);font-size:var(--fs-3)}
fieldset.choices>.hint{margin:-4px 0 0 calc(16px + var(--s2));font-size:var(--fs-2);color:var(--dim)}
/* An empty state inside a card is already on a surface: no second box around it. */
.card>.empty,.card>form>.empty{border:0;box-shadow:none;background:none}
/* ***** THE TILL'S RUNNING TOTAL. ***** The one figure on this platform read aloud across a
   counter while a customer waits, so it is the biggest thing on its screen rather than the last
   cell of a table footer: F's 44px figure, in the lit card. Tabular figures so the digits do not
   shift as it counts up. */
.tilltotal{margin:var(--s2) 0 0;font-size:44px;font-weight:500;line-height:1;
  letter-spacing:-.035em;text-align:right;font-variant-numeric:tabular-nums;color:var(--ink)}
/* THE ONE LIT CARD (layout F): the lamp falls on it, from its corner, with the lit edge along its top. */
.card.lit{position:relative;background:var(--lit-bg);box-shadow:inset 0 0 0 1px var(--lit-line),var(--lit-shadow)}
.card.lit::before{content:"";position:absolute;top:0;left:8%;right:8%;height:var(--lit-edge-h);pointer-events:none;
  background:var(--lit-edge)}
/* Its glow needs the room the cards around it have; the till's cards sit in one form, which main's gap does not reach. */
.card+.card.lit{margin-top:var(--s4)}
/* The press that takes the money: the width of its card and F's height, the amount in it. */
.tillgo{width:100%;min-height:52px;justify-content:center;font-size:var(--fs-5)}

/* A chart inside a card is the card's own picture, not a framed print hung on it. */
.card>.chart{margin:0;border:0;box-shadow:none;background:none;padding:0}
/* Tiles inside a card are the card's own rows, not a grid of little cards on it. */
.card>.tiles>.tile{border:0;box-shadow:none;background:none;padding:var(--s2) 0}
.list-card>p.foot,.list-card>p.hint{margin:0;padding:var(--s3) var(--s4)}
/* KLAVIYO'S FLOWS TO MOVE (Settings › Customer events › Klaviyo): a flows table and a segments table one under the other,
   their columns on one grid so Segment, Condition, Use instead and Moved stand under Flow, Trigger, Use instead and Moved.
   Each tick fills its cell, a 44px target under its header, the box centred in it. */
table.moves{table-layout:fixed}
table.moves col.moves-name{width:34%}
table.moves col.moves-metric{width:26%}
table.moves col.moves-tick{width:14%}
table.moves th.moves-tick,table.moves td.moves-tick{text-align:center}
table.moves td.moves-tick{padding-top:0;padding-bottom:0}
table.moves label.tick{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0 auto;cursor:pointer}
table.moves th[scope=row] a{overflow-wrap:anywhere}
.list-card>.wrap+.wrap{border-top:1px solid var(--line-2)}
/* A background job's progress (Klaviyo's past orders): the well with a hairline, so the track holds 3:1 on Night too. */
.card progress{display:block;width:100%;height:8px;margin:var(--s2) 0 0;border:0;border-radius:999px;overflow:hidden;
  appearance:none;-webkit-appearance:none;background:var(--well);box-shadow:inset 0 0 0 1px var(--line);color:var(--link)}
.card progress::-webkit-progress-bar{background:var(--well);border-radius:999px;box-shadow:inset 0 0 0 1px var(--line)}
.card progress::-webkit-progress-value{background:var(--link);border-radius:999px}
.card progress::-moz-progress-bar{background:var(--link);border-radius:999px}
.kv dd code{font-size:var(--fs-2);overflow-wrap:anywhere;white-space:normal}
.card>.kv+.field{margin-top:var(--s5)}
/* A question before a step that cannot be taken back (Disconnect): the browser's own dialog, its two answers at its foot.
   Drawn open in the page's flow when there is no script. */
dialog.confirm{width:min(400px,calc(100vw - 32px));padding:20px;border:0;border-radius:var(--r2);background:var(--card);
  color:var(--ink);box-shadow:0 0 0 1px var(--line),var(--shadow-lift)}
dialog.confirm::backdrop{background:var(--f-scrim)}
dialog.confirm:not(:modal){position:static;margin:var(--s4) 0 0}
dialog.confirm:modal{margin:auto}
dialog.confirm h2{margin:0 0 20px;font-size:var(--fs-4);font-weight:600;overflow-wrap:anywhere}
.confirm-acts{display:flex;justify-content:flex-end;gap:8px;margin:0}
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:var(--s3)}
.tile{background:var(--card);border:0;border-radius:var(--r2);padding:var(--s4);box-shadow:var(--shadow);text-decoration:none;color:inherit;display:block}
a.tile:hover{box-shadow:var(--shadow-lift)}
.tile .k{margin:0;font-size:var(--fs-2);font-weight:600;color:var(--dim);letter-spacing:.02em}
.tile .v{margin:var(--s1) 0 0;font-size:var(--fs-7);font-weight:700;letter-spacing:-.02em;line-height:1.15}
.tile .s{margin:var(--s1) 0 0;font-size:var(--fs-2);color:var(--dim)}
.tile .s.up{color:var(--ok)}
.tile .s.down{color:var(--bad)}
/* A FIGURE AGAINST THE PERIOD IT IS COMPARED WITH. The words say which way it went; the colour
   says only whether that is good for the shop — a rise in refunds is red — and a figure that is
   neither (a discount, the shipping, the tax) keeps the ordinary grey. */
.chg{color:var(--dim);font-size:var(--fs-2);white-space:nowrap}
.chg.better{color:var(--ok)}
.chg.worse{color:var(--bad)}
td .chg{display:block;margin-top:1px}
/* ONE OF A FEW, CHOSEN: the comparison picker on the Reports screens. Links, because the page
   runs no script; the chosen one is plain text in the accent's soft wash. */
.choice{display:inline-flex;flex-wrap:wrap;border:1px solid var(--line);border-radius:var(--r);
overflow:hidden;background:var(--card)}
.choice>a,.choice>span{padding:var(--s1) var(--s3);font-size:var(--fs-3);color:var(--ink-2);
text-decoration:none;border-left:1px solid var(--line)}
.choice>:first-child{border-left:0}
.choice>a:hover{background:var(--well);color:var(--ink)}
.choice>.on{background:var(--accent-soft);color:var(--link-2);font-weight:600}
/* ***** A CHART IS A CARD WITH A DRAWING IN IT, AND EVERY MARK IN IT IS A CLASS. ***** The page
   policy is style-src 'self': an inline style attribute on an SVG line is dropped, so the colour,
   the dash and the weight all live here, read from the same tokens as everything else. The
   drawing keeps a floor under its width and scrolls sideways inside its card on a phone, the way
   a wide table does, rather than shrinking its axis labels to nothing. */
.chart{margin:0 0 var(--s4);background:var(--card);border:1px solid var(--line);border-radius:var(--r2);
padding:var(--s3) var(--s4);box-shadow:var(--shadow);overflow-x:auto}
.chart>svg{display:block;width:100%;min-width:30rem;height:auto}
.chart .gridline{stroke:var(--line-2);stroke-width:1;vector-effect:non-scaling-stroke}
.chart .base{stroke:var(--line);stroke-width:1;vector-effect:non-scaling-stroke}
.chart .axis{fill:var(--dim);font-size:12px;font-variant-numeric:tabular-nums}
.chart .now{fill:none;stroke:var(--link);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.chart .was{fill:none;stroke:var(--faint);stroke-width:2;stroke-dasharray:1 5;stroke-linecap:round}
.chart .dot{fill:var(--link)}
.chart .dot-was{fill:var(--faint)}
.chart .legend{display:flex;flex-wrap:wrap;gap:var(--s4);margin:var(--s2) 0 0;font-size:var(--fs-2);color:var(--dim)}
.chart .legend svg{display:inline-block;width:24px;height:8px;vertical-align:middle;margin-right:var(--s2);overflow:visible}
.kv{background:var(--card);border:1px solid var(--line);border-radius:var(--r2);padding:var(--s2) var(--s4);max-width:34rem;box-shadow:var(--shadow)}
.kv dl{margin:0}
.kv dl>div{display:flex!important;justify-content:space-between;align-items:baseline;gap:var(--s5);padding:var(--s2) 0;border-bottom:1px solid var(--line-2)}
.kv dl>div:last-child{border-bottom:0}
.kv dt{color:var(--dim);font-size:var(--fs-3);min-width:0}
.kv dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;flex:0 0 auto}
.kv dd a{word-break:break-all;white-space:normal}
/* A press on a settings row (Your account's two-step methods): beside the value, never under it. */
.kv dd .row-press{display:inline-block;margin:0 0 0 var(--s2);vertical-align:baseline}
/* Your account's passkeys (control 0026): the name on top in ink, one quiet line under it (the date, then
   the sync state, a gap between, no typed separator), Remove alone on the right. The text side may wrap;
   the press never shrinks. */
.passkey-list{list-style:none;margin:0;padding:0}
.passkey-row{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);padding:var(--s2) 0;
  border-bottom:1px solid var(--line)}
.passkey-row:last-child{border-bottom:0}
.passkey-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.passkey-name{color:var(--ink);font-weight:500;overflow-wrap:anywhere}
.passkey-meta{display:flex;flex-wrap:wrap;column-gap:var(--s3);row-gap:0;font-size:var(--fs-2);color:var(--dim)}
.passkey-row .row-press{flex:0 0 auto;margin:0}
.kv .total{border-top:1px solid var(--line);margin-top:var(--s1)}
.kv .total dt,.kv .total dd{font-weight:700;color:var(--ink)}
.kv .neg dd{color:var(--dim)}
.kv .sub{display:block;font-size:var(--fs-2);color:var(--faint);font-weight:400}
/* Settings › Domains (control 0018), off Shopify's: an address that is not the primary sits indented
   under it, and a domain's status card is a list of ticked facts — a tick only for what we saw. */
th.domchild{padding-left:var(--s6)}
/* Shopify prints each address in the body's own weight, not as a heading. */
.domlist th[scope=row]{font-weight:400}
.domrows{list-style:none;margin:0;padding:0}
.domrows>li{display:flex;justify-content:space-between;align-items:center;gap:var(--s3);
  padding:var(--s3) 0;border-top:1px solid var(--line-2)}
.domrows>li:first-child{border-top:0;padding-top:var(--s1)}
.domrows .n{display:block;color:var(--ink)}
.domrows .d{display:block;color:var(--ink-2)}
.domchecks{list-style:none;margin:0;padding:0;display:grid;gap:var(--s2)}
.domcheck{display:flex;gap:var(--s2);align-items:baseline;color:var(--ink-2)}
.domcheck::before{content:"○";color:var(--faint);width:1em;flex:none}
/* Email marketing (control 0051; email-marketing round 2, 2.4), off Shopify's Settings › Notifications › Sender email:
   the sender card's rows, one a link across its whole row; the send limits' meters, filled in the link colour, which
   holds 7:1 on the well in Night and 8.9:1 in Paper; and the domain page's numbered steps and its records, stacked on a
   phone so no value scrolls sideways. */
.emrows>li{position:relative;flex-wrap:wrap}
.emrows>li>div{flex:1 1 15rem;min-width:0}
.emrows-split>li:first-child{border-top:1px solid var(--line-2);padding-top:var(--s3)}
.emrows .stretch{color:var(--ink);text-decoration:none}
.emrows .stretch::after{content:"";position:absolute;inset:0}
.emrows .stretch:focus-visible{outline:none}
.emrows>li:has(.stretch:focus-visible){outline:2px solid var(--link);outline-offset:2px;border-radius:var(--r)}
@media (hover:hover) and (pointer:fine){.emrows .stretch:hover{text-decoration:underline}}
.emrows .btn,.emrows form{position:relative;z-index:1}
.emrow-end{display:inline-flex;align-items:center;gap:var(--s2);flex:none}
.emrow-end .chev{color:var(--dim);font-size:18px;line-height:1}
.limits h2 .pill{margin-left:var(--s2);vertical-align:2px}
.usage{margin:0 0 var(--s4)}
.usage:last-child{margin-bottom:0}
.usage-head{display:flex;justify-content:space-between;gap:var(--s3);margin:0 0 var(--s2);font-variant-numeric:tabular-nums}
.usage-head span:first-child{color:var(--dim)}
.usage-foot{margin:var(--s2) 0 0;font-size:var(--fs-2);color:var(--dim)}
.usage meter{display:block;width:100%;height:8px;-webkit-appearance:none;appearance:none;border:0;border-radius:999px;
  background:var(--well);overflow:hidden}
.usage meter::-webkit-meter-bar{background:var(--well);border:0;border-radius:999px;height:8px}
.usage meter::-webkit-meter-optimum-value,.usage meter::-webkit-meter-suboptimum-value{background:var(--link);border-radius:999px}
.usage meter::-webkit-meter-even-less-good-value{background:var(--bad);border-radius:999px}
.usage meter::-moz-meter-bar{background:var(--link);border-radius:999px}
.steps{margin:var(--s4) 0;padding-left:1.4em}
.steps>li{margin:0 0 var(--s3);padding-left:var(--s1)}
.steps>li:last-child{margin-bottom:0}
.steps .wrap{margin-top:var(--s3)}
.dnsrecs td.mono{overflow-wrap:anywhere}
.dnsrecs .sub{display:block;color:var(--dim);font-family:inherit;font-size:var(--fs-2)}
@media (max-width:40rem){.wrap:has(>.dnsrecs){max-height:none;overflow:visible}
  .dnsrecs thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .dnsrecs,.dnsrecs tbody,.dnsrecs tr,.dnsrecs td{display:block;width:auto}
  .dnsrecs tr{padding:var(--s3);border-top:1px solid var(--line-2)}
  .dnsrecs tr:first-child{border-top:0}
  .dnsrecs td{display:grid;grid-template-columns:4.5rem 1fr;gap:var(--s2);padding:var(--s1) 0;border:0}
  .dnsrecs td::before{content:attr(data-label);color:var(--dim);font-family:inherit;font-size:var(--fs-2)}
  .dnsrecs .sub{grid-column:2}
  .dnsrecs td .pill{justify-self:start}
  .emrow-end{margin-left:auto}}
/* Online store › Themes (store 0047, plan own-sections R1.3), off Shopify's: the live card's address and theme on the
   left with its buttons at the right, Draft themes' heading with Import beside it, each draft a row of the same (Settings ›
   Domains' rows), its buttons wrapping under the name on a phone. A menu item that acts at once (Duplicate) is a form
   whose button reads as the links beside it; Delete is Shopify's red. Hover only where a pointer hovers, so a tap leaves
   nothing lit. */
.themehead{display:flex;justify-content:space-between;align-items:center;gap:var(--s2) var(--s3);flex-wrap:wrap}
.themehead>div:first-child{min-width:0}
.themehead h2{margin:0;overflow-wrap:anywhere}
.themehead p{margin:var(--s1) 0 0}
.themeacts{display:flex;align-items:center;gap:var(--s2);flex-wrap:wrap}
.themeacts>form{margin:0}
.themerows>li{flex-wrap:wrap}
/* A rule between Draft themes' heading and its first row, as between every row, so the first theme does not sit pressed
   under Import; and the room of a button a row lacks, held invisibly so Publish, Customise and "..." stand in columns. */
.themerows{margin-top:var(--s3)}
.themerows>li:first-child{border-top:1px solid var(--line-2);padding-top:var(--s3)}
.themeslot{visibility:hidden}
.themeslot svg{width:14px;height:14px}
/* On a phone every draft's buttons go under its name, not only the long names', so the rows read alike. */
@media (max-width:40rem){.themerows>li{flex-direction:column;align-items:flex-start;gap:var(--s2)}}
/* Online store › Pages' Content column: the page's words on one line, cut where the column ends, as Shopify's. */
.ixclip{max-width:28rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dim)}
.menu .pop>form>.popbtn{display:block;width:100%;height:auto;padding:6px var(--s2) 6px 28px;border:0;border-radius:var(--r);
  background:none;box-shadow:none;color:var(--ink);font:inherit;font-size:var(--fs-3);font-weight:400;text-align:left;
  white-space:nowrap;cursor:pointer}
.menu .pop>form>.popbtn:focus-visible{outline:2px solid var(--link);outline-offset:-2px}
.menu .pop>a.popred{color:var(--bad)}
@media (hover:hover) and (pointer:fine){
  .menu .pop>form>.popbtn:hover{background:var(--well)}
  .menu .pop>a.popred:hover{background:var(--bad-soft)}
}
.domcheck.on{color:var(--ink)}
.domcheck.on::before{content:"✓";color:var(--ok);font-weight:700}
.card .kv{max-width:none;padding:0;border:0;box-shadow:none;background:none}
/* ***** A BOX INSIDE A BOX IS THE THING THAT READ AS HEAVY. ***** A table's scroll wrapper
   carries its own border, radius and shadow so that it reads as an object on a bare page. Inside
   a card it is already on one, and drawing the edge twice is most of what made our screens look
   crowded beside Shopify's — whose line items sit straight on the card with a hairline between
   rows and nothing around them. */
.card>.wrap,.card>form>.wrap{border:0;border-radius:0;box-shadow:none;background-image:none}
.card>.wrap>table,.card>form>.wrap>table{margin:0}

/* ---- TABLES ------------------------------------------------------------------------- */
/* THE SCROLL CONTAINER SAYS SO. A wide table used to cut a column off with nothing to show for
   it; the two edge shadows below are painted only while there is more table in that direction
   (background-attachment:local slides the matching white cover with the content), so a cut-off
   edge visibly asks to be scrolled. Tall lists scroll INSIDE the container, which is what lets
   the sticky header actually stick. */
.wrap{overflow:auto;max-height:max(24rem,calc(100vh - 14rem));border:1px solid var(--line);border-radius:var(--r2);box-shadow:var(--shadow);
background-color:var(--card);
background-image:linear-gradient(90deg,var(--card) 40%,transparent),
linear-gradient(270deg,var(--card) 40%,transparent),
radial-gradient(farthest-side at 0 50%,var(--scroll-shade),transparent),
radial-gradient(farthest-side at 100% 50%,var(--scroll-shade),transparent);
background-position:left,right,left,right;
background-size:40px 100%,40px 100%,14px 100%,14px 100%;
background-repeat:no-repeat;
background-attachment:local,local,scroll,scroll}
.wrap:focus-visible{outline-offset:-2px}
/* ***** A TABLE HAS TO READ AS A TABLE, AND OURS READ AS A STACK OF CARDS. *****
   Measured in a browser on 9 Sep 2026, our products list and Shopify's open at the same width:
   their row is 45px and seventeen products are on the screen without scrolling; ours was 106px
   and three were. That comparison is the whole reason this wave exists.
   ***** THE CELL PADDING WAS NOT THE VILLAIN, AND IS DELIBERATELY UNCHANGED. ***** 8px over 12px
   makes a one-line row 33px in this sheet, which is TIGHTER than theirs — a shop's working screen
   on a laptop, not a spreadsheet, and there is nothing left to take. What was spending the space
   was three other things, and two of them are fixed here: a 48px picture box (below), and body
   line-height carried into cells that hold three stacked lines. 1.4 instead of 1.5 is invisible
   on a row of one line and 6px on a row of three, which is one more product on the screen every
   seventeen rows. The third thing is markup — a button in the last column of every row, and the
   web address and the tags stacked under the name — and it belongs to whoever owns the boards.
   No colour, and no class, was touched. */
table{width:100%;border-collapse:collapse;background:transparent;font-size:var(--fs-3);line-height:1.4}
/* The sticky header keeps its bottom rule as a box-shadow: with border-collapse a border scrolls
   away with the row it collapsed into, and the header would go ruleless the moment it stuck. It holds under the top
   bar, or at the top of its own scroller. */
thead th{position:sticky;top:var(--head-h);height:36px;background:var(--well);z-index:1;box-shadow:0 1px 0 var(--line)}
.wrap thead th{top:0}
th,td{text-align:left;padding:var(--s2) var(--s3);border-bottom:1px solid var(--line-2);vertical-align:top}
th{font-size:var(--fs-2);letter-spacing:0;color:var(--dim);font-weight:600;white-space:nowrap}
/* A ROW header is a person's name or an order reference, not a column caption. Without this the
   <th scope="row"> that every accessible table needs would print the customer's name as tiny
   grey capitals, so the markup that helps a screen reader would wreck the screen. */
tbody th{font-size:var(--fs-3);letter-spacing:0;text-transform:none;color:var(--ink);font-weight:600;white-space:normal}
th a{color:inherit;text-decoration:none}
th a:hover{color:var(--ink)}
/* An unsorted column's two heads are drawn, because Geist's file has no ↕; it has ↑ and ↓. */
th[aria-sort=none] a::after{content:"";display:inline-block;width:7px;height:10px;margin-left:5px;vertical-align:-1px;
background:var(--faint);clip-path:path("M3.5 0 7 4H0ZM0 6h7L3.5 10Z")}
th[aria-sort=ascending] a::after{content:" ↑";color:var(--ink)}
th[aria-sort=descending] a::after{content:" ↓";color:var(--ink)}
tbody tr:last-child td{border-bottom:0}
/* The whole row lights, row header included — hover that skipped the name cell read as a bug. */
tbody tr:hover>td,tbody tr:hover>th{background:var(--well)}
td.num,th.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
td.ref,th.ref{white-space:nowrap;font-weight:600}
td.ref a{text-decoration:none}
td.ref a:hover{text-decoration:underline}
/* The second line under a name or a figure — an email, who did it. On a <th scope="row"> as well
   as a <td>: the Staff table puts a person's email under their name in a ROW HEADER, and with
   only the td rule the email ran into the name, inline and bold. Seen live on Staff. */
td .sub,th .sub{display:block;font-size:var(--fs-2);color:var(--dim);font-weight:400;margin-top:1px;line-height:1.35}
/* ***** A CONTROL INSIDE A CELL IS A SMALL CONTROL, WHEREVER IT IS DRAWN. ***** A 34px button
   sets the height of the row it stands in all by itself, and boards put one in a cell all over
   the dashboard: "Take off sale" down the whole products list, "Remove" on Staff, a count box on
   Stock. Small is simply the size that belongs in a row — and saying it here, once, rather than
   asking every board to remember btn-sm, means a row can never be tall because somebody forgot.
   The height is 28px, which is the height btn-sm already is, so the sheet still has ONE small
   control size rather than two that nearly match.
   TICK BOXES AND RADIOS ARE EXEMPT BY NAME. They are not sized like a button, and a height on
   one blows the box up into a rectangle — the pick column on five boards is a tick box in a
   cell, so this is not a hypothetical. */
td .btn,td button,th .btn,th button{height:28px;padding:0 var(--s2);font-size:var(--fs-2)}
td input:not([type=checkbox]):not([type=radio]),td select,td .input{height:28px;font-size:var(--fs-3)}
/* THE PICTURE ON A LIST ROW, AND THE BOX WHERE THERE IS NONE. A row with a photograph and a row
   without used to start their names in different places, so a list of forty products read as a
   ragged edge and a missing photograph was invisible. The empty box is the same size as the
   picture: names line up, and the gap says "no photograph" at a glance.
   ***** 32px NOW, NOT 48px, AND THE EMPTY BOX IS PAPER RATHER THAN GREY. ***** At 48 the picture
   set the height of every row on the products list on its own, and a shop that has photographed
   nothing yet got a column of solid grey rectangles down the page — the comparison called that
   "a hole in every row", and it was right. 32 is the size at which a thumbnail is a thumbnail:
   it sits inline beside the title instead of deciding how tall the row is. The markup asks for
   width=48 on the img and this rule overrides it: the attribute is the no-stylesheet fallback,
   not the size, and the picture stays square because object-fit still crops it. */
.thumb{display:inline-block;width:32px;height:32px;border-radius:var(--r);overflow:hidden;
vertical-align:top;margin-right:var(--s2)}
.thumb img{width:32px;height:32px;object-fit:cover;display:block}
.thumb-none{background:var(--well);border:1px solid var(--line-2)}
/* A picture somebody is DECIDING about, rather than scanning past: the collection card asks "is
   that the right photograph", and 32px cannot answer it. Bounded rather than fixed, so a tall
   photograph is not stretched and a wide one does not run out of the card. */
/* A card's own heading row, with its one action on the right (Variants · Add variant). */
.cardhead{display:flex;align-items:center;justify-content:space-between;gap:var(--s3)}
.cardhead h2{margin:0;border:0;padding:0}
.checklist{margin:0;padding-left:var(--s4)}
.nowrap{white-space:nowrap}
.chip{display:inline-flex;align-items:center;gap:2px;background:var(--well);border:1px solid var(--line);
  border-radius:999px;padding:1px 4px 1px 10px;font-size:var(--fs-3)}
.chip-x{border:0;background:transparent;cursor:pointer;color:var(--dim);font-size:var(--fs-5);line-height:1;
  padding:0 4px;border-radius:999px}
.chip-x:hover{color:var(--ink);background:var(--line-2)}
.checklist li{margin:var(--s1) 0}
/* Search engine listing preview, drawn the way a results page shows it. */
.seo-preview{border:1px solid var(--line-2);border-radius:var(--r);padding:var(--s3);background:var(--well)}
.seo-preview p{margin:0}
/* Shopify's Search engine listing card (src/dashboard/pages/content-cards.ts): Edit at the heading's right unfolds the
   fields under the preview, downward, so nothing above them moves. */
.seo-card{position:relative}
.seo-card>h2{padding-right:72px}
.seo-site{color:var(--ink);font-size:var(--fs-3)}
main details.seo-fold{margin:0}
main details.seo-fold>summary.btn{position:absolute;top:10px;right:var(--s3);height:28px;padding:0 var(--s2);font-size:var(--fs-2);
  color:var(--ink)}
main details.seo-fold>summary::before{content:none}
.seo-fields{margin-top:var(--s4)}
.seo-fields>.field{max-width:none}
.seo-fields>.field:last-child,.seo-fields>p:last-child{margin-bottom:0}
/* A URL handle's address before its box, as Shopify writes it. */
.prefix-in{display:flex;align-items:center;gap:var(--s1);border-radius:var(--r);padding:0 0 0 var(--s3);background:var(--field);
  box-shadow:inset 0 0 0 .66px var(--ring)}
.prefix-in:focus-within{outline:2px solid var(--link)}
.prefix-in>.dim{flex:none;white-space:nowrap}
.prefix-in input[type=text]{flex:1;min-width:0;padding-left:0;background:transparent;box-shadow:none}
.prefix-in input[type=text]:focus-visible{outline:0}
/* Visibility's date, folded under "Set visibility date" until it is wanted. */
main details.vis-date{margin:0}
.vis-date>.field{margin:var(--s3) 0 0}
/* A search result's blue title and green address, from the working area's own link and ok inks, so the preview reads in
   Night as well as Paper (Google's fixed #1a0dab on Night's card was under 2:1, found on Online store › Pages). */
.seo-title{color:var(--link);font-size:var(--fs-4)}
.seo-url{color:var(--ok);font-size:var(--fs-2)}
.seo-desc{color:var(--dim);font-size:var(--fs-2)}
/* MEDIA, as Shopify draws it: square tiles, the first one large, a dashed "+" tile that is the
   file input's label, and the image page's big preview. */
.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:var(--s2)}
.media-tile{position:relative;aspect-ratio:1/1;border:1px solid var(--line);border-radius:var(--r);
  overflow:hidden;background:var(--well);display:flex;align-items:center;justify-content:center}
.media-tile img{width:100%;height:100%;object-fit:cover;display:block}
.media-tile.first{grid-column:span 2;grid-row:span 2}
.media-tile:focus-visible{outline:2px solid var(--link);outline-offset:2px}
.media-add{border-style:dashed;cursor:pointer;color:var(--dim);font-size:1.6rem;font-weight:300}
.media-add:hover{background:var(--card);color:var(--ink)}
.media-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--s2);
  border:1px dashed var(--dash);border-radius:var(--r2);padding:var(--s6) var(--s4);cursor:pointer;background:var(--well)}
.media-empty:hover{background:var(--card)}
.media-empty:focus-within,.media-add:focus-within{outline:2px solid var(--link);outline-offset:2px}
.media-go{margin:var(--s2) 0 0}
@supports selector(:has(*)){.media-go{display:none}.media-form:has(.media-input:valid) .media-go{display:block}}
/* ***** THE PRODUCT PAGE, LAID OUT FROM SHOPIFY'S (docs/design/dashboard/screens/product.md). *****
   A card heading without the rule under it; a card's one action in its top right corner (a
   <details> whose summary is the button, so its form opens under the heading with no script);
   the options box; the variants table with plain headings and a price box with the currency sign
   inside it; the tags box; the specifications rows; and the Archive / Save row at the foot. */
.sticky-head{position:sticky;top:var(--head-h);z-index:20;background:var(--bg);padding-top:var(--s2);margin-top:calc(-1*var(--s2))}
/* At rest the head lies on the sheet's glow, clear, so the glow runs on behind it. It sticks after 34px of scroll on
   a phone (more at a desk), and the page passes under it from then, so it is filled by 32px. Where scroll-linked
   animation is unknown it is always filled. */
@supports (animation-timeline:scroll()){
  .sticky-head{animation:head-fill linear both;animation-timeline:scroll();animation-range:0 32px}
  @keyframes head-fill{from{background-color:transparent}to{background-color:var(--bg)}}
}
h2.plain{border:0;padding:0;margin:0 0 var(--s3);font-size:var(--fs-4)}
.grid2 .card>.field,.grid2 .card .media-field{max-width:none}
.card>.field:last-child{margin-bottom:0}
.pcard{position:relative}
.grid2 .card>h3:first-child{margin-bottom:var(--s3)}
.linklist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--s2)}
.vtable td a{color:var(--ink);text-decoration:none}
.vtable td a:hover{text-decoration:underline}
.vtable td a.dim{color:var(--dim)}
.optrow>summary{color:var(--ink)}
.card-action>summary{position:absolute;top:var(--s3);right:var(--s4);cursor:pointer}
.card-action>summary::before{content:none}
.well{background:var(--well);border:1px solid var(--line-2);border-radius:var(--r);padding:var(--s3) var(--s4);margin:0 0 var(--s3)}
.optbox{border:1px solid var(--line);border-radius:var(--r2);margin:0 0 var(--s3)}
.optrow{padding:var(--s3) var(--s4);border-top:1px solid var(--line)}
.optrow:first-child{border-top:0}
.optrow>summary{cursor:pointer;list-style:none;display:flex;flex-direction:column;align-items:flex-start;gap:var(--s1)}
.optrow>summary::before{content:none}
.optrow>summary:hover .optname{text-decoration:underline}
.optname{font-weight:600;display:block}
.chips{display:flex;flex-wrap:wrap;gap:var(--s1)}
.chip-static{padding:1px 8px}
.optrow.optadd>summary{flex-direction:row;align-items:center;color:var(--ink-2);font-weight:500}
.optrow.optadd>summary::before{content:"⊕";transform:none;font-size:var(--fs-5);margin-right:var(--s2)}
.optedit{margin-top:var(--s3)}
.optvalue{display:flex;align-items:center;gap:var(--s2);margin-bottom:var(--s1)}
.optvalue>input[type=text]{flex:1}
.optvalue-image{max-width:12rem}
.optvalue-bin{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:none;color:var(--dim);cursor:pointer}
.optvalue-bin:hover{background:var(--well);color:var(--ink)}
.tablebox{border:1px solid var(--line);border-radius:var(--r2);overflow:hidden}
.vtable{width:100%;border-collapse:collapse}
.vtable th{position:static;text-transform:none;letter-spacing:0;font-size:var(--fs-2);color:var(--dim);background:var(--well);box-shadow:none}
.vtable td{vertical-align:middle}
.vtable tr:last-child td{border-bottom:0}
.vtable tfoot td{font-weight:400;color:var(--ink-2);font-size:var(--fs-3);background:var(--well);border-top:1px solid var(--line)}
.vname{display:flex;align-items:center;gap:var(--s3);color:var(--ink);text-decoration:none;font-weight:500}
.vname:hover>span{text-decoration:underline}
.vtable .thumb,.vtable .thumb img{width:40px;height:40px;margin-right:0}
.money-in{display:inline-flex;align-items:center;gap:var(--s1);border:1px solid var(--line);border-radius:var(--r);
  padding:0 var(--s2);background:var(--card);height:34px}
.money-in:focus-within{outline:2px solid var(--link);border-color:var(--link)}
.money-in input[type=text]{border:0;height:30px;width:6rem;padding:0;background:transparent;box-shadow:none}
.money-in input[type=text]:focus-visible{outline:0}
.tagbox{display:flex;flex-wrap:wrap;gap:var(--s1);align-items:center;border:1px solid var(--line);border-radius:var(--r);
  padding:var(--s1) var(--s2);background:var(--card);min-height:36px}
.tagbox:focus-within{outline:2px solid var(--link);border-color:var(--link)}
.tag-add input[type=text]{border:0;height:26px;padding:0 var(--s1);width:8rem;background:transparent;box-shadow:none}
.tag-add input[type=text]:focus-visible{outline:0}
.speclist{display:flex;flex-direction:column;gap:var(--s2)}
.specrow{display:grid;grid-template-columns:minmax(6rem,10rem) minmax(0,1fr) auto;gap:var(--s3);align-items:center}
.specrow>label,.specrow>.label{font-weight:600;font-size:var(--fs-3);color:var(--ink-2)}
/* PROPERTIES (docs/design/dashboard/screens/properties.md). The Settings screen's three rows are
   Shopify's list of things a metafield can hang off: the name, a count at the right, the whole row
   a link, a hairline between rows. The corner button is the card's own action, where Shopify puts
   "Add definition" on a product's Metafields card. */
.proprows{display:flex;flex-direction:column}
.proprow{display:flex;justify-content:space-between;align-items:center;gap:var(--s3);padding:var(--s3) 0;
  border-top:1px solid var(--line-2);color:var(--ink);text-decoration:none}
.proprow:first-child{border-top:0;padding-top:0}
.proprow:last-child{padding-bottom:0}
.proprow:hover>span:first-child{text-decoration:underline}
.proprow .n{color:var(--dim);font-variant-numeric:tabular-nums}
.proprow .chev{margin-left:var(--s3);color:var(--ink-2)}
/* A Number's box with its unit beside it, the whole width of the value column as Shopify's boxes
   are, the unit sitting outside the box where the value cannot be mistaken for including it. */
.unit-in{display:flex;align-items:center;gap:var(--s2)}
.unit-in>input{flex:1;min-width:0}
.card-corner{position:absolute;top:var(--s3);right:var(--s4)}
.card-corner~.speclist,.card-corner~form,.card-corner~p{margin-top:var(--s4)}
/* METAFIELDS (docs/design/dashboard/screens/metafields-card.md): Shopify's card on an item's page. A field per row, its
   name in a column at the left and its boxes at the right, a hairline between rows, as Shopify's pinned definitions are
   drawn; a list is its items one under another. On a narrow card the name sits over its boxes. */
/* A form that holds several cards of a column (a collection's words, its Metafields and its Theme template under one
   Save) spaces them as the column does. */
.stack>form>.card+.card{margin-top:var(--s4)}
.mfcard>.cardhead{margin-bottom:var(--s3)}
.mfcard>.cardhead .row{gap:var(--s2)}
.mfrows{display:flex;flex-direction:column}
.mfrow{display:grid;grid-template-columns:minmax(7rem,11rem) minmax(0,1fr);gap:var(--s1) var(--s3);align-items:start;
  padding:var(--s2) 0;border-top:1px solid var(--line-2)}
.mfrow:first-child{border-top:0;padding-top:0}
.mfrow:last-child{padding-bottom:0}
.mfrow>label,.mfrow>.label{padding-top:6px;font-weight:500;color:var(--ink-2);overflow-wrap:anywhere}
.mfval,.mftext{min-width:0;overflow-wrap:anywhere}
.mfrow>.mftext{display:block;padding-top:6px}
.mflist{display:flex;flex-direction:column;gap:var(--s2)}
/* A field folded as Shopify's pinned row: its name, then its value or "+ Add"; unfolded, its boxes under the value. The
   rest of the kind's fields wait behind Show all at the card's foot. Both open downward, so nothing above them moves. */
.mfcard{--mf-name:11rem}
main details.mffold,main details.mfmore{margin:0}
.mffold{border-top:1px solid var(--line-2)}
.mfrows>.mffold:first-child{border-top:0}
main details.mffold>summary{display:grid;grid-template-columns:minmax(7rem,var(--mf-name)) minmax(0,1fr);gap:var(--s3);
  align-items:center;min-height:40px;padding:var(--s1) 0;color:var(--ink);font-weight:400}
main details.mffold>summary::before{content:none}
.mfname{font-weight:500;color:var(--ink-2);overflow-wrap:anywhere}
.mfnow{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ink)}
.mfnow>.mftext{display:inline}
.mfadd{display:inline-flex;align-items:center;gap:4px;color:var(--ink-2)}
main details.mffold>summary:hover .mfadd,main details.mffold>summary:hover .mftext{text-decoration:underline}
.mffold[open] .mfnow{visibility:hidden}
.mffold>.mfval{padding:0 0 var(--s3) calc(min(var(--mf-name),40%) + var(--s3))}
.mfcheck{display:inline-flex;align-items:center;min-height:32px}
.mfcheck input[type=checkbox]{width:18px;height:18px;margin:0;accent-color:var(--link)}
.mfrows+.mfmore{margin-top:var(--s2);padding-top:var(--s2);border-top:1px solid var(--line-2)}
main details.mfmore>summary{display:inline-flex;align-items:center;gap:var(--s1);min-height:32px;color:var(--link);font-weight:600}
main details.mfmore>summary::before{content:none}
.mfmore>summary svg{transition:transform .15s}
.mfmore[open]>summary svg{transform:rotate(180deg)}
.mfmore-open,.mfmore[open] .mfmore-shut{display:none}
.mfmore[open] .mfmore-open{display:inline}
.mfmore>.mfrows{margin-top:var(--s1)}
/* A list of references: each item named, its Remove at the right; a ticked Remove strikes the item through in place. */
.mfrefs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r)}
.mfref{display:flex;align-items:center;justify-content:space-between;gap:var(--s2);min-height:40px;padding:0 var(--s2) 0 var(--s3)}
.mfref+.mfref{border-top:1px solid var(--line-2)}
.mfref-name{min-width:0;overflow-wrap:anywhere}
.mfref-remove{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:32px;color:var(--dim);cursor:pointer}
.mfref:has(.mfref-remove input:checked) .mfref-name{text-decoration:line-through;color:var(--dim)}
.mfpair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:var(--s2)}
.mfpair>input{width:100%}
/* A colour's swatch, then its hex box. An empty swatch is a dashed outline: no colour is kept yet. */
.mfcolor{display:flex;align-items:center;gap:var(--s2)}
.mfcolor>input{flex:1;min-width:0}
.mfswatch{flex:none;width:32px;height:32px;border-radius:var(--r);box-shadow:inset 0 0 0 1px var(--line)}
.mfnone{display:block;border:1px dashed var(--ring);box-shadow:none}
.unit-in>select{flex:none}
/* SETTINGS › METAFIELDS AND METAOBJECTS (docs/design/dashboard/screens/custom-data.md). Shopify's grey line under a
   section's heading; the metaobject list's heading row inside its list card, with Add definition at its right. */
.cdsub{margin:calc(-1 * var(--s2)) 0 var(--s3);font-size:var(--fs-3)}
.cdhead{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--s3);padding:var(--s4) var(--s4) var(--s3)}
.cdhead h2{margin:0 0 var(--s2)}
.ixcard>.empty{margin:0;padding:var(--s5) var(--s4);border:0;box-shadow:none;background:none}
.cdhead .cdsub{margin:0}
.cdtype{display:inline-flex;align-items:center;gap:var(--s2)}
.cdform .field{max-width:none}
.cdfixed{display:flex;align-items:center;min-height:32px;overflow-wrap:anywhere}
/* A type that can no longer change, drawn as Shopify draws it: its One or List badge and its name in a box the shape of
   the select it was chosen in, without the select's arrow. */
.cdtypebox{display:flex;align-items:center;min-height:32px;padding:0 var(--s3);border-radius:var(--r);background:var(--well);
  box-shadow:inset 0 0 0 .66px var(--line);color:var(--ink-2)}
.cdtypesel{display:flex;gap:var(--s2)}
.cdtypesel>.ftype{flex:1;min-width:0}
.cdpair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s3)}
.cdpair>.field{margin:0}
.cdchoices{display:flex;flex-direction:column;gap:var(--s2);margin:0;padding:0;border:0;min-width:0}
.cdchoices>legend{margin-bottom:var(--s1);padding:0}
.cdchoices>p{margin:0}
.rule>p{margin:0}
.rule>.field{margin:0}
.rulestack{display:flow-root}
/* A metaobject definition's fields, as Shopify lists them: a line a field (name, key, type, Required, remove) under one
   row of column names, its rules on a line under it. */
.cdfieldhead,.cdfieldmain{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1.6fr) 6.5rem 32px;
  gap:var(--s3);align-items:center}
.cdfieldhead{padding-bottom:var(--s2);color:var(--dim);font-size:var(--fs-2);font-weight:500}
.cdfields{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
.cdfield{padding:var(--s3) 0;border-top:1px solid var(--line-2)}
.cdfield:last-child{padding-bottom:0}
.cdreq{height:32px;white-space:nowrap}
.cdremove{width:32px;justify-content:center;padding:0;color:var(--dim)}
.cdremove svg{width:16px;height:16px}
.cdfield>.rulestack{margin-top:var(--s2)}
.cdmore{margin:var(--s3) 0 0}
.cdcell{max-width:14rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* ***** THE TYPE'S RULES FOLLOW THE TYPE, AND NOTHING MOVES WHEN IT CHANGES (steady-layout). ***** Where the type is
   still being chosen every kind of rule is drawn in one cell of a grid, so the cell is the tallest kind's height from the
   start, and :has() on the type select shows the chosen kind's; the others keep their room hidden. Without :has every
   kind shows one under another, and the Save reads only the chosen type's. */
@supports selector(:has(*)){
  .rulestack:has(>.rule+.rule){display:grid}
  .rulestack:has(>.rule+.rule)>.rule{grid-area:1 / 1;visibility:hidden}
  .cdform:has(#cd-type option[value=single_line_text_field]:checked) .cdrules .rule-text,
  .cdform:has(#cd-type option:is([value=number_integer],[value=number_decimal]):checked) .cdrules .rule-number,
  .cdform:has(#cd-type option[value=date]:checked) .cdrules .rule-date,
  .cdform:has(#cd-type option[value=date_time]:checked) .cdrules .rule-time,
  .cdform:has(#cd-type option[value=metaobject_reference]:checked) .cdrules .rule-entry,
  .cdform:not(:has(#cd-type option:is([value=single_line_text_field],[value=number_integer],[value=number_decimal],[value=date],
    [value=date_time],[value=metaobject_reference]):checked)) .cdrules .rule-none,
  .cdfield:has(.ftype option[value=single_line_text_field]:checked) .rule-text,
  .cdfield:has(.ftype option:is([value=number_integer],[value=number_decimal]):checked) .rule-number,
  .cdfield:has(.ftype option[value=date]:checked) .rule-date,
  .cdfield:has(.ftype option[value=date_time]:checked) .rule-time,
  .cdfield:has(.ftype option[value=metaobject_reference]:checked) .rule-entry,
  .cdfield:not(:has(.ftype option:is([value=single_line_text_field],[value=number_integer],[value=number_decimal],[value=date],
    [value=date_time],[value=metaobject_reference]):checked)) .rule-none{visibility:visible}
}
/* ***** THE UNIT BOX AND THE CHOICES CARD FOLLOW THE TYPE, WITH NO SCRIPT. ***** Shopify shows each
   only for the type that uses it. Without :has both are shown, and the Save ignores whichever the
   chosen type does not use — the same fallback .media-go takes. */
@supports selector(:has(*)){
  .propform:has(#prop_type) .only-number,.propform:has(#prop_type) .only-choice{display:none}
  .propform:has(#prop_type option[value=number]:checked) .only-number{display:flex}
  .propform:has(#prop_type option[value=choice_list]:checked) .only-choice{display:block}
}
/* THE VARIANT PAGE (docs/design/dashboard/screens/variant.md): a narrow left column with the
   product and its variant list, the variant's cards on the right. */
.grid-left{display:grid;grid-template-columns:17rem minmax(0,1fr);gap:var(--s5);align-items:start}
.grid-left>*{min-width:0}
.grid-left .card>.field{max-width:none}
.vhead{display:flex;align-items:center;gap:var(--s3);margin:0 0 var(--s3)}
.thumb.thumb-md,.thumb.thumb-md img{width:56px;height:56px}
.vlist{padding:var(--s2)}
.vlist .linklist{gap:0}
.vlink{display:flex;align-items:center;gap:var(--s2);padding:var(--s2);border-radius:var(--r);color:var(--ink);text-decoration:none}
.vlink:hover{background:var(--well)}
.vlink.on{background:var(--line-2);font-weight:600}
.vlist form{padding:var(--s2)}
details.more{margin-top:var(--s3);border-top:1px solid var(--line-2);padding-top:var(--s3)}
details.more>summary{cursor:pointer;list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:var(--s2);color:var(--ink-2);font-weight:600;font-size:var(--fs-3)}
details.more>summary::before{content:none}
details.more[open]>summary .chips{display:none}
details.more>.row{margin-top:var(--s3)}
.row.top{align-items:flex-start}
.card-toggle{position:absolute;top:var(--s4);right:var(--s5);display:inline-flex;align-items:center;gap:var(--s2)}
.field>.money-in{align-self:flex-start}
th.num,td.num{text-align:right;font-variant-numeric:tabular-nums}
input.num{text-align:right}
@media (max-width:60rem){.grid-left{grid-template-columns:1fr}}
.page-actions{display:flex;justify-content:space-between;align-items:center;gap:var(--s3);padding-top:var(--s4);border-top:1px solid var(--line)}
.media-view{display:flex;align-items:center;justify-content:center;padding:var(--s4);min-height:26rem;background:var(--well)}
.media-view img{max-width:100%;max-height:560px;height:auto;display:block}
.thumb-lg{max-width:100%;width:auto;height:auto;max-height:180px;border-radius:var(--r);
  border:1px solid var(--line-2);display:block}
table.compact th,table.compact td{padding:var(--s1) var(--s2)}
/* A box as wide as its column in a table row has a floor, so four across a card squeeze to a readable width and the
   table's region scrolls rather than the boxes vanishing (Shop details' Messaging apps and Social media). */
table.compact td>input.w-full{min-width:8rem}
/* ***** THE STOCK TABLE: THE NAME IS THE ONE CELL THAT CAN WRAP, SO IT GETS A FLOOR. ***** Every
   figure, date and form on a Stock row is nowrap, and once purchase orders added Incoming the
   browser met the table's width by squeezing the product name to its longest word — one word per
   line, seen on 15 Sep. 13rem holds a product name and its variant on a line each; a longer name
   still wraps, at a sensible width, and the table scrolls inside its .wrap before the name gives.
   A form in a cell never wraps its own controls under each other, and the reason box is narrow
   enough that the count, its reason and Save stay in view on a laptop: "Count" is what it says
   nearly every time, and the longest reason still shows when the list is open. */
/* ***** THE COUNT AND THE REORDER POINT MUST BE REACHABLE WITHOUT SCROLLING SIDEWAYS. *****
   PAGE_BLUEPRINT §"no box inside a box" has a sibling rule: a table never scrolls sideways to
   reach an INPUT at laptop width. With nine columns this one did — measured at 1280px: 1221px of
   table in 976px of card, so the reorder box sat off-screen. The figures are all short, so the
   space comes from their padding and from the count form's own controls. (22 Sep 2026.) */
table.stock th,table.stock td{padding-left:var(--s2);padding-right:var(--s2)}
table.stock tbody th{min-width:11rem}
table.stock tbody th .sub a{color:var(--link);text-decoration:underline}
table.stock td{white-space:nowrap}
table.stock td form.inline{flex-wrap:nowrap}
table.stock td select{width:6rem}
table.stock td input[type=text]{width:3.5rem}
/* A variant's stock history: the date is one line, and the activity takes what width is left. */
table.history td{white-space:nowrap}
table.history td .chg{display:inline;margin-top:0}
table.history td:nth-child(2){white-space:normal;min-width:14rem}
tr.subtle td{color:var(--dim)}
/* A TABLE'S OWN SUM, under a rule: the reports' "All places" line. A foot row is a figure, not a
   column caption, so it does not borrow the header's small grey capitals. */
tfoot th,tfoot td{border-top:1px solid var(--line);border-bottom:0;font-weight:700;color:var(--ink)}
tfoot th{font-size:var(--fs-3);letter-spacing:0;text-transform:none}

/* ---- PILLS: the class is the ROLE, the word is chosen separately --------------------- */
/* ***** ONE GEOMETRY, SO A CHIP IS THE SAME CHIP WHEREVER IT IS DRAWN. ***** Height, inner
   padding and type size are now stated once: 20px tall, 8px each side, 11px type, centred by the
   box rather than by a line-height that changed with whatever was around it. A pill set by
   padding alone is as tall as the text it happens to hold, so a state on an order, a tag on a
   product row and a count on the rail all sat at slightly different heights — the kind of
   difference nobody can name and everybody feels.
   THE COLOURS ARE UNTOUCHED, every one of them. A pill's colour is its meaning and it is argued
   elsewhere in this file; this is size, spacing and rhythm only. */
.pill{display:inline-block;height:20px;line-height:20px;padding:0 var(--s2);border-radius:var(--r);
font-size:var(--fs-2);font-weight:550;white-space:nowrap;vertical-align:middle}
.pill::first-letter{text-transform:uppercase}
.pill.literal::first-letter{text-transform:none}
.pill-info,.pill.paid{background:var(--info-soft);color:var(--info)}
.pill-success,.pill.fulfilled{background:var(--ok-soft);color:var(--ok)}
.pill-default,.pill.pending{background:var(--line-2);color:var(--ink-2)}
.pill-attention{background:var(--attn-soft);color:var(--attn)}
.pill-warning{background:var(--warn-soft);color:var(--warn)}
.pill-critical,.pill.payment_failed,.pill.cancelled,.pill.expired{background:var(--bad-soft);color:var(--bad)}
.mode{display:inline-block;margin-left:var(--s1);font-size:var(--fs-1);font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.mode.live{color:var(--live)}
.mode.test{color:var(--test)}

/* ---- TABS, FILTERS, PAGING ---------------------------------------------------------- */
.tabs{display:flex;flex-wrap:wrap;gap:var(--s1);margin:0 0 var(--s4);border-bottom:1px solid var(--line)}
.tab{padding:var(--s2) var(--s3);margin-bottom:-1px;border-bottom:2px solid transparent;
text-decoration:none;color:var(--dim);font-size:var(--fs-3);font-weight:600}
.tab:hover{color:var(--ink)}
.tab.on{color:var(--link);border-bottom-color:var(--link)}
.tab .n{font-weight:500;color:var(--faint);margin-left:4px}
.pager{margin:var(--s3) 0 0;display:flex;gap:var(--s3);align-items:center;justify-content:flex-end;color:var(--dim);font-size:var(--fs-3)}
.pager .off{color:var(--faint)}
.toolbar{display:flex;gap:var(--s2);align-items:center;flex-wrap:wrap;margin:0 0 var(--s4)}
.toolbar .grow{flex:1}

/* ---- ATTENTION, EMPTY, PROSE -------------------------------------------------------- */
.attention{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:var(--s2)}
/* ***** THE FIRST SCREEN'S SETUP STEPS, AS CARDS RATHER THAN A NUMBERED ESSAY. ***** Ten steps
   drawn as an ordered list of paragraphs is a wall of text on the one screen a new shop owner
   lands on, and it was the whole of their first impression: the operator opened the live shop,
   looked at it beside Shopify's home, and said it did not look like anything had been brought
   into line. They were right about this screen — the comparison had eight findings about it and
   every one was about whether it told the TRUTH, not what it looked like.
   Shopify shows three setup cards in a grid, each a heading, one sentence and one button. */
.setupnext{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:var(--s3);
margin:var(--s4) 0 0}
.setupnext>div{border:1px solid var(--line);border-radius:var(--r);padding:var(--s4);
display:flex;flex-direction:column;gap:var(--s2);background:var(--well)}
.setupnext h3{margin:0;font-size:var(--fs-4);font-weight:650}
.setupnext p{margin:0;color:var(--dim);font-size:var(--fs-3);flex:1}
.setupnext .btn{align-self:flex-start}
.setupbar{display:flex;align-items:center;gap:var(--s3);margin:0}
.setupbar .track{flex:1;display:flex;gap:3px}
.setupbar .seg{flex:1;height:6px;border-radius:99px;background:var(--line)}
.setupbar .seg.on{background:var(--ok)}
.setupbar .count{font-size:var(--fs-3);color:var(--dim);white-space:nowrap}
.att{display:flex;gap:var(--s3);align-items:baseline;background:var(--card);border:1px solid var(--line);border-left:3px solid var(--bad);
border-radius:var(--r);padding:var(--s2) var(--s3);text-decoration:none;color:var(--ink);box-shadow:var(--shadow)}
a.att:hover{border-color:var(--bad);background:var(--bad-soft)}
.att .n{font-weight:700;font-size:var(--fs-6);font-variant-numeric:tabular-nums;min-width:1.5em;text-align:right}
.att .w{font-size:var(--fs-3);color:var(--ink-2)}
.clear{background:var(--ok-soft);border:1px solid var(--ok-line);border-left:3px solid var(--ok);border-radius:var(--r);padding:var(--s3) var(--s4);color:var(--ok-2);font-size:var(--fs-3)}
/* ***** AN EMPTY STATE IS THE SMALLEST THING ON THE SCREEN, NOT THE BIGGEST. *****
   This was a dashed box a third of a laptop screen high, centred, with a 16px heading in the
   middle of it — so on a customer with no notes yet, the largest object on the page was an
   announcement that nothing had happened. Shopify's empty timeline is one line of grey text, and
   that is the honest weight for it: an empty section is a fact, not an event.
   So the box goes: no dash, no card, no border, no centring. What is left is a short bold line,
   a grey sentence under it, and whatever button was already being handed in. THE WORDS DO NOT
   CHANGE and neither does the rule that chose them — the title is still the job ("Count your
   stock"), never the absence ("No tracked stock yet"). This is only how loudly it is said. */
.empty{padding:var(--s2) 0 var(--s3);color:var(--dim)}
.empty h3{margin:0;font-size:var(--fs-3);font-weight:650;color:var(--ink-2)}
.empty p{margin:var(--s1) 0 0;font-size:var(--fs-3);max-width:var(--measure)}
.empty .btn{margin-top:var(--s3)}
.foot{margin:var(--s3) 0 0;font-size:var(--fs-2);color:var(--dim);max-width:60rem;line-height:1.5}
/* The screens a search matched: a row of doors, not a bulleted list. */
.hits{list-style:none;margin:0 0 var(--s4);padding:0;display:flex;flex-wrap:wrap;gap:var(--s2) var(--s5)}
.hits a{display:inline-block;padding:var(--s2) var(--s3);border:1px solid var(--line);
border-radius:var(--r);background:var(--card);text-decoration:none;font-weight:600;
box-shadow:var(--shadow)}
.hits a:hover{border-color:var(--link);background:var(--accent-soft)}
.hits>li{display:flex;align-items:center;gap:var(--s2)}
.hits .d{font-size:var(--fs-2);color:var(--dim)}
.prose{max-width:60rem;font-size:var(--fs-3);color:var(--ink-2)}
.prose p{margin:0 0 var(--s3)}
.orgs{display:grid;grid-template-columns:repeat(auto-fit,minmax(18rem,1fr));gap:var(--s3)}
.org{background:var(--card);border:1px solid var(--line);border-radius:var(--r2);padding:var(--s4) var(--s5);box-shadow:var(--shadow)}
.org h3{margin:0 0 var(--s3);font-size:var(--fs-1);letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}
.shoplink{display:block;padding:var(--s3) var(--s3);border-radius:var(--r);text-decoration:none;color:var(--ink);
border:1px solid var(--line);margin-bottom:var(--s2)}
a.shoplink:hover,button.shoplink:hover{border-color:var(--link);background:var(--accent-soft)}
div.shoplink{color:var(--dim)}
.shopform{margin:0}
button.shoplink{width:100%;height:auto;text-align:left;font:inherit;background:none;box-shadow:none;cursor:pointer}
.shoplink .n{font-weight:650}
.shoplink .h{font-size:var(--fs-2);color:var(--dim)}
.timeline{list-style:none;margin:0;padding:0;border-left:2px solid var(--line);margin-left:var(--s2)}
.timeline li{position:relative;padding:0 0 var(--s4) var(--s5);font-size:var(--fs-3)}
.timeline li::before{content:"";position:absolute;left:-7px;top:6px;width:10px;height:10px;border-radius:50%;background:var(--card);border:2px solid var(--dim)}
.timeline li.ok::before{border-color:var(--ok);background:var(--ok)}
.timeline li.bad::before{border-color:var(--bad);background:var(--bad)}
.timeline .t{color:var(--dim);font-size:var(--fs-2);display:block}
/* 16px between the columns and 20rem for the side column, both measured: Shopify's right column
   is 312px against a 638px main at 1040px of content, with a 16px channel between them. Ours was
   24px and 22rem, which is why the page read as two documents rather than one. */
.grid2{display:grid;grid-template-columns:minmax(0,1fr) 20rem;gap:var(--s4);align-items:start}
.grid2>*{min-width:0}
.stack>*+*{margin-top:var(--s4)}
/* ***** AND A CARD THAT SITS STRAIGHT IN main HAS NO .stack TO SPACE IT. ***** Found by opening
   Discounts after the layout pass and measuring: the list card ended at y=486 and the create form
   began at y=486 — the two cards touching, with the step between them reading as a rendering
   fault. Every page that is a plain column rather than a grid2 had it. */
main>*+.card,main>.card+*{margin-top:var(--s4)}
/* A page whose form holds its two columns, with a card after it in a grid of its own (a collection's Group products by). */
main>form+.grid2{margin-top:var(--s4)}
/* ***** A REPORT'S CARDS SIDE BY SIDE, AS SHOPIFY'S FINANCES SUMMARY SETS THEM. ***** Drawn as one
   full-width column, Reports › VAT put each label 1,100px from its amount at 1440 (the 3zf2 walk);
   Shopify's sit a few hundred pixels apart. Two to a row at most, because a VAT Return's box names
   and the By rate table need the room a third would not give them; one wherever a column would be
   under 24rem — a phone, or the main column beside a side column on a narrow screen. Cards in a
   row share its height, as Shopify's do. */
.cardgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,max(24rem,calc((100% - var(--s4)) / 2))),1fr));gap:var(--s4)}
.cardgrid>*{min-width:0}

/* ---- THE SETTINGS ROOM -------------------------------------------------------------
   A fixed column of destinations with the screen beside it — what "a modal over the admin"
   means for a product with no JavaScript. The column comes FIRST in the markup as well as on
   the left, so a screen reader and a keyboard meet the rooms in the same order an eye
   does. Under the 60rem break it stacks above the content: one CSS rule, nothing to tap open,
   nothing hidden. */
.room{display:grid;grid-template-columns:15rem minmax(0,1fr);gap:var(--s5);align-items:start}
.room>*{min-width:0}
/* The screen itself. Its own children keep the spacing every other page has, so a settings
   screen looks like a page that happens to have a column beside it rather than like a panel. No wider than
   Shopify's Settings page (784px, measured 16 Oct 2026), so a form reads down, not across; the page a viewer
   meets at /settings is drawn in the same column, so its card lines up with a room's. */
.roomdoc{max-width:49rem}
.roomdoc>*+*{margin-top:var(--s4)}
.roomdoc>.back,.roomdoc>.foot{margin-top:var(--s3)}
/* Held in view while the screen scrolls, as the menu column is, and scrolling inside itself where it is the taller:
   the lit row of a room low in the list stayed below the fold of a long page (review B S15). Its rows' focus ring is
   drawn inside them, since the column now clips. */
.roomnav{--room-edge:3px;display:flex;flex-direction:column;gap:var(--s4);position:sticky;top:calc(var(--head-h) + var(--s4));
max-height:calc(100vh - var(--head-h) - 2 * var(--s4));overflow-y:auto;overscroll-behavior:contain}
.roomlink:focus-visible{outline-offset:-2px}
.roomgrp{display:flex;flex-direction:column;gap:2px}
.roomlink{display:block;padding:6px var(--s3);border-radius:var(--r);text-decoration:none;
color:var(--ink-2);font-size:var(--fs-3);border-left:var(--room-edge) solid transparent}
.roomlink:hover{background:var(--accent-soft);color:var(--ink)}
.roomlink.on{background:var(--accent-soft);border-left-color:var(--link);color:var(--ink);
font-weight:650}
/* Doors: each a link with the line saying what is behind it. Boxed one by one where they stand
   on the page (Trade-ins' screens); a list of rows inside a card (a base's page). */
.rooms{display:flex;flex-direction:column;gap:var(--s2);margin:0 0 var(--s5);max-width:60rem}
/* A long list of ticks (Shipping destinations' forty-six places) in columns, read down rather than across. */
.ticks{display:grid;grid-template-columns:repeat(auto-fill,minmax(9rem,1fr));gap:var(--s2) var(--s4)}
.roomdoor{display:block;padding:var(--s3) var(--s4);border:1px solid var(--line);
border-radius:var(--r2);background:var(--card);text-decoration:none;color:var(--ink);
box-shadow:var(--shadow)}
.roomdoor:hover{border-color:var(--link);background:var(--accent-soft)}
.roomdoor .n{display:block;font-weight:650}
.roomdoor .d{display:block;margin-top:2px;font-size:var(--fs-2);color:var(--dim);line-height:1.5}
/* Inside a card (a base's rooms on its front page) the doors are one bordered list with a rule
   between rows, as Shopify draws a list inside a card: never a box inside a box. */
.card>.rooms{gap:0;margin:0;max-width:none;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
/* Its rows are the switch list's (Shopify's, measured: docs/design/dashboard/screens/features.md): a base's Settings
   card holds both lists, and drew their rows two ways (review B S15). */
.card>.rooms>.roomdoor{padding:var(--s3);border:0;border-radius:0;box-shadow:none;background:none}
.card>.rooms>.roomdoor .n{font-weight:inherit}
.card>.rooms>.roomdoor .d{margin-top:0;font-size:inherit;line-height:inherit}
.card>.rooms>.roomdoor+.roomdoor{border-top:1px solid var(--line-2)}
.card>.rooms>.roomdoor:hover{background:var(--accent-soft)}
/* A base's Settings card holds its parts' list and its rooms' list: two lists, apart, never one box on another
   (review B, S12). */
.card>.switchlist+.rooms{margin-top:var(--s3)}
/* The list clips to the card's corners, which cut away the one ring drawn 2px outside: inside a card it is drawn
   inside the row (review B, M4). */
.card>.rooms>.roomdoor:focus-visible{outline-offset:-2px}
/* A base's name over its rooms in the column, its text on its rooms' text: their inset and their edge. */
.roomhead{flex-basis:100%;margin:0 0 2px;padding:0 calc(var(--s3) + var(--room-edge));font-size:var(--fs-2);font-weight:600;color:var(--dim)}

/* ---- FEATURES: A LIST OF SWITCHES --------------------------------------------------
   Copied from Shopify's Settings → Customer accounts, measured 23 Sep 2026 (docs/design/
   dashboard/screens/features.md): inside the card, a bordered list — 1px line, 8px corners —
   of rows 12px in from every edge, a rule between rows, a title and one grey sentence on the
   left, a 32 × 16 switch on the right. The switch is a real submit button (no script), round, and
   says its state through aria-checked: off is a pale track with a grey knob on the left, on is an
   ink track with a white knob on the right. */
.switchlist{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:var(--r)}
.switchrow{display:flex;align-items:center;justify-content:space-between;gap:var(--s4);padding:var(--s3)}
.switchrow+.switchrow{border-top:1px solid var(--line-2)}
.switchrow .n{display:block;color:var(--ink)}
.switchrow .d{display:block;color:var(--dim)}
.switchrow form{margin:0;flex:0 0 auto}
/* Bases and modules: Added, Coming and the price at the foot of the row, so a price with nothing over it sits on the
   second line as every other does, not halfway (review B S15). */
.switchrow>.entryend{align-self:flex-end}
/* Online store's Basket add-ons (docs/design/dashboard/screens/online-store.md): a row led by the product's picture
   and its numbered title on one line, as a collection's Collection items are; under the list, the Product select and
   Add side by side, the button standing on the select's foot. */
.switchrow>.lead{display:flex;align-items:center;gap:var(--s3);min-width:0}
.addrow{display:flex;align-items:flex-end;gap:var(--s3);margin-top:var(--s3);flex-wrap:wrap}
.addrow>.field{margin:0;flex:1 1 16rem;max-width:26rem}
/* A product's Collapsible rows: each row's Heading and Row content as one entry of Shopify's inner bordered list (the
   pattern of .switchlist, the one box a card may hold), the boxes stacked inside it. */
.rowset{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:var(--r)}
.rowset>li{padding:var(--s3)}
.rowset>li+li{border-top:1px solid var(--line-2)}
.rowset>li>.field{max-width:none}
.rowset>li>.field:last-child{margin-bottom:0}
/* A page of settings that is not a room (Online store) is no wider than Shopify's page of the same kind: Online
   Store › Preferences, 998px, read at 2,560px on 6 Nov 2026. */
.pagecol{max-width:62.375rem}
/* Settings › Customer accounts' URL row: Shopify's address in a grey box under the row, full width. */
.switchrow.urlrow{flex-wrap:wrap}
.urlbox{display:block;flex:1 0 100%;padding:var(--s2) var(--s3);background:var(--well);
  border-radius:var(--r);color:var(--ink-2);overflow-wrap:anywhere}
/* ONLINE STORE › PREFERENCES — Shopify's "Social sharing image and SEO" card (Totally Numb, 6 Nov 2026,
   shots/online-store-shopify-preferences.png): the picture with the search listing under it in one bordered box, about a
   third of the card, and the two boxes beside it; one column on a phone. The box is the one inner box this card holds,
   as .switchlist is Online store's. The picture keeps a shared link's 1.91:1, so choosing one never moves the boxes. */
.share-seo{display:grid;grid-template-columns:minmax(0,21rem) minmax(0,1fr);gap:var(--s4);align-items:start}
.share-seo .field{max-width:none}
.share-words>.field:last-child{margin-bottom:0}
.share-card{border:1px solid var(--line);border-radius:var(--r2);overflow:hidden}
.share-pick{position:relative}
.share-tile{position:relative;display:block;aspect-ratio:1.91/1;background:var(--well);cursor:pointer}
.share-tile img{display:block;width:100%;height:100%;object-fit:cover}
.share-empty{display:block;width:100%;height:100%}
.share-add{position:absolute;right:var(--s2);bottom:var(--s2)}
.share-pick input:focus-visible+.share-tile{outline:2px solid var(--link);outline-offset:-2px}
.share-pick .field-error{padding:var(--s2) var(--s3) 0}
.share-listing{padding:var(--s3);border-top:1px solid var(--line-2);display:grid;gap:2px}
.share-listing p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.share-domain{font-size:var(--fs-1);color:var(--dim);letter-spacing:.02em}
.share-title{font-size:var(--fs-4);font-weight:600;color:var(--ink)}
.share-desc{font-size:var(--fs-2);color:var(--dim);min-height:1lh}
@media (max-width:40rem){.share-seo{grid-template-columns:minmax(0,1fr)}}
/* ***** SETTINGS › PAYMENTS — the status box of Shopify's "Shopify Payments" card. *****
   Measured on Totally Numb, 30 Sep 2026 (docs/design/dashboard/screens/payments.md): inside the
   card, a bordered box (1px line, 8px corners, 16px top and bottom) split in two by a vertical
   rule, each half a square dot and bold text — green when Stripe says so. Shopify's own inner-box
   pattern, like .switchlist above, so it is the one box a card may hold. A not-green half gets the
   warning dot and Stripe's word as a pill. The requirement rows below it reuse .switchlist. */
.paystatus{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:var(--r);
padding:var(--s4) 0;margin:var(--s3) 0}
.paystat{display:flex;align-items:center;gap:var(--s2);padding:0 var(--s4);flex-wrap:wrap}
.paystat+.paystat{border-left:1px solid var(--line)}
.paydot{display:inline-block;width:10px;height:10px;border-radius:3px;background:var(--ok);flex:none}
.paydot.warn{background:var(--warn)}
.paystatus+.switchlist{margin-bottom:var(--s3)}
button.switch{position:relative;width:32px;height:16px;padding:0;border-radius:999px;
background:var(--field);box-shadow:inset 0 0 0 .5px var(--ring)}
button.switch::after{content:"";position:absolute;top:3px;left:3px;width:10px;height:10px;
border-radius:50%;background:var(--ring)}
button.switch:hover{background:var(--line-2)}
button.switch[aria-checked=true]{background:var(--ink);box-shadow:none}
button.switch[aria-checked=true]::after{left:auto;right:3px;background:var(--on-ink)}
button.switch[aria-checked=true]:hover{background:var(--ink-2)}
/* The banner's own way out — "Turn it on", on a switched-off screen — in the banner's colour. */
.banner a{color:inherit;text-decoration:underline}

/* ---- PRINT: the packing slip ------------------------------------------------------- */
@media print{
  .topbar,.side,.banner,.pagehead .actions,.noprint,form,button,.tabs,.pager,.eyebrow,.back,.affiliation{display:none!important}
  .frame{display:block;min-height:0;background:none}
  main{padding:0}
  .frame>main{padding:0;border-radius:0;box-shadow:none;background:none}
  .frame>main::before,.frame>main::after{content:none}
  .wrap{max-height:none;overflow:visible;background:none}
  .wrap,.card,.kv{box-shadow:none;border-color:#000}
  thead th{position:static;box-shadow:none}
  a{color:inherit;text-decoration:none}
  body{background:#fff;color:#000;font-size:12px}
}

/* ---- SMALL SCREENS: a packer at the bench holds a phone ---------------------------- */
@media (max-width:60rem){
  /* The menu column leaves the row and the sheet takes the width. Where popovers are known (the block after this
     one) the column is the phone's drawer; anywhere else it stays in the flow, open, its list scrolling inside. */
  .row1{padding:0 12px 0 6px;gap:8px}
  .topbar .brand{width:auto;padding:0 6px}
  .frame{grid-template-columns:minmax(0,1fr)}
  .side{position:static;height:auto;max-height:60vh}
  .side .nav{min-height:44px}
  .frame>main{border-radius:0;padding:var(--s4) var(--s3) var(--s6)}
  .frame>main::after{left:0}
  h1{font-size:var(--fs-6)}
  .pagehead{flex-direction:column}
  :root:has(.sticky-head){--sticky-h:83px}
  .grid2{grid-template-columns:1fr}
  /* The settings column stacks ABOVE the screen rather than folding away: nothing has to be
     tapped open to see where else you can go. */
  .room{grid-template-columns:1fr}
  .roomnav{--room-edge:1px;flex-direction:row;flex-wrap:wrap;gap:var(--s2);position:static;max-height:none;overflow:visible}
  .roomgrp{flex-direction:row;flex-wrap:wrap;gap:var(--s2)}
  /* Chips: the lit one by its edge's colour, not a side stripe (review B S15). */
  .roomlink{border:var(--room-edge) solid var(--line);background:var(--card)}
  .roomlink.on{border-color:var(--link)}
  .kv{max-width:none}
  /* Bounded by its card, not unbounded: a field in a flex row is as wide as its control and would spill. */
  .field{max-width:100%}
  .tiles{grid-template-columns:repeat(2,1fr)}
  /* The tab row scrolls inside itself in its real order; Home stays at its left, on the frame's ground. The gutter
     is the bar's, not the row's own padding, so a tab scrolled under Home never shows beside it; a tab scrolled to
     (the open one as the page opens, a focused one) lands clear of Home, whose width the scroll padding reads. A lit
     Home's colour is its last layer: a colour in any other makes the value invalid, and it drew see-through. */
  .basetabs{padding:0 12px}
  .tabrow{padding:0;scroll-padding-inline-start:calc(var(--home-w) + 2px)}
  .btab:first-child{position:sticky;left:0;z-index:1;width:var(--home-w);
  background:var(--f-lamp-near) fixed,var(--f-lamp-far) fixed,var(--f-ground)}
  .btab:first-child[aria-current]{background:var(--f-tab-lit),var(--f-plate)}
  /* Once the row is scrolled, Home draws its edge, so the tabs passing under it show they are there (review B S15).
     An edge, not a fade: the open tab lands 2px beside Home, where a fade would cover it. Where scroll-linked animation
     is unknown, Home has no edge, as before. */
  @supports (animation-timeline:scroll()){
    .tabrow{scroll-timeline:--tabrow x}
    .btab:first-child{animation:home-edge linear both;animation-timeline:--tabrow;animation-range:0 8px}
    @keyframes home-edge{from{box-shadow:none}to{box-shadow:1px 0 0 var(--f-hair-2)}}
  }
  /* Its text on the lines' text, which sit 10px inside the column's own 12px. */
  .sidehead{display:block;margin:0;padding:var(--s3) 10px var(--s1);font-size:12px;font-weight:600;color:var(--f-ink-2)}
}
/* THE PHONE'S MENU, where the browser knows popovers: shut until the Menu button opens it, then a dark drawer from
   the left under the top bar, over a dimmed page; Escape or a tap outside shuts it, with no script. */
@supports selector(:popover-open){@media (max-width:60rem){
.menu-btn{display:grid}
.side:not(:popover-open){display:none}
.side:popover-open{position:fixed;inset:var(--head-h) auto 0 0;width:min(304px,86vw);height:auto;max-height:none;
border-right:1px solid var(--f-hair-2);box-shadow:var(--f-shadow-drawer)}
.side::backdrop{background:var(--f-scrim)}
}}
/* PHONES: row 1 keeps all six controls with no sideways scroll. The name beside the mark and the shop's name step
   back to their initials (each still named for a screen reader), and search is a 44px glass that opens across the
   bar while it has the keyboard. */
@media (max-width:45rem){
  .row1{gap:4px;padding:0 8px 0 4px}
  .topbar .brand .wordmark{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
  .topbar .brand{min-width:44px;justify-content:center;padding:0 8px}
  .shop>summary{width:44px;height:44px;padding:0;justify-content:center;background:transparent;box-shadow:none}
  .shop .nm{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
  .shop>summary svg{display:none}
  /* The list hangs from the bar's left edge, not the initials, so its 320px (or the screen less 16px) always fits. */
  .shop{position:static}
  .shop .drop{left:8px}
  .find{flex:0 0 44px;margin:0 0 0 auto}
  .find svg{left:14px}
  .topbar .find input{height:44px;padding:0 0 0 44px;box-shadow:none;background:transparent}
  .topbar .find input::placeholder{color:transparent}
  .find:focus-within{position:absolute;inset:3px 8px;z-index:5;max-width:none}
  .topbar .find:focus-within input{padding-left:36px;background:var(--f-well);box-shadow:inset 0 0 0 1px var(--f-edge)}
  .topbar .find:focus-within input::placeholder{color:var(--f-ink-2)}
  .find:focus-within svg{left:12px}
  .bgswitch button{height:44px;min-width:44px}
  .person>summary{width:44px;height:44px}
  .person .av{width:32px;height:32px}
  /* The blog post editor's section tools: icons alone, their names kept for a screen reader. */
  .section-list{--sec-tools:120px}
  .sec-tool{width:36px;padding:0;justify-content:center}
  .sec-tool-words{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
}
/* Writing on a phone (plan tn-on-talstok-exact 4.3): the rich text box, its tool rows, the listing, the visibility date
   and the metafields at 16px, so an iPhone does not zoom into the box a finger chose (mobile-native). */
@media (max-width:45rem){
  .rte>.rte-box,.rte>.rte-html,.rte-tool .input,.rte-bar>.rte-block,.seo-fields :is(input,textarea),.vis-date input,#page-form :is(input,select,textarea),
  #post-form :is(input,select,textarea),.mfval :is(input,select,textarea){font-size:16px}
  .rte-bar>.rte-block,.rte-tool .input{height:32px}
  .mffold>.mfval{padding-left:0}
}
/* Metafields and metaobjects on a phone: a field's name over its boxes, a metaobject field's line in two columns. */
@media (max-width:45rem){
  .mfrow{grid-template-columns:minmax(0,1fr)}
  .mfrow>label,.mfrow>.label,.mfrow>.mftext{padding-top:0}
  .cdfieldhead{display:none}
  .cdfieldmain{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .cdfieldmain>.cdtypesel,.cdfieldmain>.cdtypebox{grid-column:1 / -1}
  .cdfieldmain>.cdremove{justify-self:end}
}
/* A menu on a phone: each nested list steps in less, a row's boxes stack, every box is 16px type so the phone does not
   zoom into it, and the place a row goes to gives way to its label. */
@media (max-width:45rem){
  .mi-list .mi-list{margin-left:18px}
  .mi-list .mi-list::before{left:-8px}
  .mi-fields{grid-template-columns:minmax(0,1fr);padding:var(--s3)}
  .mi-label{max-width:none}
  .mi-to{display:none}
  .mi-icon{width:40px;height:40px}
  [data-menu-editor] input,[data-menu-editor] select{height:40px;font-size:16px}
  .savebar{padding:0 8px}
  .savebar-msg{font-size:13.5px}
}
@media (max-width:30rem){
  .bgswitch{padding:2px}
  .bgswitch button{width:44px;padding:0}
  .bgswitch button span{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
  .bgswitch svg{width:17px;height:17px}
}
@media (max-width:22.5rem){
  .row1{gap:0;padding:0 2px}
  .topbar .brand{min-width:40px;padding:0 9px}
  .shop>summary{width:42px}
}

/* ---- PRINT: slips in bulk — every order starts at the top of its own sheet ---------- */
@media print{.page-break{page-break-after:always}}

/* ---- THE TILL: how the customer paid ----------------------------------------------
   The only radio group on the dashboard, and it is drawn as a column of cards rather than a
   row of dots because somebody is choosing it while a customer waits: the target is the whole
   card, the label and its one line of explanation are inside it, and the chosen one is
   unmistakable from a step away. Nothing here is a new colour or a new spacing — it is the
   card, the line and the accent that every other surface already uses. */
.pageheadmain{min-width:0}
.pagesub{margin:var(--s1) 0 0;font-size:var(--fs-3);color:var(--dim)}
.tillpay{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));
gap:var(--s2);margin:0 0 var(--s4)}
/* ***** START, NOT CENTRE. ***** Four payment boxes, and only Card machine carries a hint, so
   centring put its name 5px above the other three — four labels on four different baselines, seen
   the moment the page was opened rather than in any test. With start, every name begins at the
   same line whether or not a hint follows it, and the radio takes a 3px nudge to sit on that
   line's cap height instead of its box top. */
.tillpay label{display:grid;grid-template-columns:auto 1fr;gap:0 var(--s2);align-items:start;
padding:var(--s3);border:1px solid var(--line);border-radius:var(--r);background:var(--card);
cursor:pointer}
/* Was #aab1bd, a literal that could only ever answer a light ground — the same fault the tile's
   hover had. A token, so the hover exists in both themes. */
.tillpay label:hover{border-color:var(--dim)}
.tillpay input{grid-row:span 2;margin:3px 0 0;accent-color:var(--link)}
.tillpay label:has(input:checked){border-color:var(--link);background:var(--accent-soft)}
.tillpay label:has(input:focus-visible){outline:2px solid var(--link);outline-offset:2px}
.tillpayname{font-weight:600;color:var(--ink)}
.tillpayhint{font-size:var(--fs-2);color:var(--dim)}
/* TOUCH SCREENS: the till is pressed by a finger, often on a tablet on the counter, so every target on it is F's
   52px; the press that takes the money taller still. */
@media (pointer:coarse){
  .tillscan input,.tillscan .btn{min-height:52px;font-size:var(--fs-5)}
  .tillpay label{min-height:52px;align-content:center}
  .tillgo{min-height:56px}
}
/* Metafields and metaobjects at a fingertip: their boxes at 16px, so a phone does not zoom the page into the box a
   finger chose (mobile-native). Below the till's block, which stays the sheet's first for a finger
   (tests/worker/live/till.test.ts). */
@media (pointer:coarse){
  .mfval :is(input,select,textarea),.cdform :is(input,select,textarea){font-size:16px}
}
/* PHONE WIDTH (plan tn-on-talstok-exact 4.3 F5). The tab row rests only on a whole tab: it snaps each tab's start to just
   past Home (the scroll padding), so no tab is left half under Home ("Stock keeping" read "eeping"). A list wider than its
   card scrolls inside the card, never the page (an index table, .ixscroll, already does), and a plain card table holds
   each row's name at its left, so no row is read without it; a toolbar's search box takes its own line. */
@media (max-width:60rem){
  .tabrow{scroll-snap-type:x mandatory}
  .btab{scroll-snap-align:start}
  .btab:first-child{scroll-snap-align:none}
  .tabspacer{flex:none;height:1px}
}
@media (max-width:40rem){
  .toolbar .grow{flex:1 1 100%}
  .card .wrap>table>*>tr>:first-child{position:sticky;left:0;z-index:1;background:var(--card);box-shadow:1px 0 0 var(--line-2)}
  .card .wrap>table>thead>tr>:first-child{z-index:2;background:var(--well);box-shadow:1px 0 0 var(--line-2),0 1px 0 var(--line)}
}
/* EVERY BOX AT 16px UNDER A FINGER (plan tn-on-talstok-exact 4.3 F5): iOS Safari zooms the page into any input, select
   or textarea under 16px and does not zoom back, so on a touch screen every box the dashboard draws is 16px, whatever
   its own rule says (a table's compact box, a toolbar's search). :root and the :not()s give it the weight to win. */
@media (pointer:coarse){
  :root :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),select,textarea){
    font-size:16px}
}

/* The Description box with Shopify's buttons on it (src/dashboard/editor.ts). Drawn only where the
   script has replaced the plain textarea; without it the textarea is the box, dressed as any other. */
/* The box's ring is drawn over its parts (::after): as the box's own inset shadow it lay under the toolbar's grey, so the
   field's edge began below the toolbar and the bar read as a strip floating above the box (7 Nov 2026). */
.rte{position:relative;border-radius:var(--r);background:var(--card);overflow:hidden}
.rte::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 .66px var(--ring);pointer-events:none}
.rte:focus-within{outline:2px solid var(--link)}
.rte-bar{display:flex;flex-wrap:wrap;gap:var(--s1);align-items:center;padding:var(--s1) var(--s2);
  border-bottom:1px solid var(--line-2);background:var(--well)}
.rte-bar .btn{height:26px;min-width:28px;justify-content:center;padding:0 6px;box-shadow:none;background:transparent}
.rte-bar .btn:hover{background:var(--line-2)}
.rte-block{height:26px;padding:0 var(--s2);font-size:var(--fs-2);box-shadow:none;background:transparent}
.rte-box{min-height:9rem;padding:var(--s3);font-size:var(--fs-3);line-height:1.55;overflow-wrap:anywhere}
.rte-box:focus{outline:0}
.rte-box p{margin:0 0 var(--s2)}
.rte-box h3{margin:var(--s3) 0 var(--s2);font-size:var(--fs-4)}
.rte-box ul,.rte-box ol{margin:0 0 var(--s2);padding-left:var(--s5)}
/* The marks the box writes since plan tn-on-talstok-exact 4.3: alignment as classes (this page's policy refuses a style
   attribute), a picture inside the words, a table to type into, and a video as a named block the box does not edit. */
.rte-al-center{text-align:center}
.rte-al-right{text-align:right}
.rte-al-justify{text-align:justify}
.rte-box img{max-width:100%;max-height:20rem;width:auto;height:auto;vertical-align:middle;border-radius:var(--r)}
.rte-table{border-collapse:collapse;margin:0 0 var(--s2);min-width:50%}
.rte-table th,.rte-table td{min-width:4rem;padding:var(--s1) var(--s2);border:1px solid var(--line);text-align:left;vertical-align:top}
.rte-table th{font-weight:600;background:var(--well)}
.rte-embed{display:flex;align-items:center;gap:var(--s2);margin:0 0 var(--s2);padding:var(--s3);border-radius:var(--r);
  background:var(--well);color:var(--ink-2);user-select:none;overflow-wrap:anywhere}
.rte-embed svg{flex:none}
/* Show HTML: the box's HTML in a plain box of the box's own height, so the card does not jump when it is pressed. */
.rte-html{display:block;width:100%;min-height:9rem;height:auto;padding:var(--s3);border:0;border-radius:0;box-shadow:none;
  background:var(--card);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:var(--fs-2);line-height:1.6;resize:vertical}
.rte-html[hidden]{display:none}
.rte-bar .rte-end{margin-left:auto}
.rte-bar .btn[aria-pressed=true],.rte-bar .btn[aria-expanded=true]{background:var(--line-2)}
.rte-bar :disabled{opacity:.45}
/* A tool row under the box: a link's address, a picture's address and words, a video's link, a table's size. */
.rte-tool{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--s2);padding:var(--s2);border-top:1px solid var(--line-2);
  background:var(--well)}
.rte-tool[hidden]{display:none}
.rte-tool .input{height:28px;flex:1;min-width:10rem;max-width:22rem}
.rte-tool .rte-count{flex:none;min-width:0;width:4.5rem}
.rte-field{display:flex;flex-direction:column;gap:2px;flex:1;min-width:10rem;max-width:22rem;font-size:var(--fs-2);color:var(--ink-2)}
.rte-field:has(.rte-count){flex:none;min-width:0}
.rte-field .input{max-width:none}
.rte-error{flex:0 0 100%;margin:0;color:var(--bad);font-size:var(--fs-2)}

/* THE PRODUCTS LIST, laid out from Shopify's (docs/design/dashboard/screens/products.md). One card:
   the bar, the table, the page arrows. The menus are <details>; the filter list shows while the
   search box has focus; the bulk bar covers the header row once a box is ticked (:has) and counts
   the ticked boxes with a CSS counter. Without :has the bulk bar stays on show under the table. */
/* The products list's own card, from the Shopify rebuild — same treatment as .card now that the
   border has gone, so the two screens cannot drift apart. */
.ixcard{position:relative;background:var(--card);border:0;border-radius:var(--r2);box-shadow:var(--shadow)}
.ixbar{display:flex;align-items:center;gap:var(--s2);padding:var(--s2) var(--s3);border-bottom:1px solid var(--line)}
main details.menu{position:relative;margin:0}
main details.menu>summary{list-style:none;display:inline-flex;align-items:center;gap:var(--s1);height:30px;
  padding:0 var(--s2);border-radius:var(--r);color:var(--ink);font-size:var(--fs-3);font-weight:600}
main details.menu>summary::before{content:none}
main details.menu>summary:hover{background:var(--line-2)}
.menu .pop{position:absolute;top:calc(100% + 4px);left:0;z-index:30;min-width:12rem;display:flex;flex-direction:column;
  padding:var(--s1);background:var(--card);border:1px solid var(--line);border-radius:var(--r2);
  box-shadow:var(--shadow-pop)}
.menu .pop-right{left:auto;right:0}
/* A collection's Browse (its Products card): the shop's products, a tick each, in a list that scrolls inside the menu,
   with Add under it. Narrowed by the card's search box (screen-script.ts). */
.browse-pop{width:min(24rem,calc(100vw - 3rem));gap:var(--s2)}
/* In a side card's field (a product's Collections) the menu is the field's width, never wider than its card. */
.menu .pop.pop-fill{right:0;width:auto;min-width:0}
.browse-list{list-style:none;margin:0;padding:0;max-height:18rem;overflow:auto;overscroll-behavior:contain}
.browse-list>li>label{display:flex;align-items:center;gap:var(--s2);padding:6px var(--s2);border-radius:var(--r);
  font-size:var(--fs-3)}
.browse-list>li>label:hover{background:var(--well)}
.menu .pop>a{position:relative;display:block;padding:6px var(--s2) 6px 28px;border-radius:var(--r);
  color:var(--ink);text-decoration:none;font-size:var(--fs-3);white-space:nowrap}
.menu .pop>a:hover{background:var(--well)}
.menu .pop>a.on{font-weight:600}
.menu .pop>a.on::before{content:"✓";position:absolute;left:10px}
.menu .pop>a.more{align-self:flex-end;padding:2px var(--s2);color:var(--dim)}
.menu .poph{margin:0;padding:6px var(--s2);font-size:var(--fs-3);font-weight:600}
/* A page head's More actions: the summary is a button like its neighbours, and an item that deletes is a full-width row
   in Shopify's red, posted by its own form. Its height is the button's beside it (32px, a small one's 28px): drawn at
   its content's height it stood 4px short of Save and View, and a theme's "..." 6px short of Customise (7 Nov 2026). */
main details.headmenu>summary.btn{height:32px;padding:0 var(--s3);background:var(--card);color:var(--ink)}
main details.headmenu>summary.btn-sm{height:28px;padding:0 var(--s2)}
main details.headmenu>summary.btn svg{width:14px;height:14px}
.menu .pop>form{margin:0}
.popdel{display:block;width:100%;padding:6px var(--s2);border:0;border-radius:var(--r);background:none;color:var(--bad);
  font:inherit;font-size:var(--fs-3);text-align:left;white-space:nowrap;cursor:pointer}
.popdel:hover{background:var(--bad-soft)}
.popdel:focus-visible{outline:2px solid var(--link);outline-offset:-2px}
.menu hr{border:0;border-top:1px solid var(--line-2);margin:var(--s1) 0;width:100%}
.ixsearch{position:relative;flex:1;margin:0}
/* The search box is the field, magnifier inside, as Shopify's: the input's own ring drew a second box that began after
   the magnifier, so the icon sat outside the field it belongs to (Pages, Products, 7 Nov 2026). */
.ixfield{display:flex;align-items:center;gap:var(--s2);height:32px;padding:0 var(--s2);border-radius:var(--r);color:var(--dim);
  background:var(--field);box-shadow:inset 0 0 0 .66px var(--ring)}
.ixfield:hover{box-shadow:inset 0 0 0 1px var(--ring)}
.ixfield:focus-within{outline:2px solid var(--link)}
.ixfield input[type=search],.ixfield input[type=search]:hover{flex:1;height:30px;padding:0;border:0;background:transparent;
  box-shadow:none;font-size:var(--fs-3)}
.ixfield input[type=search]:focus-visible{outline:0}
.token{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 2px 0 8px;border-radius:var(--r);
  background:var(--line-2);color:var(--ink);font-size:var(--fs-2);white-space:nowrap}
.token b{font-weight:600}
.token a,.ixclear{padding:0 4px;color:var(--dim);text-decoration:none;font-size:var(--fs-5);line-height:1}
.token a:hover,.ixclear:hover{color:var(--ink)}
.ixfilters{display:none;position:absolute;top:calc(100% + 4px);left:28px;z-index:30;min-width:14rem;padding:var(--s1);
  background:var(--card);border:1px solid var(--line);border-radius:var(--r2);box-shadow:var(--shadow-pop)}
.ixsearch:focus-within .ixfilters,.ixfilters:hover{display:block}
main .ixfilters details{margin:0}
main .ixfilters details>summary,main .ixbulk details.sub>summary{display:block;padding:6px var(--s2);border-radius:var(--r);
  color:var(--ink);font-weight:400}
main .ixfilters details>summary::before,main .ixbulk details.sub>summary::before{content:none}
.ixfilters summary:hover,.ixbulk details.sub>summary:hover{background:var(--well)}
.ixfilters .opts{display:flex;flex-direction:column;padding:0 0 var(--s1) var(--s3)}
.ixfilters .opts a{padding:4px var(--s2);border-radius:var(--r);color:var(--ink);text-decoration:none;font-size:var(--fs-3)}
.ixfilters .opts a:hover{background:var(--well)}
main details.ixsort>summary{width:32px;justify-content:center;padding:0;border:1px solid var(--line);color:var(--ink-2)}
.ixtable{position:relative;counter-reset:picked}
table.ix thead th{position:static;height:36px;background:var(--well);box-shadow:none;border-bottom:1px solid var(--line)}
table.ix th,table.ix td{vertical-align:middle;padding:6px var(--s3)}
table.ix tbody th{font-weight:600}
/* A list whose rows are addresses, not names (URL redirects): Shopify sets its first column at body weight. */
table.ix.plainrows tbody th{font-weight:inherit}
table.ix th[aria-sort=none] a::after{content:none}
table.ix tbody tr{position:relative}
table.ix tbody tr:last-child>*{border-bottom:0}
.ixname{color:var(--ink);text-decoration:none}
.ixname::after{content:"";position:absolute;inset:0}
.ixpick{width:44px;padding-right:0!important}
table.ix tbody .ixpick{position:relative;z-index:2}
table.ix tbody .ixpick .cb{position:static}
.ixthumb{width:52px;padding-right:0!important}
.thumb40{display:flex;align-items:center;justify-content:center;width:40px;height:40px;overflow:hidden;
  border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--faint)}
.thumb40 img{width:100%;height:100%;object-fit:cover;display:block}
.ixout{color:var(--bad)}
.ixeye{width:44px;text-align:right}
.ixeye a{position:relative;z-index:2;display:inline-flex;color:var(--dim);opacity:0}
table.ix tbody tr:hover .ixeye a,table.ix tbody tr:focus-within .ixeye a,.ixeye a:focus-visible{opacity:1}
@media (hover:none){.ixeye a{opacity:1}}
.cb{position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;cursor:pointer}
.cb input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.cb .box{display:flex;align-items:center;justify-content:center;width:16px;height:16px;border:1.5px solid var(--ring);
  border-radius:4px;background:var(--card)}
.cb input:checked+.box{background:var(--ink);border-color:var(--ink)}
.cb input:checked+.box::after{content:"✓";color:var(--on-ink);font-size:11px;font-weight:700;line-height:1}
.cb input:focus-visible+.box{outline:2px solid var(--link);outline-offset:2px}
.ixtable tbody .pick:checked{counter-increment:picked}
.ixbulk{display:flex;align-items:center;gap:var(--s2);padding:var(--s2) var(--s3);border-top:1px solid var(--line)}
.ixcount::before{content:counter(picked) " selected"}
.ixcount,.ixall{margin-right:var(--s2);font-size:var(--fs-3);font-weight:600;color:var(--ink)}
.ixall{display:none}
.ixcount{display:none}
th.ixpick .cb{display:none}
main .ixbulk details.sub{margin:0}
.ixbulk details.sub .row{flex-wrap:nowrap;padding:var(--s1) var(--s2) var(--s2)}
@supports selector(:has(*)){
  .ixbulk{display:none;position:absolute;top:0;left:44px;right:0;height:36px;padding:0 var(--s3);border:0;
    border-bottom:1px solid var(--line);background:var(--well);z-index:3}
  .ixtable:has(.pick:checked) .ixbulk,.ixtable:has(.selall:checked) .ixbulk{display:flex}
  .ixcount{display:inline}
  th.ixpick .cb{display:inline-flex}
  .ixtable:has(.selall:checked) .ixcount{display:none}
  .ixtable:has(.selall:checked) .ixall{display:inline}
  .ixtable:has(.selall:checked) tbody .cb .box{background:var(--ink);border-color:var(--ink)}
  .ixtable:has(.selall:checked) tbody .cb .box::after{content:"✓";color:var(--on-ink);font-size:11px;font-weight:700;line-height:1}
  table.ix tbody tr:has(.pick:checked),.ixtable:has(.selall:checked) tbody tr{background:var(--line-2)}
  table.ix tbody tr:has(.pick:checked)>*,.ixtable:has(.selall:checked) tbody tr>*{background:transparent}
}
.ixpager{display:flex;justify-content:center;gap:2px;padding:var(--s2);border-top:1px solid var(--line);
  background:var(--well);border-radius:0 0 var(--r2) var(--r2)}
.ixpager [aria-disabled=true],.ixpager [aria-disabled=true]:hover{color:var(--faint);background:var(--card);cursor:default}
.ixempty{display:flex;flex-direction:column;align-items:center;padding:var(--s7) var(--s4);text-align:center;color:var(--dim)}
.ixempty>svg{width:56px;height:56px;color:var(--faint)}
.ixempty h2{margin:var(--s3) 0 var(--s1);padding:0;border:0;color:var(--ink);font-size:var(--fs-5)}
.ixempty p{margin:0 0 var(--s4);font-size:var(--fs-3)}
.ixfirst h2{margin:0 0 var(--s2);padding:0;border:0}
/* ---- Content › Files (plan tn-on-talstok-exact, Stream 4 group A). The head's "+ Files" is the label of a file chooser
   kept out of sight but in the tab order, so the label shows its focus; Upload is the form's submit for a browser
   running no script (the dashboard's script uploads on choosing). A file dragged over the card rings it. */
.upform{display:flex;align-items:center;gap:var(--s2)}
.upinput{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.upinput:focus-visible+label{outline:2px solid var(--link);outline-offset:2px}
.upform label svg{width:14px;height:14px}
.upsubmit{display:none}
@media (scripting:none){.upsubmit{display:inline-flex}}
.filedrop{position:relative}
.filedrop.dropping::after{content:"";position:absolute;inset:0;z-index:4;border:2px dashed var(--link);border-radius:var(--r2);
  background:var(--accent-soft);pointer-events:none}
.filetable th.num,.filetable td.num{text-align:right}
.filecell{display:flex;align-items:center;gap:var(--s3);min-width:0}
.fname{display:block;min-width:0;max-width:26rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fext{font-weight:400;color:var(--dim)}
/* Store 0053: a file's name opens its own page; its Alt text, one line in the list, and on its page the picture large. */
.rowlink{display:block;min-width:0;color:inherit;text-decoration:none}
.rowlink:hover .fname,.rowlink:focus-visible .fname{text-decoration:underline}
.filealt{max-width:18rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.filepreview{display:grid;place-items:center;min-height:12rem}
.filepreview img{display:block;max-width:100%;height:auto;max-height:36rem;object-fit:contain}
.filefacts{display:grid;grid-template-columns:auto 1fr;gap:var(--s2) var(--s4);margin:0}
.filefacts dt{color:var(--dim)}
.filefacts dd{margin:0;overflow-wrap:anywhere}
.refusals{margin:0;padding-left:1.1em}
.filelist{display:grid;gap:var(--s3);margin:0 0 var(--s4);padding:0;list-style:none}
.filelist li{display:flex;align-items:center;gap:var(--s3);min-width:0}
.filename{margin:0;font-weight:600;overflow-wrap:anywhere}
/* "Link copied": Shopify's toast, at the page's foot, read out (src/look-editor/dashboard.ts). */
.dash-toast{position:fixed;left:50%;bottom:var(--s5);z-index:50;transform:translateX(-50%);padding:var(--s2) var(--s4);
  border-radius:var(--r);background:var(--ink);color:var(--on-ink);font-size:var(--fs-3);box-shadow:var(--le-shadow-toast)}
/* ---- The picture picker (src/look-editor/picture-picker.ts): Shopify's "Select image", one size whatever it holds.
   The files scroll inside it; the drop zone and the line under it keep their room; Cancel and Done stay at its foot. */
.pick{width:min(760px,calc(100vw - 32px));height:min(640px,calc(100dvh - 32px));max-width:none;max-height:none;padding:0;border:0;
  border-radius:var(--r2);background:var(--card);color:var(--ink);box-shadow:0 0 0 1px var(--line),var(--le-shadow-pop);overflow:hidden}
.pick[open]{display:flex;flex-direction:column}
.pick::backdrop{background:var(--le-scrim)}
.pick-head{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);padding:var(--s3) var(--s4);
  border-bottom:1px solid var(--line)}
.pick-head h2{margin:0;padding:0;border:0;font-size:var(--fs-4);font-weight:600;overflow-wrap:anywhere}
.pick-x{display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:var(--r);background:none;
  box-shadow:none;color:var(--dim);font-size:20px;line-height:1;cursor:pointer}
.pick-tools{padding:var(--s3) var(--s4) 0}
.pick input.pick-q{width:100%;font-size:16px}
.pick-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:var(--s3) var(--s4)}
.pick-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--s1);min-height:96px;padding:var(--s3);
  border:1px dashed var(--dash);border-radius:var(--r2);text-align:center}
.pick-drop p{margin:0;font-size:var(--fs-2);color:var(--dim)}
.pick-drop.pick-dropping{border-color:var(--link);background:var(--accent-soft)}
.pick-add[aria-disabled=true]{opacity:.6;cursor:progress}
.pick-said{min-height:1.5em;margin:var(--s2) 0;font-size:var(--fs-2);color:var(--dim)}
.pick-said.pick-err{color:var(--bad-2)}
.pick-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:var(--s3)}
.pick-tile{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0;height:auto;padding:6px;
  overflow:hidden;border:0;border-radius:var(--r);background:none;box-shadow:none;color:var(--ink);font:inherit;text-align:center;
  cursor:pointer}
.pick-img{display:block;aspect-ratio:1;border-radius:6px;overflow:hidden;background:var(--well);box-shadow:inset 0 0 0 1px var(--line)}
.pick-img img{display:block;width:100%;height:100%;object-fit:contain}
.pick-name{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-2)}
.pick-type{display:block;font-size:11px;color:var(--dim)}
.pick-tile[aria-pressed=true]{background:var(--accent-soft);box-shadow:0 0 0 2px var(--link)}
.pick-tile[aria-pressed=true]::after{content:"✓";position:absolute;top:10px;left:10px;display:grid;place-items:center;width:18px;
  height:18px;border-radius:4px;background:var(--link);color:var(--on-ink);font-size:11px;font-weight:700}
.pick-none{margin:var(--s5) 0;text-align:center;color:var(--dim)}
.pick-foot{display:flex;justify-content:flex-end;gap:var(--s2);padding:var(--s3) var(--s4);border-top:1px solid var(--line)}
@media (hover:hover) and (pointer:fine){.pick-tile:hover{background:var(--well)}.pick-x:hover{background:var(--well);color:var(--ink)}}
@media (max-width:45rem){.pick{width:calc(100vw - 16px);height:calc(100dvh - 16px)}
  .pick-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr))}}
/* ---- A picture field on a dashboard form (./pages/picture-field.ts): Add image in Shopify's dashed box, or the picture
   with Change and Remove, both in one room. The address box is what a browser running no script is shown instead. */
.picfield>label,.picfield>input{display:none}
.piclbl{display:block;margin-bottom:var(--s1)}
@media (scripting:none){.picfield>label,.picfield>input{display:block}.picui,.piclbl{display:none}}
.picui{display:grid}
.picempty,.picset{grid-area:1/1;min-width:0}
.picfield[data-state=set] .picempty,.picfield[data-state=empty] .picset{visibility:hidden}
.picfield-card .picempty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--s1);min-height:184px;
  padding:var(--s3);border:1px dashed var(--dash);border-radius:var(--r2);text-align:center}
.picfield-card .picempty.pic-dropping{border-color:var(--link);background:var(--accent-soft)}
.pichint{margin:0;font-size:var(--fs-2);color:var(--dim)}
.pichint.pic-err{color:var(--bad-2)}
.picfield-card .picset{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:var(--s2)}
.picfield-card .picimg{display:block;width:100%;height:140px;object-fit:contain;border-radius:var(--r);background:var(--well)}
.picacts{display:flex;flex-wrap:wrap;gap:var(--s2)}
.picfield-row .picempty,.picfield-row .picset{display:flex;align-items:center;gap:var(--s3)}
.picfield-row .picimg,.picnone{display:block;flex:none;width:72px;height:54px;border-radius:6px;object-fit:cover;background:var(--well);
  box-shadow:inset 0 0 0 1px var(--line)}
@media (max-width:60rem){.ixscroll{overflow-x:auto}}

/* ---- THE BILL: PLAN, BILLING, AND THE RECEIPT CARD (docs/design/BILLING.md) -------------- */
/* The plan card is Shopify's Plan details card, measured 1 Oct 2026: the plan's name large, the
   price larger still with its unit small beside it, and a grey well holding the facts that make
   up the price — Shopify's "Card rates", ours the shops on the bill. */
.card>h3.planname{margin:var(--s1) 0 0;padding:0;border:0;font-size:var(--fs-6);font-weight:600}
.planprice{margin:var(--s1) 0 var(--s3);font-size:var(--fs-6);font-weight:600;font-variant-numeric:tabular-nums}
.planprice .unit{font-size:var(--fs-3);font-weight:400;color:var(--dim);margin-left:var(--s1)}
.planwell{background:var(--well);border-radius:var(--r);padding:var(--s3) var(--s4);margin:0 0 var(--s3)}
.planwell h3{margin:0 0 var(--s1);font-size:var(--fs-3);font-weight:600}
.planwell ul{margin:0;padding-left:var(--s5)}
.planwell li{font-size:var(--fs-3);line-height:1.6}
.planstate{display:flex;align-items:center;gap:var(--s2);flex-wrap:wrap;margin:0}
.billamount{margin:0;font-size:var(--fs-7);font-weight:600;font-variant-numeric:tabular-nums}
.billamount .unit{font-size:var(--fs-3);font-weight:400;color:var(--dim);margin-left:var(--s1)}
.billnext{margin:var(--s1) 0 var(--s3);color:var(--ink-2);font-size:var(--fs-3)}
.paymethod{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);
  border:1px solid var(--line);border-radius:var(--r);padding:var(--s2) var(--s3);margin:0 0 var(--s3)}
.paymethod .pmname{font-size:var(--fs-3);font-variant-numeric:tabular-nums}
.paymethod form{margin:0}
.cardfoot{margin:var(--s3) calc(-1 * var(--s4)) calc(-1 * var(--s4));padding:var(--s3) var(--s4);
  background:var(--well);border-top:1px solid var(--line-2);border-radius:0 0 var(--r2) var(--r2);
  font-size:var(--fs-3);color:var(--ink-2)}
.cardfoot p{margin:0}
.decision{margin:var(--s2) 0 0;color:var(--dim);font-size:var(--fs-3)}

/* The receipt card, as the shop window draws it (src/storefront/style.ts) — the system sans
   Stripe's own pages use, one centred card, the state's mark at the top. */
/* The operator, 1 Oct 2026, of the bill's pages: "the talstok logo could be increased in size. We
   could have like a blue stripe through it … It looks very bland and boring." So the wordmark is
   drawn large and white on a band of the accent, and the card sits over the band's lower edge —
   the same blue Stripe's own payment page now carries (its branding, set the same day). */
.receipt-page{background:#f6f5f1;margin:0}
.receipt-head{display:flex;justify-content:center;align-items:center;background:var(--accent);
  padding:2.25rem var(--s4) 4.75rem}
.receipt-head .brand{display:inline-flex;align-items:center;gap:12px;color:#fff;font-weight:700}
.receipt-head .brand svg{width:36px;height:36px;flex:0 0 36px}
.receipt-head .wordmark{color:#fff;font-size:1.75rem;letter-spacing:-.015em;line-height:1}
.receipt-page main{padding:0 var(--s4) 3rem;margin-top:-3rem}
.receipt{max-width:30rem;margin:0 auto;padding:2rem 1.75rem 1.75rem;background:var(--card);border-radius:12px;
  box-shadow:0 1px 2px rgba(23,21,15,.06),0 8px 24px rgba(23,21,15,.08);text-align:center;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:.95rem}
.receipt h1{font-size:1.4rem;font-weight:600;margin:.75rem 0 .5rem}
.receipt p{margin:.6rem auto}
.receipt-mark{display:block;margin:0 auto;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.receipt-mark-ok{stroke:var(--ok)}
.receipt-mark-wait{stroke:var(--link)}
.receipt-mark-none{stroke:var(--dim)}
.receipt-lines{margin:1.25rem 0;text-align:left;font-size:.9rem;background:none}
.receipt-lines th[scope="row"]{font-weight:500;padding-left:0;padding-right:.5rem}
.receipt-qty{color:var(--dim);white-space:nowrap}
.receipt-amount{text-align:right;padding-right:0;white-space:nowrap;font-variant-numeric:tabular-nums}
.receipt-lines tfoot th[scope="row"]{color:var(--dim);font-weight:400}
.receipt-lines tfoot td,.receipt-lines tfoot th{border-bottom:0;padding-top:.35rem;padding-bottom:.35rem}
.receipt-total th[scope="row"],.receipt-total td{color:var(--ink)!important;font-weight:600!important;
  border-top:1px solid var(--line);padding-top:.6rem!important}
.receipt-onward{margin-top:1.25rem!important}
/* Your account's recovery codes (src/dashboard/pages/account.ts) borrow the log-in's two names on the dashboard's
   own ground. The log-in pages dress the same two again below, in the night. */
.login-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;letter-spacing:.04em;
  overflow-wrap:anywhere;color:var(--ink);-webkit-user-select:all;user-select:all}
.login-codes{display:grid;grid-template-columns:1fr 1fr;gap:var(--s2) var(--s4);padding:var(--s4);margin:0 0 var(--s3);
  list-style:none;border-radius:10px;background:var(--well);box-shadow:inset 0 0 0 1px var(--line)}
.login-codes li{-webkit-user-select:text;user-select:text}

/* =========================================================================
   THE NIGHT COUNTER: THE WORKING AREA OF BUNDLES AND DISCOUNTS (DESIGN.md; Daniel's choice of design C, 10 Nov 2026,
   the Bundles port's plan, Agreed). The add-on's own pages put .nc round what they draw (addOnBody,
   src/dashboard/pages/bundles-help.ts), so every rule here is scoped to it and no other screen changes. The frame (top
   bar, base tabs, menu, Night or Paper) stays the dashboard's own. Colours are the materials' roles and nothing else.
   ========================================================================= */
.nc .pagehead h1{font-size:44px;font-weight:600;line-height:1.05;letter-spacing:-.035em;text-wrap:balance}
.nc .card{border-radius:18px;padding:var(--s5);box-shadow:inset 0 0 0 1px var(--line-2),var(--shadow)}
.nc .ixcard{padding:var(--s2) var(--s4);border-radius:18px;box-shadow:inset 0 0 0 1px var(--line-2),var(--shadow)}
.nc .card h2{font-size:15px;font-weight:600;letter-spacing:-.01em}
/* Pills, 38px, pressed to .97 for 100ms (DESIGN.md, Buttons). The press is the only motion a merchant meets many times
   an hour, and it is a transform, so nothing round it moves. */
.nc .btn,.nc button.btn{height:38px;padding:0 var(--s4);border-radius:999px;font-size:var(--fs-4);
  transition:transform 100ms cubic-bezier(.23,1,.32,1)}
.nc .btn-sm,.nc button.btn-sm{height:30px;padding:0 var(--s3);font-size:var(--fs-3)}
.nc .btn:active,.nc button.btn:active{transform:scale(.97)}
.nc .btn-primary,.nc button.btn-primary{box-shadow:var(--shadow-primary)}
.nc .pill{height:22px;line-height:22px;padding:0 10px;border-radius:999px}
/* A tab row is a pill-shaped well holding pill tabs; at phone width it scrolls inside itself, never the page. */
.nc .tabs{flex-wrap:nowrap;width:fit-content;max-width:100%;gap:2px;padding:4px;margin:0 0 22px;border:0;
  border-radius:999px;background:var(--well);box-shadow:inset 0 0 0 1px var(--line-2);overflow-x:auto;
  overscroll-behavior-x:contain;scrollbar-width:none}
.nc .tab{flex:0 0 auto;margin:0;padding:6px 14px;border:0;border-radius:999px;color:var(--dim);font-size:var(--fs-4);
  font-weight:500;white-space:nowrap;-webkit-user-select:none;user-select:none}
.nc .tab:hover{color:var(--ink)}
.nc .tab.on{background:var(--card);color:var(--ink);box-shadow:var(--shadow-lift)}
.nc :is(input[type=text],input[type=number],input[type=search],input[type=email],input[type=url],input[type=date],
  input[type=datetime-local],select){height:40px;padding:0 var(--s3);border-radius:12px;font-size:var(--fs-4)}
.nc textarea{border-radius:12px}
.nc :is(input,select,textarea):focus-visible{box-shadow:0 0 0 4px var(--accent-soft)}
/* The one lit card on a screen. Its lit edge catches, a 0.7s sweep, when what it shows has just changed (the class
   catch); the sheet's reduced-motion rule holds it still for a merchant who asks for less motion. */
.nc .card.lit{overflow:hidden}
.nc .card.lit::before{left:18px;right:18px}
.nc .card.lit.catch::before{animation:nc-catch .7s cubic-bezier(.23,1,.32,1) both}
@keyframes nc-catch{from{transform:translateX(-100%);opacity:.2}to{transform:none;opacity:1}}
/* The shop page beside the settings that change it: the double frame (DESIGN.md, The shop preview). */
.nc .shopframe{border-radius:16px;overflow:hidden;background:var(--card);box-shadow:var(--preview-frame)}
.nc .figure{margin:0 0 var(--s1);font-size:40px;font-weight:600;line-height:1.05;letter-spacing:-.035em;
  font-variant-numeric:tabular-nums}
.nc .cardhead{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);margin:0 0 var(--s4)}
.nc .cardhead h2{margin:0}
.nc .ncfoot{display:flex;flex-wrap:wrap;gap:var(--s2);margin-top:var(--s4)}
/* Home's two halves, the live shop arrangement: what to do on the left, the bundle drawn on the right; one column under
   1100px. */
.nc .ncsplit{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--s5);align-items:start;
  margin-top:var(--s5)}
@media (max-width:1100px){.nc .ncsplit{grid-template-columns:minmax(0,1fr)}}
/* Bundles › Appearance (round 4, 4.2): the settings and the preview side by side, each one fixed height, so nothing moves
   when a tab, a part or a setting changes (steady-layout): the settings scroll inside their card under their two tab rows,
   the preview's frame is one size and a phone's width inside it. */
.nc .lk-split{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
@media (max-width:1100px){.nc .lk-split{grid-template-columns:minmax(0,1fr)}}
.nc .lk-settings{display:grid;grid-template-rows:auto auto minmax(0,1fr);height:clamp(34rem,calc(100dvh - 15rem),52rem);
  padding-bottom:0}
.nc .lk-find{max-width:none;margin:0 0 var(--s3)}
/* Its tab rows wrap, every tab in sight: the tabs a pill group over as many lines as they need, in the card's fixed head; the
   tab's parts as small pills at the top of the settings below, which they head and scroll with (a tab without parts has none). */
.nc .lk-tabs{flex-wrap:wrap;width:auto;border-radius:20px;overflow:visible;margin:0 0 var(--s3)}
.nc .lk-subs{flex-wrap:wrap;width:auto;margin:var(--s3) 0 0;padding:0;gap:4px;border-radius:0;background:none;box-shadow:none;overflow:visible}
.nc .lk-subs .tab{padding:4px 12px;font-size:var(--fs-3)}
.nc .lk-subs .tab.on{background:var(--well);box-shadow:inset 0 0 0 1px var(--line-2)}
.nc .lk-subs:empty{display:none}
.nc .lk-mark{color:var(--bad)}
.nc .lk-body{overflow:auto;overscroll-behavior:contain;margin:0 calc(-1 * var(--s5));padding:var(--s1) var(--s5) var(--s5);
  border-top:1px solid var(--line-2)}
.nc .lk-panel{display:grid;gap:var(--s4);padding-top:var(--s3)}
.nc .lk-panel[hidden],.nc .lk-ctl[hidden],.nc .lk-ctl.lk-miss{display:none}
.nc .lk-ctl{display:grid;gap:var(--s2);min-width:0}
.nc .lk-ctl .field{margin:0;max-width:none}
.nc .lk-colour{display:grid;grid-template-columns:minmax(0,1fr) 52px;align-items:center;column-gap:var(--s3)}
.nc .lk-colour input[type=color]{width:52px;height:40px;padding:3px;border:0;border-radius:12px;background:var(--well);
  box-shadow:inset 0 0 0 1px var(--line-2);cursor:pointer}
.nc .lk-pairs{display:grid;gap:var(--s1);margin:0;padding:0;list-style:none;font-size:var(--fs-2);color:var(--dim)}
.nc .lk-pairs li.bad{color:var(--bad)}
.nc .lk-pairs:empty{display:none}
.nc .lk-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--s3)}
.nc .lk-unit{display:flex;align-items:center;gap:var(--s2)}
.nc .lk-unit input{flex:1 1 auto;min-width:0}
.nc .lk-unit span{color:var(--dim);font-size:var(--fs-3)}
.nc .lk-ticks{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s2) var(--s4)}
.nc .lk-tick{display:inline-flex;align-items:center;gap:var(--s2);min-height:32px;font-size:var(--fs-3)}
.nc .lk-reset{justify-self:start}
.nc .lk-reset[hidden]{display:inline-flex;visibility:hidden}
.nc .lk-fields{margin:0;padding:0;border:0}
.nc .lk-fields legend{padding:0;margin:0 0 var(--s2);font-size:var(--fs-3);font-weight:450}
.nc .lk-fields ol{display:grid;gap:var(--s1);margin:0;padding:0;list-style:none}
.nc .lk-fields li{display:flex;align-items:center;justify-content:space-between;gap:var(--s3)}
.nc .lk-move{display:flex;gap:var(--s1)}
.nc .lk-radios{display:grid;gap:var(--s1);margin:0 0 var(--s4);padding:0;border:0}
.nc .lk-radios legend{margin:0 0 var(--s2);font-size:var(--fs-3);font-weight:450}
.nc .lk-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(7.5rem,1fr));gap:var(--s2)}
.nc .lk-tile{display:grid;grid-template-rows:56px auto auto;gap:var(--s1);width:100%;height:auto;padding:var(--s2);border:0;border-radius:14px;
  background:var(--card);box-shadow:inset 0 0 0 1px var(--line-2);color:var(--ink);text-align:left;cursor:pointer;
  transition:transform 100ms cubic-bezier(.23,1,.32,1)}
.nc .lk-tile:active{transform:scale(.97)}
@media (hover:hover) and (pointer:fine){.nc .lk-tile:hover{box-shadow:inset 0 0 0 1px var(--link)}}
.nc .lk-sw{position:relative;display:block;height:56px;border-radius:10px;box-shadow:inset 0 0 0 1px var(--line-2);overflow:hidden}
.nc .lk-sw-card{position:absolute;left:8px;right:8px;top:8px;height:24px;overflow:hidden}
.nc .lk-sw-line{position:absolute;left:7px;top:7px;width:46%;height:4px;border-radius:2px;opacity:.75}
.nc .lk-sw-dot{position:absolute;left:7px;top:14px;width:22%;height:4px;border-radius:2px}
.nc .lk-sw-cta{position:absolute;left:8px;right:8px;bottom:8px;height:12px}
.nc .lk-tile-name{font-size:var(--fs-3);font-weight:500}
.nc .lk-tile-tag{min-height:1.2em;font-size:var(--fs-2);color:var(--dim)}
.nc .lk-row{display:flex;gap:var(--s2);min-height:38px}
.nc .lk-row [hidden]{display:inline-flex;visibility:hidden}
.nc .lk-brand,.nc .lk-restore,.nc .lk-save-as,.nc .lk-all{display:grid;gap:var(--s2);padding-top:var(--s3);border-top:1px solid var(--line-2)}
.nc .lk-brand[hidden]{display:none}
.nc .lk-restore p{margin:0}
.nc .lk-save-as .field{margin:0;max-width:none}
.nc .lk-save-as .btn{justify-self:start}
.nc .lk-saved{display:grid;gap:var(--s1);margin:0;padding:0;list-style:none}
.nc .lk-saved li{display:flex;align-items:center;justify-content:space-between;gap:var(--s3)}
.nc .lk-danger{color:var(--bad)}
.nc .lk-css{width:100%;min-height:20rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:var(--fs-3)}
.nc .lk-none{margin:var(--s4) 0;color:var(--dim)}
.nc .lk-side{position:sticky;top:var(--s5)}
.nc .lk-pv-tools{display:flex;flex-wrap:wrap;align-items:end;gap:var(--s3);margin:0 0 var(--s3);min-height:40px}
.nc .lk-pv-tools .field{margin:0}
.nc .lk-seg{display:inline-flex;gap:2px;padding:3px;border-radius:999px;background:var(--well);box-shadow:inset 0 0 0 1px var(--line-2)}
.nc .lk-seg .btn{box-shadow:none;background:transparent}
.nc .lk-seg .btn[aria-pressed=true]{background:var(--card);box-shadow:var(--shadow-lift)}
.nc .lk-frame{display:grid;height:clamp(28rem,calc(100dvh - 19rem),46rem);background:var(--well)}
.nc .lk-pv{grid-area:1/1;width:100%;height:100%;border:0;background:var(--card)}
.nc .lk-pv[hidden]{display:block;visibility:hidden}
.nc .lk-frame[data-screen=phone] .lk-pv{width:390px;max-width:100%;justify-self:center}
.nc .lk-dialog{width:min(36rem,calc(100vw - 2rem));max-height:calc(100dvh - 4rem);overflow:auto;overscroll-behavior:contain;padding:var(--s5);border:0;border-radius:18px;
  background:var(--card);color:var(--ink);box-shadow:var(--shadow-lift)}
.nc .lk-dialog::backdrop{background:var(--f-scrim)}
.nc .lk-dialog h2{margin:0 0 var(--s3);font-size:20px}
.nc .lk-changes{margin:var(--s1) 0 var(--s3) var(--s5);padding:0;font-size:var(--fs-2);color:var(--dim)}
/* Bundles › Wording (round 4, 4.3): design C's pageWords, the words beside the preview. The words card is one height whatever the
   tab, filter or language: its tabs stand in its head and its rows scroll in its body, so nothing below or beside it moves. */
.nc .wd-split{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
@media (max-width:1100px){.nc .wd-split{grid-template-columns:minmax(0,1fr)}}
.nc .wd-pick{display:grid;gap:0}
.nc .wd-pick-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1fr);gap:var(--s3);align-items:end}
.nc .wd-pick-row .field,.nc .wd-add .field{margin:0;max-width:none}
.nc .wd-blocked{grid-column:1/-1;margin:0;color:var(--danger)}
@media (max-width:640px){.nc .wd-pick-row{grid-template-columns:minmax(0,1fr)}}
.nc .wd-add{display:flex;flex-wrap:wrap;align-items:end;gap:var(--s3);margin-top:var(--s4);padding-top:var(--s4);border-top:1px solid var(--line-2)}
.nc .wd-add .field{flex:1 1 12rem}
.nc .wd-frame{height:clamp(28rem,calc(100dvh - 21rem),46rem)}
.nc .wd-words{display:grid;grid-template-rows:auto minmax(0,1fr);height:clamp(30rem,calc(100dvh - 22rem),48rem);padding-bottom:0}
.nc .wd-tabs{flex-wrap:wrap;width:auto;border-radius:20px;overflow:visible;margin:0 0 var(--s3)}
.nc .wd-body{overflow:auto;overscroll-behavior:contain;margin:0 calc(-1 * var(--s5));padding:0 var(--s5) var(--s5);border-top:1px solid var(--line-2)}
.nc .wd-panel[hidden],.nc .wd-row[hidden],.nc .wd-group[hidden]{display:none}
.nc .wd-group h3{margin:var(--s4) 0 var(--s2);font-size:var(--fs-3);font-weight:550;color:var(--dim)}
.nc .wd-row{display:grid;gap:var(--s2);padding:var(--s3) 0;border-top:1px solid var(--line-2)}
.nc .wd-group h3 + .wd-row{border-top:0;padding-top:0}
.nc .wd-box{margin:0;max-width:none}
.nc .wd-box input{font-size:16px}
.nc .wd-tokens{display:flex;flex-wrap:wrap;gap:var(--s1) var(--s2);margin:0;font-size:var(--fs-2);color:var(--dim)}
.nc .wd-tokens code{padding:1px 6px;border-radius:6px;background:var(--well)}
.nc .wd-need{margin-left:-2px;font-size:var(--fs-1)}
.nc .wd-issue{margin:0;font-size:var(--fs-2);color:var(--dim)}
.nc .wd-issue.bad{color:var(--bad)}
.nc .wd-reset{justify-self:start}
.nc .wd-bundle{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);padding:var(--s3) 0;border-top:1px solid var(--line-2)}
.nc .wd-bundle:first-child{border-top:0}
.nc .wd-bundle-what{display:grid;gap:2px;min-width:0}
.nc .wd-none{margin:var(--s4) 0 0}
/* Rewards pages: the wide column and a 22rem rail, as the mock-up's grid. */
@media (min-width:1101px){.nc.rw .ncsplit{grid-template-columns:minmax(0,1fr) 22rem}}
/* Start here: the set-up steps side by side, each part on one line across the three (card-grid-alignment). */
.nc .guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s3);margin:0;padding:0;list-style:none}
.nc .guide>li{display:flex;flex-direction:column;min-width:0}
.nc .guide-n{margin:0 0 var(--s2);color:var(--dim);font-size:var(--fs-2)}
.nc .guide-t{margin:0 0 var(--s3);font-size:var(--fs-4);font-weight:500}
.nc .guide-do{display:flex;flex-wrap:wrap;gap:var(--s2);margin-top:auto}
@supports (grid-template-rows:subgrid){
  .nc .guide{grid-template-rows:repeat(3,auto);row-gap:0}
  .nc .guide>li{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0}
  .nc .guide-do{margin-top:0;align-self:start}
}
@media (max-width:45rem){
  .nc .guide{grid-template-columns:minmax(0,1fr);grid-template-rows:none;row-gap:var(--s3)}
  .nc .guide>li{display:flex;grid-row:auto}
}
/* Needs you, and Your bundles: rows of one name, one fact under it, and what to do. */
.nc .needs,.nc .picks{margin:0;padding:0;list-style:none}
.nc .needs>li{display:flex;align-items:center;gap:var(--s3);padding:var(--s3) 0;border-top:1px solid var(--line-2)}
.nc .needs>li:first-child{padding-top:0;border-top:0}
.nc .needs>li:last-child{padding-bottom:0}
.nc .rowwhat{flex:1 1 auto;min-width:0}
.nc .rowwhat strong{display:block;font-weight:500;overflow-wrap:anywhere}
.nc .rowwhat span{display:block;color:var(--dim);font-size:var(--fs-3)}
.nc .picks{display:flex;flex-direction:column;gap:2px;margin:0 calc(-1 * var(--s3))}
.nc .picks a{display:flex;align-items:center;gap:var(--s3);min-height:44px;padding:var(--s2) var(--s3);border-radius:12px;
  color:var(--ink);text-decoration:none}
.nc .picks a[aria-current]{background:var(--well);box-shadow:inset 0 0 0 1px var(--line)}
@media (hover:hover) and (pointer:fine){.nc .picks a:hover{background:var(--well)}}
.nc .picks strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* CUSTOMERS › REWARDS (src/dashboard/pages/rewards-*.ts): the powered-by line under the heading, the 30-day line under Points
   owed, the figures row, a status line, bullets, the set-up checklist and a shop's row. */
.nc .powered{margin:calc(-1 * var(--s2)) 0 var(--s4);color:var(--dim);font-size:var(--fs-3)}
/* The lines under a Rewards card's figures and headings are muted and regular, as the mock-up's (the shared .label is ink at 450). */
.nc.rw p.label{color:var(--dim);font-weight:400}
.nc.rw p.hint{color:var(--dim);font-size:var(--fs-2)}
.nc .rw-spark{margin-top:var(--s4);color:var(--accent)}
.nc .rw-spark svg{display:block}
.nc .rw-spark-ends{display:flex;justify-content:space-between;margin:var(--s1) 0 0;color:var(--dim);font-size:var(--fs-2);font-variant-numeric:tabular-nums}
.nc .rw-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:var(--s3);margin:var(--s5) 0 0}
.nc .rw-stats>div{min-width:0}
.nc .rw-stats dt{color:var(--dim);font-size:var(--fs-3)}
.nc .rw-stats dd{margin:0;color:var(--dim);font-size:var(--fs-2)}
.nc .rw-stats dd.rw-stat{margin-top:2px;color:var(--ink);font-size:24px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.nc .rw-status{display:flex;align-items:center;flex-wrap:wrap;gap:var(--s2);margin:0 0 var(--s2)}
.nc .card h3{margin:var(--s4) 0 var(--s2);font-size:var(--fs-3);font-weight:600}
.nc .rw-bullets{margin:0;padding-left:18px;font-size:var(--fs-3)}
.nc .rw-check{margin:0;padding:0;list-style:none}
.nc .rw-check>li{display:flex;align-items:flex-start;gap:var(--s3);padding:var(--s2) 0}
.nc .rw-check>li.done strong{font-weight:400;color:var(--ink-2)}
.nc .rw-check .rowwhat a{display:inline-block;margin-top:var(--s1);font-size:var(--fs-3)}
.nc .rw-tick,.nc .rw-ring{flex:none;display:grid;place-items:center;width:20px;height:20px;border-radius:999px;font-size:12px}
.nc .rw-tick{background:var(--well);color:var(--ok)}
.nc .rw-ring{box-shadow:inset 0 0 0 1.5px var(--line)}
.nc .rw-shoprow{display:flex;align-items:center;gap:var(--s3);min-height:44px;color:var(--ink);text-decoration:none}
.nc .rw-tile{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--well);font-size:18px;font-weight:600}
/* Expiry's months and start day show once its switch is on; hidden, they are still posted. */
/* A Rewards checkbox is drawn as the mock-up's switch; it is still the checkbox, so it posts as before. */
.nc.rw label.check{display:flex;align-items:center;gap:var(--s3)}
.nc.rw label.check input[type=checkbox]:not(#rewards-enabled){appearance:none;flex:none;position:relative;width:34px;height:20px;margin:0;border-radius:999px;background:var(--well);box-shadow:inset 0 0 0 1px var(--line);cursor:pointer}
.nc.rw label.check input[type=checkbox]:not(#rewards-enabled)::after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:var(--dim);transition:transform .15s}
.nc.rw label.check input[type=checkbox]:not(#rewards-enabled):checked{background:var(--link)}
.nc.rw label.check input[type=checkbox]:not(#rewards-enabled):checked::after{transform:translateX(14px);background:var(--ink)}
.nc.rw label.check input[type=checkbox]:not(#rewards-enabled):focus-visible{outline:2px solid var(--link);outline-offset:2px}
@media (prefers-reduced-motion:reduce){.nc.rw label.check input[type=checkbox]:not(#rewards-enabled)::after{transition:none}}
.nc .rw-exp-when{display:none}
.nc .rw-exp:has(input[name=exp_on]:checked) .rw-exp-when{display:block}
.nc .rw-kv{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--s2) var(--s4);margin:var(--s3) 0 0;padding:0;max-width:none;background:none;border:0;box-shadow:none}
.nc .rw-kv dd{white-space:normal}
.nc .rowwhat span span,.nc .rowwhat strong>span{display:inline-block}
/* CUSTOMERS › REWARDS › CUSTOMERS: the search row, the tables (Shop and Balance after give way on a phone), the history's
   small lines, the change and cancel pages. */
.nc .rw-find{display:flex;flex-wrap:wrap;gap:var(--s2);margin:0 0 var(--s3)}
.nc .rw-find input[type=search]{flex:1 1 14rem;min-width:0}
.nc .rw-table td,.nc .rw-table th{vertical-align:top}
.nc .rw-table td.rw-up{color:var(--ok)}
.nc .rw-small{display:block;color:var(--dim);font-size:var(--fs-2)}
@media (max-width:40rem){.nc .rw-table .rw-wide{display:none}}
.nc .rw-person h2{margin:0;font-size:20px;font-weight:650;letter-spacing:-.01em;overflow-wrap:anywhere}
.nc .rw-sheet{max-width:36rem}
.nc .rw-sheet label{display:block;margin-top:var(--s3);font-weight:500}
.nc .rw-sheet input:not([type=radio]){width:100%}
.nc .rw-radios{margin:var(--s3) 0 0;padding:0;border:0}
.nc .rw-radios legend{font-weight:500}
.nc .rw-radios label{display:flex;align-items:center;gap:var(--s2);margin-top:var(--s2);font-weight:400}
.nc .rw-more summary{cursor:pointer;margin-top:var(--s3);color:var(--link)}
/* CUSTOMERS › REWARDS › REPORTS */
.nc .rw-rep-note{margin:var(--s1) 0 0;color:var(--dim);font-size:var(--fs-2)}
.nc .rw-rep-bar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s3);margin-top:var(--s5);padding-top:var(--s4);border-top:1px solid var(--line-2)}
.nc .rw-rep-bar h3{margin:0 auto 0 0}
.nc .rw-rep-seg{display:inline-flex;gap:2px;padding:3px;border-radius:999px;background:var(--well)}
.nc .rw-rep-seg a{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;color:var(--dim);font-size:var(--fs-3);text-decoration:none}
.nc .rw-rep-seg a[aria-current]{background:var(--card);color:var(--ink);box-shadow:var(--shadow-lift)}
@media (hover:hover) and (pointer:fine){.nc .rw-rep-seg a:hover{color:var(--ink)}}
.nc .rw-rep-now{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s2);margin:var(--s3) 0 var(--s2)}
.nc .rw-rep-plot{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--s1) var(--s3)}
.nc .rw-rep-plot svg{display:block;overflow:visible}
.nc .rw-rep-y{display:flex;flex-direction:column;justify-content:space-between;height:180px;color:var(--dim);font-size:var(--fs-2);font-variant-numeric:tabular-nums;text-align:right}
.nc .rw-rep-x{display:flex;justify-content:space-between;color:var(--dim);font-size:var(--fs-2)}
.nc .rw-rep-grid{stroke:var(--line);stroke-width:1}
.nc .rw-rep-line{stroke:var(--accent);stroke-width:2}
.nc .rw-rep-figs{margin-top:var(--s3)}
.nc .rw-rep-figs>summary{cursor:pointer;font-size:var(--fs-3)}
.nc .rw-rep-scroll{max-height:280px;overflow:auto;margin-top:var(--s2)}
/* CUSTOMERS › REWARDS › SETTINGS */
.nc .rw-set-sub{margin:calc(-1 * var(--s2)) 0 var(--s4);color:var(--dim)}
.nc .rw-set{display:grid;grid-template-columns:11rem minmax(0,1fr);gap:var(--s5);align-items:start}
.nc .rw-set-rail{display:flex;flex-direction:column;gap:2px;padding:var(--s2)}
.nc .rw-set-rail a{display:flex;align-items:center;min-height:36px;padding:0 var(--s3);border-radius:10px;color:var(--ink-2);text-decoration:none}
@media (hover:hover) and (pointer:fine){.nc .rw-set-rail a:hover{background:var(--well);color:var(--ink)}}
@media (max-width:760px){.nc .rw-set{grid-template-columns:minmax(0,1fr)}.nc .rw-set-rail{display:none}}
.nc .rw-set-foot{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s3);margin-top:var(--s4)}
.nc .rw-set-foot p{margin:0 auto 0 0}
/* Settings' keys (plan tn-rewards-screens step 3): the card's head holds its button at the right; each key's actions sit at the
   row's right in one line and wrap below its words on a phone, so a key with three buttons moves no other row's words. */
.nc .rw-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s3)}
.nc .rw-card-head h2{margin:0 auto 0 0}
.nc .rw-well{margin-top:var(--s3);padding:var(--s4);border-radius:12px;background:var(--well)}
.nc .rw-well>p{margin:0 0 var(--s2)}
.nc .rw-keys>li{align-items:flex-start}
.nc .rw-keys .rowwhat{flex:1 1 16rem;min-width:0}
.nc .rw-key-acts{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--s2)}
.nc .rw-key-acts form{margin:0}
.nc .rw-gone .rowwhat{color:var(--dim)}
.nc .rw-keyval{width:100%;font-family:var(--mono);font-size:var(--fs-3)}
/* CUSTOMERS › REWARDS › DESIGN. The controls on the left and the preview on the right; the preview holds its room (its stage has
   a floor per part) so choosing a look or a shopper moves nothing around it. The shop page drawn inside it is a light page of
   its own: a colour a shop chooses rides in an SVG fill (src/rewards/parts/shared.ts), never a style attribute. */
.nc .rw-design{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,28rem);gap:var(--s5);align-items:start}
.nc .rw-design-main,.nc .rw-design-rail{min-width:0}
.nc .rw-design-rail{position:sticky;top:var(--s4)}
.nc .rw-design-main>.card+.card,.nc .rw-design-main>.card+.ncfoot{margin-top:var(--s4)}
.nc .rw-design-main .field{max-width:none}
.nc .rw-design-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:0 var(--s4)}
.nc .rw-design-reach{display:flex;flex-wrap:wrap;gap:var(--s1);margin:var(--s1) 0 0}
.nc .rw-design-seen{display:flex;align-items:flex-start;gap:var(--s3);padding:var(--s2) 0}
.nc .rw-design-seen .hint{margin:0}
.nc .rw-design-order{margin:0;padding:0;list-style:none}
.nc .rw-design-order>li{display:flex;align-items:center;gap:var(--s2);padding:var(--s2) 0}
.nc .rw-design-order>li>span:nth-of-type(2){flex:1;min-width:0}
.nc .rw-design-savebar{align-items:center}
.nc .rw-design-unit{display:flex;align-items:center;gap:var(--s1)}
.nc .rw-design-unit input{width:6rem}
.nc .rw-design-pv-seg{display:flex;flex-wrap:wrap;gap:var(--s1);margin:0 0 var(--s3)}
.nc .rw-design-pv-seg .btn[aria-pressed=true]{background:var(--ink);color:var(--card)}
.nc .rw-design-pv-opts{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--s3)}
.nc .rw-design-pv-opts .field{margin:0 0 var(--s3)}
.nc .rw-design-pv-window{margin:var(--s2) auto var(--s3)}
.nc .rw-design-pv-window-phone{max-width:390px}
.nc .rw-design-pv-browser{--pv-ink:var(--pv-1b1b1b);--pv-mute:var(--pv-666);--pv-line:var(--pv-dcdcdc);--pv-theme:var(--pv-8a8a8a);--pv-card:var(--pv-f3f3f3);overflow:hidden;border-radius:12px;
  background:var(--pv-fff);color:var(--pv-ink);box-shadow:inset 0 0 0 1px var(--line)}
.nc .rw-design-pv-chrome{display:flex;align-items:center;gap:6px;padding:8px 12px;background:var(--pv-f1f1f1);color:var(--pv-mute);font-size:12px}
.nc .rw-design-pv-chrome i{width:9px;height:9px;border-radius:999px;background:var(--pv-d0d0d0)}
.nc .rw-design-pv-chrome span{margin-left:var(--s2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nc .rw-design-pv-hdr{display:flex;justify-content:space-between;gap:var(--s3);padding:12px 16px;border-bottom:1px solid var(--pv-line);font-size:13px}
.nc .rw-design-pv-logo{letter-spacing:.12em;text-transform:uppercase}
.nc .rw-design-pv-stage{padding:20px}
.nc .rw-design-pv-stage-product{min-height:22rem}
.nc .rw-design-pv-stage-panel{min-height:34rem}
.nc .rw-design-pv-stage-account{min-height:40rem}
.nc .rw-design-pv{--pv-r:2px;--pv-pad:20px;position:relative;font-size:14px;line-height:1.45;color:var(--pv-ink)}
.nc .rw-design-pv-s-small{font-size:13px}
.nc .rw-design-pv-s-large{font-size:15.5px}
.nc .rw-design-pv-d-compact{--pv-pad:12px}
.nc .rw-design-pv-f-system{font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.nc .rw-design-pv-f-serif{font-family:Georgia,"Times New Roman",serif}
.nc .rw-design-pv-f-mono{font-family:ui-monospace,Menlo,monospace}
.nc .rw-design-pv-r0{--pv-r:0px}
.nc .rw-design-pv-r1{--pv-r:1px}
.nc .rw-design-pv-r2{--pv-r:2px}
.nc .rw-design-pv-r3{--pv-r:3px}
.nc .rw-design-pv-r4{--pv-r:4px}
.nc .rw-design-pv-r5{--pv-r:5px}
.nc .rw-design-pv-r6{--pv-r:6px}
.nc .rw-design-pv-r7{--pv-r:7px}
.nc .rw-design-pv-r8{--pv-r:8px}
.nc .rw-design-pv-r9{--pv-r:9px}
.nc .rw-design-pv-r10{--pv-r:10px}
.nc .rw-design-pv-r11{--pv-r:11px}
.nc .rw-design-pv-r12{--pv-r:12px}
.nc .rw-design-pv-r13{--pv-r:13px}
.nc .rw-design-pv-r14{--pv-r:14px}
.nc .rw-design-pv-r15{--pv-r:15px}
.nc .rw-design-pv-r16{--pv-r:16px}
.nc .rw-design-pv-r17{--pv-r:17px}
.nc .rw-design-pv-r18{--pv-r:18px}
.nc .rw-design-pv-r19{--pv-r:19px}
.nc .rw-design-pv-r20{--pv-r:20px}
.nc .rw-design-pv-r21{--pv-r:21px}
.nc .rw-design-pv-r22{--pv-r:22px}
.nc .rw-design-pv-r23{--pv-r:23px}
.nc .rw-design-pv-r24{--pv-r:24px}
.nc .rw-design-pv h4,.nc .rw-design-pv h5{margin:0 0 6px;font-weight:600}
.nc .rw-design-pv h5{font-size:1.05em}
.nc .rw-design-pv p{margin:0}
.nc .rw-design-pv-fill{position:absolute;inset:0;z-index:-1;width:100%;height:100%;border-radius:inherit;pointer-events:none}
.nc .rw-design-pv-ink-dark{color:var(--pv-05101d)}
.nc .rw-design-pv-ink-light{color:var(--pv-fff)}
.nc .rw-design-pv-mute{color:var(--pv-mute);font-size:.9em}
.nc .rw-design-pv-warn{margin-top:6px;color:var(--pv-8a5a00)}
.nc .rw-design-pv-link{color:inherit;text-decoration:underline;text-underline-offset:3px;pointer-events:none}
.nc .rw-design-pv-theme{fill:var(--pv-theme)}
.nc .rw-design-pv-track{fill:var(--pv-e6e6e6)}
.nc .rw-design-pv-bar{display:block;width:3rem;height:3px;margin-top:6px;border-radius:2px}
.nc .rw-design-pv-balance{font-size:2.4em;line-height:1}
.nc .rw-design-pv-balance span{font-size:.45em}
.nc .rw-design-pv-product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:16px}
.nc .rw-design-pv-pic{aspect-ratio:1;border-radius:8px;background:var(--pv-efefef)}
.nc .rw-design-pv-price{margin:0 0 14px;font-size:1.15em}
.nc .rw-design-pv-add{display:flex;align-items:center;justify-content:center;min-height:40px;margin-top:16px;border-radius:var(--pv-r);background:var(--pv-1b1b1b);color:var(--pv-fff)}
.nc .rw-design-pv-line{position:relative;isolation:isolate;display:flex;flex-direction:column;gap:4px;padding:8px 12px;border-radius:var(--pv-r)}
.nc .rw-design-pv-line-boxed{box-shadow:inset 0 0 0 1px var(--pv-line)}
.nc .rw-design-pv-line-plain{padding-inline:0}
.nc .rw-design-pv-d-compact .rw-design-pv-line{padding-block:6px}
.nc .rw-design-pv-row{display:flex;align-items:center;gap:8px}
.nc .rw-design-pv-panel{position:relative;isolation:isolate;max-width:520px;margin-inline:auto;border-radius:var(--pv-r)}
.nc .rw-design-pv-panel-card,.nc .rw-design-pv-panel-bold{box-shadow:inset 0 0 0 1px var(--pv-line)}
.nc .rw-design-pv-panel-bold{overflow:hidden}
.nc .rw-design-pv-panel-card .rw-design-pv-body,.nc .rw-design-pv-panel-bold .rw-design-pv-body{padding:var(--pv-pad)}
.nc .rw-design-pv-band{position:relative;isolation:isolate;padding:14px 20px}
.nc .rw-design-pv-band h5{margin:0}
.nc .rw-design-pv-block{margin-top:16px}
.nc .rw-design-pv-rewards{margin:0;padding:0;list-style:none}
.nc .rw-design-pv-rewards li{display:flex;flex-direction:column;padding:10px;border-radius:var(--pv-r);box-shadow:inset 0 0 0 1px var(--pv-line)}
.nc .rw-design-pv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:8px}
.nc .rw-design-pv-list li+li{margin-top:6px}
.nc .rw-design-pv-way{display:flex;justify-content:space-between;gap:12px;padding:4px 0}
.nc .rw-design-pv-foot{display:flex;gap:12px;margin-top:16px}
.nc .rw-design-pv-end{margin-left:auto}
.nc .rw-design-pv-code{margin-top:12px;padding:10px;border-radius:var(--pv-r);box-shadow:inset 0 0 0 1px var(--pv-line)}
.nc .rw-design-pv-codeline{margin:4px 0;font-family:ui-monospace,Menlo,monospace;letter-spacing:.04em}
.nc .rw-design-pv-spend{display:grid;gap:6px;justify-items:start;margin-bottom:8px;padding:10px;border-radius:var(--pv-cr);box-shadow:inset 0 0 0 1px var(--pv-line)}
.nc .rw-design-pv-label{font-weight:600;font-size:.9em}
.nc .rw-design-pv-field{box-sizing:border-box;inline-size:min(100%,240px);min-height:34px;padding:6px 10px;border-radius:var(--pv-cr);box-shadow:inset 0 0 0 1px var(--pv-line);font-variant-numeric:tabular-nums}
.nc .rw-design-pv-account{--pv-cr:4px}
.nc .rw-design-pv-w-base{max-width:560px;margin-inline:auto}
.nc .rw-design-pv-c-none{--pv-cr:0px}
.nc .rw-design-pv-c-small{--pv-cr:2px}
.nc .rw-design-pv-c-large{--pv-cr:10px}
.nc .rw-design-pv-card{margin-top:12px;padding:16px;border-radius:var(--pv-cr)}
.nc .rw-design-pv-card-outlined{box-shadow:inset 0 0 0 1px var(--pv-line)}
.nc .rw-design-pv-card-shaded{background:var(--pv-card)}
.nc .rw-design-pv-card-plain{padding-inline:0}
.nc .rw-design-pv-card .rw-design-pv-rewards li{border-radius:var(--pv-cr)}
.nc .rw-design-pv-btn{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border-radius:var(--pv-cr);background:var(--pv-1b1b1b);color:var(--pv-fff);font-size:.9em}
.nc .rw-design-pv-btn-secondary{background:transparent;color:var(--pv-ink);box-shadow:inset 0 0 0 1px var(--pv-ink)}
.nc .rw-design-pv-off{opacity:.45}
.nc .rw-design-pv-prog{display:block;width:100%;height:6px;margin-top:6px;border-radius:3px}
@media (max-width:900px){
  .nc .rw-design{grid-template-columns:minmax(0,1fr)}
  .nc .rw-design-rail{order:-1;position:static}
}
/* CUSTOMERS › REWARDS › PROGRAMME (src/dashboard/pages/rewards-programme.ts): the help lines kept from the app, a box's unit,
   the wells under a group, the rewards as tiles whose parts line up across a row (card-grid-alignment), the shopper's card
   and the tally the made-up shopper's balance sits on. The tally is the night counter's object for Rewards, as the stacked
   plates are for Bundles: one stick, a cut where each reward unlocks. */
.nc .rw-programme-help{margin:0 0 var(--s3);max-width:62ch;color:var(--dim);font-size:var(--fs-3);text-wrap:pretty}
.nc .rw-programme-who{margin:0 0 var(--s4);max-width:72ch;color:var(--dim);font-size:var(--fs-2);text-wrap:pretty}
.nc .rw-programme-dim{margin:0;color:var(--dim);font-size:var(--fs-2)}
.nc .rw-programme-unit{flex:none;color:var(--dim);font-size:var(--fs-3)}
.nc .rw-programme-narrow{max-width:18rem}
.nc .rw-programme-well{margin:var(--s3) 0}
.nc .rw-programme-well>p{margin:0;font-size:var(--fs-3)}
.nc .rw-programme-well>p+p,.nc .rw-programme-well>p+ul{margin-top:var(--s1)}
.nc .rw-programme-sees{margin:var(--s3) 0 0;font-size:var(--fs-3)}
.nc .rw-programme-more{margin-top:var(--s3)}
.nc .rw-programme-more>summary{font-size:var(--fs-3)}
.nc .rw-programme-more>ul,.nc .rw-programme-more>p{margin-top:var(--s2)}
.nc .rw-programme-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));gap:var(--s3);margin:0 0 var(--s3)}
.nc .rw-programme-tile{display:flex;flex-direction:column;gap:var(--s1);min-width:0;padding:var(--s3) var(--s4);border-radius:14px;
  background:var(--well);box-shadow:inset 0 0 0 1px var(--line-2)}
.nc .rw-programme-value{margin:0;font-size:20px;font-weight:600;line-height:1.15;letter-spacing:-.02em;overflow-wrap:anywhere}
.nc .rw-programme-warn{margin:0;color:var(--warn);font-size:var(--fs-2)}
.nc .rw-programme-acts{display:flex;flex-wrap:wrap;gap:var(--s2);margin-top:var(--s2)}
.nc .rw-programme-add{display:grid;place-items:center;min-height:7.5rem;border-radius:14px;box-shadow:inset 0 0 0 1.5px var(--dash);
  color:var(--ink-2);font-weight:500;text-decoration:none}
.nc .rw-programme-add:hover{color:var(--ink)}
.nc .rw-programme-add:focus-visible{outline:2px solid var(--link);outline-offset:2px}
@supports (grid-template-rows:subgrid){
  .nc .rw-programme-tiles{row-gap:0}
  .nc .rw-programme-tile{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:var(--s1);align-content:start;margin-bottom:var(--s3)}
  .nc .rw-programme-add{grid-row:span 4;margin-bottom:var(--s3)}
  .nc .rw-programme-acts{align-self:end}
}
.nc .rw-programme-shopcard{padding:var(--s4)}
.nc .rw-programme-shop{display:flex;align-items:center;gap:var(--s2);margin:0;font-weight:600}
.nc .rw-programme-balance{margin:var(--s4) 0 0;font-size:36px;font-weight:600;line-height:1.05;letter-spacing:-.03em;
  font-variant-numeric:tabular-nums}
.nc .rw-programme-next{display:flex;justify-content:space-between;gap:var(--s2);margin:var(--s3) 0 0;color:var(--dim);
  font-size:var(--fs-2);font-variant-numeric:tabular-nums}
.nc .rw-programme-bar{display:block;width:100%;height:4px;margin-top:var(--s1)}
.nc .rw-programme-track{fill:var(--line)}
.nc .rw-programme-run{fill:var(--accent)}
.nc .rw-programme-chips{display:flex;flex-wrap:wrap;gap:var(--s1);margin:var(--s1) 0 0}
.nc .rw-programme-tally{margin-top:var(--s2)}
.nc .rw-programme-tally svg{display:block;width:100%;height:auto;overflow:visible}
.nc .rw-programme-stick{fill:color-mix(in srgb,var(--link) 9%,transparent);stroke:color-mix(in srgb,var(--link) 40%,transparent)}
.nc .rw-programme-fill{fill:color-mix(in srgb,var(--link) 28%,transparent)}
.nc .rw-programme-notch{stroke:color-mix(in srgb,var(--ink) 30%,transparent);stroke-width:1}
.nc .rw-programme-cut{stroke:var(--link);stroke-width:1.5}
.nc .rw-programme-dot{fill:var(--link)}
.nc .rw-programme-lab{fill:var(--ink);font:500 12px var(--sans)}
.nc .rw-programme-sub{fill:var(--dim);font:400 11px var(--sans)}
.nc .rw-programme-you{fill:var(--link);stroke:var(--card);stroke-width:2}
.nc .rw-programme-sheet{max-width:40rem}
/* CUSTOMERS › REWARDS › SET UP (src/dashboard/pages/rewards-setup.ts): the four steps across the head, the kinds of shop as
   tiles whose parts line up (the Programme's tiles, the chosen one ringed), the cost in the attention colour, the launch
   as numbered rows, and the two last cards side by side. */
.nc .rw-setup-steps{display:flex;flex-wrap:wrap;gap:var(--s2);margin:0 0 var(--s4);padding:0;list-style:none;color:var(--dim);font-size:var(--fs-3)}
.nc .rw-setup-steps strong{color:var(--ink-2);font-weight:500}
.nc .rw-setup-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,17rem),1fr));gap:var(--s3);margin-top:var(--s3)}
@supports (grid-template-rows:subgrid){.nc .rw-setup-tiles{row-gap:0}}
.nc .rw-setup-on{box-shadow:inset 0 0 0 2px var(--link)}
.nc.rw li>strong{display:inline}
.nc .rw-setup-title{margin:0;font-weight:600}
.nc .rw-setup-gap{margin-top:0}
.nc .rw-setup-cost{color:var(--warn)}
.nc .rw-setup-list{margin-top:var(--s3)}
.nc .rw-setup-done{margin:var(--s2) 0 0;color:var(--ok);font-size:var(--fs-3)}
.nc .rw-setup-email{margin:var(--s2) 0 0;white-space:pre-wrap;font-family:var(--mono);font-size:var(--fs-2)}
.nc .rw-setup-launch{margin:0;padding:0;list-style:none}
.nc .rw-setup-launch>li{display:flex;align-items:flex-start;gap:var(--s3);padding:var(--s3) 0;border-top:1px solid var(--line-2)}
.nc .rw-setup-launch>li:first-child{padding-top:0;border-top:0}
.nc .rw-setup-launch p,.nc .rw-setup-launch ol{margin:var(--s2) 0 0}
.nc .rw-setup-n{flex:none;min-width:28px;text-align:center}
.nc .rw-setup-head{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s2)}
.nc .rw-setup-launch .rw-setup-head{margin:0}
.nc .rw-setup-wells{gap:var(--s3)}
.nc .rw-setup-wells>.well{margin:0}
.nc .rw-setup-pair{gap:var(--s4);align-items:start}
.nc .rw-setup-pair>.card{margin:0}
@media (max-width:45rem){.nc :is(.rw-setup-wells,.rw-setup-pair){grid-template-columns:minmax(0,1fr)}}
/* THE STACKED LAYERS (src/dashboard/stacked-layers.ts). The page policy refuses a style attribute, so the room between
   plates is set here by the number of steps (data-rows, the drawing's rowHeight), and the names stand level with their
   plates because the drawing and the names read the same --rh and the same scale --k. */
.nc .layers{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;margin:var(--s3) 0 var(--s4);--k:1;
  --rh:92px}
.nc .layers[data-rows="4"]{--rh:78px}
.nc .layers[data-rows="5"]{--rh:64px}
.nc .layers[data-rows="6"]{--rh:50px}
.nc .layers[data-rows="7"],.nc .layers[data-rows="8"]{--rh:46px}
.nc .layers svg{grid-column:2;grid-row:1;display:block;width:calc(236px * var(--k));height:auto;overflow:visible}
.nc .layernames{grid-column:1;grid-row:1;min-width:0;margin:0;padding:calc((56px - var(--rh) / 2) * var(--k)) 0 0;
  list-style:none}
.nc .layernames>li{position:relative;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;
  height:calc(var(--rh) * var(--k));min-width:0;padding-right:34px;line-height:1.3;text-align:right}
.nc .layernames strong{max-width:100%;overflow:hidden;font-size:var(--fs-4);font-weight:500;text-overflow:ellipsis;
  white-space:nowrap}
.nc .layernames span{color:var(--dim);font-size:var(--fs-2)}
.nc .layernames>li::after{content:"";position:absolute;top:50%;right:0;width:26px;height:1px;
  background:color-mix(in srgb,var(--link) 55%,transparent)}
.nc .layernames>li::before{content:"";position:absolute;top:calc(50% - 2px);right:-2px;width:5px;height:5px;
  border-radius:50%;background:var(--link)}
.nc .pl-top{fill:var(--accent-soft);stroke:var(--lit-line);stroke-width:1}
.nc .pl-l{fill:color-mix(in srgb,var(--accent) 40%,transparent)}
.nc .pl-r{fill:color-mix(in srgb,var(--accent) 24%,transparent)}
.nc .cu{fill:var(--link)}
.nc .cu-l{fill:color-mix(in srgb,var(--link) 62%,var(--bg))}
.nc .cu-r{fill:color-mix(in srgb,var(--link) 80%,var(--bg))}
.nc .cu-off{fill:none;stroke:var(--dash);stroke-width:1;stroke-dasharray:3 3}
/* The manual: one card a part, at reading width. */
.nc .manual{max-width:44rem}
.nc .manual p,.nc .manual li{max-width:65ch}
.nc .manual ul{margin:0 0 var(--s3);padding-left:1.2em}
@media (max-width:45rem){
  .nc .pagehead h1{font-size:32px}
  .nc .card{padding:var(--s4)}
  .nc :is(input,select,textarea){font-size:16px}
  .nc .layers{--k:.76}
  .nc .layernames>li{padding-right:22px}
  .nc .layernames>li::after{width:16px}
}
/* THE BUNDLE EDITOR (the Bundles port's plan, round 2, 2.3 and 2.4): the settings on the left, the shop page and the lit
   card on the right (src/dashboard/pages/bundle-editor.ts). The lit card stays in view while the settings scroll; under
   1100px it follows the settings. The parts are <details>, opening in place: one never closes another, so the part pressed
   and everything above it stand still, and nothing moves on the right (steady-layout). A choice that switches a box off
   (the number of sets, which items a made picture takes) hides it and keeps its room. */
.nc .edsplit{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,380px);gap:var(--s5);align-items:start}
.nc .edside{align-self:stretch}
.nc .edside>.edcharges{position:sticky;top:calc(var(--head-h) + var(--s4))}
@media (max-width:1100px){.nc .edsplit{grid-template-columns:minmax(0,1fr)}.nc .edside>.edcharges{position:static}}
.nc .edoffer>p{margin:0 0 var(--s2);max-width:38rem}
.nc .edoffer h3{margin:var(--s4) 0 var(--s2);font-size:var(--fs-3);font-weight:600}
.nc .edsummary{margin:0;padding-left:1.1em;color:var(--ink-2);font-size:var(--fs-3)}
.nc .edparts{padding-top:var(--s2);padding-bottom:var(--s2)}
.nc .edpart+.edpart{border-top:1px solid var(--line-2)}
main .nc details.edpart>summary{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);width:100%;min-height:48px;
  cursor:pointer;color:var(--ink);font-size:var(--fs-4);list-style:none;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
main .nc details.edpart>summary::before{content:none}
.nc .edpart>summary::-webkit-details-marker{display:none}
.nc .edpart>summary h2{flex:1;margin:0;text-align:left}
.nc .edpart>summary:focus-visible{outline:2px solid var(--link);outline-offset:2px;border-radius:8px}
.nc .edsign{position:relative;flex:none;width:12px;height:12px}
.nc .edsign::before,.nc .edsign::after{content:"";position:absolute;left:0;top:5px;width:12px;height:2px;border-radius:1px;background:var(--dim);
  transition:transform .2s cubic-bezier(.23,1,.32,1)}
.nc .edsign::after{transform:rotate(90deg)}
.nc .edpart[open] .edsign::after{transform:rotate(0)}
@media (prefers-reduced-motion:reduce){.nc .edsign::before,.nc .edsign::after{transition:none}}
.nc .edbody{padding:var(--s2) 0 var(--s4)}
.nc .edbody .field,.nc .edbody .pair{max-width:none}
.nc .edstep{margin:var(--s4) 0 0;padding:var(--s4) 0 0;border-top:1px solid var(--line-2)}
.nc .edstep>h3{margin:0 0 var(--s3);font-size:var(--fs-4);font-weight:600}
.nc .edgroup{margin:var(--s3) 0 var(--s2);padding:0;color:var(--dim);font-size:var(--fs-2);font-weight:500}
.nc :is(.edrow2,.edrow3,.edrow4){display:grid;gap:0 var(--s3)}
.nc .edrow2{grid-template-columns:repeat(2,minmax(0,1fr))}
.nc .edrow3{grid-template-columns:repeat(3,minmax(0,1fr))}
.nc .edrow4{grid-template-columns:repeat(4,minmax(0,1fr))}
/* A bundle's Appearance part (round 4, 4.2): two choices, the accent, Customise, the detailed settings, then the preview of the
   builder in a frame of one height, so a redraw swaps two frames and nothing below moves. */
.nc .edlook{display:grid;gap:var(--s3)}
.nc .edlook .field{margin:0 0 var(--s3)}
/* Side by side, a two-line label lifts its own label, never its box: every row's boxes stand on one line. */
.nc .edlook :is(.edrow2,.edrow3){align-items:end}
.nc .edlook .edaccent{max-width:16.25rem}
.nc .edlook>.btn{justify-self:start}
.nc .edlook-more{display:grid;gap:var(--s1)}
.nc .edlook-more[hidden]{display:none}
.nc .edlook h3{margin:var(--s3) 0 var(--s1);font-size:var(--fs-4);font-weight:600}
.nc .edlook-css{width:100%;min-height:9rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:var(--fs-3)}
.nc .edlook-frame{display:grid;height:clamp(26rem,calc(100dvh - 16rem),38rem);background:var(--well)}
.nc .edlook-first{margin:0;color:var(--dim)}
.nc .check{display:flex;align-items:center;gap:var(--s2);min-height:32px;margin:0 0 var(--s2);font-size:var(--fs-3)}
.nc .edchecks{margin:0 0 var(--s3)}
.nc .edfield{margin:0 0 var(--s4);padding:0;border:0;min-width:0}
.nc .edfield .choices{display:flex;flex-direction:column;gap:var(--s2)}
.nc .edfield .choices>label{display:flex;align-items:center;gap:var(--s2);min-height:28px;font-size:var(--fs-3)}
/* A part a choice switches is always drawn, in the room it takes whichever choice is made; until its choice is made the
   script (data-when, screen-script.ts) makes it inert and it is dimmed. Without the script it is simply shown and usable. */
.nc [data-when][inert]{opacity:.5}
.nc [data-when][inert] [data-when][inert]{opacity:1}
/* A step's products: a collection with its count, or a tag, and the button that switches; the button sits on the box's line. */
.nc .edsource{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 var(--s3);align-items:start}
.nc .edsource>.btn{margin-top:calc(var(--fs-3) * 1.5 + var(--s1))}
/* Other discounts on your shop: one line a discount, its pill beside its name; inactive ones folded under one line. */
.nc .edothers{display:flex;flex-direction:column;gap:var(--s3);margin:0 0 var(--s3);padding:0;list-style:none}
.nc .edothers p{margin:0}
.nc .edother{display:flex;align-items:center;gap:var(--s2);flex-wrap:wrap}
.nc .edinactive>summary{cursor:pointer;margin:0 0 var(--s3);color:var(--link);font-size:var(--fs-3)}
.nc .edinactive[open] .edshow,.nc .edinactive:not([open]) .edhide{display:none}
/* A product set's products: a list of fixed height that scrolls, so narrowing it moves nothing around it. */
.nc .setpick{height:min(28rem,60dvh);margin:0;padding:var(--s2) var(--s3);overflow:auto;overscroll-behavior:contain;list-style:none;
  border-radius:12px;background:var(--well);box-shadow:inset 0 0 0 1px var(--line-2)}
.nc .setpick>li[hidden]{display:none}
/* The languages a bundle's wording is written in: one row each, its Remove at the row's end. */
.nc .edlangs{display:flex;flex-direction:column;gap:var(--s2);margin:0 0 var(--s3);padding:0;list-style:none}
.nc .edlangs>li{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);min-height:36px;font-size:var(--fs-3)}
/* A box to copy from: the box, and Copy beside it once the script can copy (the box stays selectable without it). */
.nc .edcopy{display:flex;align-items:center;gap:var(--s2);min-width:0}
.nc .edcopy>input{flex:1;min-width:0}
.nc .edcopy>[data-copy][hidden]{display:none}
@media (max-width:640px){.nc .edsource{grid-template-columns:minmax(0,1fr)}.nc .edsource>.btn{margin:0 0 var(--s3);justify-self:start}}
.nc .edgift{display:grid;grid-template-columns:minmax(0,1fr) 6.5rem auto;gap:0 var(--s3);align-items:end;margin:0 0 var(--s3)}
.nc .edgift .field{margin:0}
.nc .edpic{display:grid;grid-template-columns:96px minmax(0,1fr);gap:var(--s4);align-items:start}
.nc .edthumb{display:grid;place-items:center;width:96px;height:96px;border-radius:12px;background:var(--well);
  box-shadow:inset 0 0 0 1px var(--line-2);overflow:hidden;text-align:center}
.nc .edthumb img{display:block;width:96px;height:96px;object-fit:cover}
.nc .edpicfields{min-width:0}
/* Remove picture keeps its room with no picture to remove, so the buttons wrap alike with a picture or without. */
.nc .edpicfields .btn[hidden]{display:inline-flex;visibility:hidden}
.nc .edbulk{margin:0 0 var(--s3)}
.nc .edshop{margin:0 0 var(--s5)}
.nc .edshopbar{display:flex;align-items:center;height:30px;padding:0 var(--s3);background:var(--well);color:var(--dim);font-size:var(--fs-2);
  border-bottom:1px solid var(--line-2)}
.nc .edshopbar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nc .edshoppage{padding:var(--s4)}
.nc .edshoptitle{margin:0;font-size:var(--fs-5);font-weight:600;letter-spacing:-.01em}
.nc .edshoppage>.label{margin:2px 0 0}
.nc .edshopsteps{display:flex;flex-direction:column;gap:var(--s3);margin:var(--s3) 0 0;padding:0;list-style:none}
.nc .edshopstep{display:flex;justify-content:space-between;gap:var(--s2);margin:0 0 var(--s1);font-size:var(--fs-3)}
.nc .edshopstep span{color:var(--dim)}
.nc .edshopitems{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s1);margin:0;padding:0;list-style:none}
.nc .edshopitems>li{display:flex;flex-direction:column;min-width:0;padding:var(--s2);border-radius:10px;background:var(--well);font-size:var(--fs-2)}
.nc .edshopitems>li>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nc .edshopitems>li>span+span{color:var(--dim)}
.nc .edshopitems>li.off{background:none;box-shadow:inset 0 0 0 1px var(--dash)}
.nc .edshopitems>li.edshopempty{grid-column:1/-1;background:none;box-shadow:inset 0 0 0 1px var(--dash)}
.nc .edcart{display:flex;flex-direction:column;gap:var(--s2)}
.nc .edcartline{display:grid;grid-template-columns:minmax(0,1fr) 4.25rem 4.5rem;gap:var(--s2);align-items:center}
.nc .edcartline select{min-width:0;width:100%}
.nc .edcartamt{text-align:right;font-variant-numeric:tabular-nums;font-size:var(--fs-3)}
.nc .edgiftline{display:flex;justify-content:space-between;gap:var(--s2);margin:var(--s3) 0 0;font-size:var(--fs-3)}
.nc .edpays{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--s3);margin:var(--s4) 0 0;padding:var(--s4) 0 0;
  border-top:1px solid var(--line-2)}
.nc .edpays>p{margin:0}
.nc .edpays .label{display:block}
.nc .edpays .figure{margin:0}
.nc .edverdict{display:flex;align-items:flex-start;gap:var(--s2);margin:var(--s3) 0 0;font-size:var(--fs-3)}
.nc .edverdict>.pill{flex:none}
.nc .edcartline.edcartpair{grid-template-columns:minmax(0,1fr) 4.25rem}
.nc .edreceipt{display:flex;flex-direction:column;gap:var(--s3);margin:var(--s4) 0 0;padding:0;list-style:none}
.nc .edreceipt p{margin:0}
.nc .edreceipt .edgiftline{margin:0}
.nc .edreceipt .edgiftline>span:last-child{flex:none;font-variant-numeric:tabular-nums}
.nc .edfigs{display:flex;flex-wrap:wrap;gap:0 var(--s3);margin:2px 0 0;color:var(--dim);font-size:var(--fs-2)}
.nc .edfigs>div{display:flex;gap:4px}
.nc .edfigs dd{margin:0;font-variant-numeric:tabular-nums}
.nc .edsplitline{margin:var(--s2) 0 0}
.nc .edwhy{margin:var(--s3) 0 0;font-size:var(--fs-3)}
.nc .edwhy p{margin:0}
.nc .edmissing{margin:var(--s3) 0 0}
.nc .pop .popitem{display:block;width:100%;padding:6px var(--s2);border:0;border-radius:var(--r);background:none;color:var(--ink);
  font:inherit;font-size:var(--fs-3);text-align:left;text-decoration:none;white-space:nowrap;cursor:pointer}
@media (hover:hover) and (pointer:fine){.nc .pop .popitem:hover{background:var(--well)}}
.nc .alert ul{margin:var(--s1) 0 0;padding-left:1.1em}
@media (max-width:45rem){
  .nc :is(.edrow2,.edrow3,.edrow4){grid-template-columns:minmax(0,1fr)}
  .nc .edpic{grid-template-columns:minmax(0,1fr)}
  .nc .edgift{grid-template-columns:minmax(0,1fr) 5.5rem}
  .nc .edgift>.btn{grid-column:1/-1;justify-self:start;margin-top:var(--s2)}
}

/* =========================================================================
   THE LOOK EDITOR (Online store › Customise; item tn-on-talstok, "The shop's own look", L4). A full-screen page with
   no side menu, Shopify's theme editor's shape: a top bar over a rail, the section list, the page as shoppers see it
   and the settings. Mock-up A's widths (docs/design/shop-look/a/editor.css), in the dashboard's own tokens: the top
   bar and the rail in the frame's colours (always dark), the panels in Night or Paper.

   ***** STEADY (steady-layout). ***** Four fixed places. No click, change or selection moves a panel, resizes one or
   scrolls the window: every panel scrolls inside itself, the settings panel holds its width whatever it shows, and the
   picker, the menus, the selection outline and "Saved" are drawn over the page. Only Full screen (its job) and, under
   1000px, the sheets change what is shown. Motion is transform and opacity only, and none under reduced motion.

   ***** ARRANGED BY ONE ATTRIBUTE. ***** The parts (list, theme settings, settings, preview) never say where they sit:
   the root's data-arrangement and the slots below decide. Three panels (a): rail, list, page, settings. Two panels (b):
   one panel whose tabs choose Sections or Theme settings, a chosen item's settings sliding over the list, the chosen
   section's tools on the page. On the page (c): the list, the page, and a lane where the chosen section's card stands
   level with it, or Theme settings from the top bar. Each arrangement's own few things (the rail, the tabs, the tools,
   the top bar's Theme settings, the card's lane and line) are shown here for it alone; the parts are the same three.
   ========================================================================= */
.le-body{margin:0;overflow:hidden;background:var(--f-ground);-webkit-tap-highlight-color:transparent;overscroll-behavior:none}
.le{--le-top:52px;--le-rail:52px;--le-list:288px;--le-set:316px;--le-panel:352px;--le-strip:240px;--le-lane:340px;
  --le-top-l:calc(var(--le-rail) + var(--le-list));--le-ease:cubic-bezier(.23,1,.32,1);--le-drawer:cubic-bezier(.32,.72,0,1);
  position:fixed;inset:0;display:grid;grid-template-rows:var(--le-top) minmax(0,1fr);
  grid-template-columns:var(--le-rail) var(--le-list) minmax(0,1fr) var(--le-set);
  grid-template-areas:"top top top top" "rail start centre end";font-size:var(--fs-3);line-height:1.45;color:var(--ink)}
.le .le-top{grid-area:top}
.le .le-rail{grid-area:rail}
.le .le-slot[data-slot="start"]{grid-area:start}
.le .le-slot[data-slot="centre"]{grid-area:centre}
.le .le-slot[data-slot="end"]{grid-area:end}
/* Two panels: one panel and the page. On the page: the list, the page and the card's lane. Neither has the rail. */
.le[data-arrangement="b"]{--le-top-l:var(--le-panel);grid-template-columns:0 var(--le-panel) minmax(0,1fr) 0}
.le[data-arrangement="c"]{--le-top-l:var(--le-strip);grid-template-columns:0 var(--le-strip) minmax(0,1fr) var(--le-lane)}
.le[data-arrangement="b"] .le-rail,.le[data-arrangement="c"] .le-rail,.le[data-arrangement="b"] .le-slot[data-slot="end"]{display:none}
.le-slot{position:relative;display:flex;flex-direction:column;min-width:0;min-height:0}
.le-slot[data-slot="start"]{border-right:1px solid var(--line-2);background:var(--card)}
.le-slot[data-slot="end"]{border-left:1px solid var(--line-2);background:var(--card)}
.le button{font:inherit;touch-action:manipulation;user-select:none;-webkit-user-select:none}
.le svg{flex:none}
.le :focus-visible{outline:2px solid var(--link);outline-offset:2px}

/* ---- The top bar, in the frame's colours ---- */
.le-top{display:grid;grid-template-columns:var(--le-top-l) minmax(0,1fr) auto;align-items:center;min-width:0;
  background:var(--f-ground);color:var(--f-ink);border-bottom:1px solid var(--le-seam)}
.le-top-l{display:flex;align-items:center;gap:var(--s2);min-width:0;padding-left:6px}
.le-top-m{display:flex;align-items:center;justify-content:center;min-width:0}
.le-top-r{display:flex;align-items:center;gap:var(--s2);padding-right:var(--s3)}
.le .le-icon{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:var(--r);background:transparent;
  box-shadow:none;color:var(--f-ink-lit);text-decoration:none;transition:transform 140ms var(--le-ease)}
.le .le-icon svg{width:18px;height:18px}
.le .le-icon:active{transform:scale(.96);background:transparent}
.le .le-icon[aria-disabled="true"]{color:var(--le-ink-off);cursor:default}
.le .le-icon[aria-disabled="true"]:active{transform:none}
.le-sep{width:1px;height:18px;background:var(--le-rim)}
.le-shop{display:flex;align-items:center;gap:var(--s2);min-width:0;font-weight:500;white-space:nowrap;color:var(--f-ink)}
.le-shop-nm{overflow:hidden;text-overflow:ellipsis}
.le-av{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:999px;background:var(--f-lamp);color:var(--f-bright);font-size:10.5px;
  font-weight:600;box-shadow:inset 0 0 0 1px var(--f-lamp-rim)}
.le-pill{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;font-size:var(--fs-1);font-weight:500;
  line-height:1;white-space:nowrap}
.le-pill-live{background:var(--le-live-soft);color:var(--le-live)}
.le-pill-all{background:var(--line-2);color:var(--dim);box-shadow:inset 0 0 0 1px var(--line)}
.le-pill-this{background:var(--accent-soft);color:var(--link);box-shadow:inset 0 0 0 1px var(--link)}
.le-device{display:flex;gap:2px;padding:3px;border-radius:10px;background:var(--f-raise);box-shadow:inset 0 0 0 1px var(--le-seam)}
.le .le-device button{display:grid;place-items:center;width:36px;height:30px;padding:0;border:0;border-radius:7px;background:transparent;
  box-shadow:none;color:var(--f-ink-2)}
.le .le-device button svg{width:16px;height:16px}
.le .le-device button[aria-pressed="true"]{background:var(--f-plate);color:var(--f-ink);box-shadow:0 0 0 1px var(--le-rim)}
.le .le-save{min-width:64px}
.le .le-save[aria-disabled="true"]{background:var(--le-fill-off);color:var(--f-ink-2);box-shadow:none;cursor:default}
/* The page picker in the middle of the top bar: Shopify's template dropdown (Article, Blog). */
/* It narrows with its column, the page's name cut short, and never spills over the buttons beside it (a phone's top bar). */
.le-tpl{position:relative;min-width:0;max-width:100%}
.le .le-tpl-btn{display:flex;align-items:center;gap:8px;max-width:100%;min-width:0;height:34px;padding:0 10px 0 12px;border:0;border-radius:var(--r);
  background:transparent;box-shadow:none;color:var(--f-ink-lit);font-weight:500}
.le .le-tpl-btn svg{flex:none;width:16px;height:16px}
.le .le-tpl-btn #le-tpl-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.le .le-tpl-btn[aria-expanded="true"]{background:var(--f-wash);color:var(--f-ink)}
.le-menu{position:absolute;left:50%;top:40px;z-index:60;min-width:220px;margin:0;padding:6px;list-style:none;border-radius:var(--r2);
  background:var(--f-plate);color:var(--f-ink);box-shadow:0 0 0 1px var(--le-rim),var(--le-shadow-menu);transform:translateX(-50%)}
.le-menu[hidden]{display:none}
.le-opt{display:flex;align-items:center;gap:10px;height:34px;padding:0 10px;border-radius:7px;color:var(--f-ink-lit);cursor:pointer}
.le-opt svg{width:16px;height:16px;color:var(--f-ink-2)}
.le-opt .le-tick{margin-left:auto;color:var(--f-accent-bright);opacity:0}
.le-opt[aria-selected="true"] .le-tick,.le-opt[aria-checked="true"] .le-tick{opacity:1}
.le-opt.le-active,.le-opt:focus{background:var(--f-wash);color:var(--f-bright);outline:none}
.le-opt:focus-visible{box-shadow:inset 0 0 0 2px var(--f-accent-bright)}
/* Editor layout: the person's arrangement, a menu of three under its button at the top bar's right. */
.le-layout{position:relative}
.le-menu.le-menu-end{left:auto;right:0;transform:none;min-width:200px}
/* On the page's way to Theme settings: a button in the top bar (the rail's and the tabs' job in the other two). */
.le .le-theme-btn{display:none}
.le[data-arrangement="c"] .le-theme-btn{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 12px;border:0;border-radius:var(--r);
  background:transparent;box-shadow:inset 0 0 0 1px var(--f-hair-2);color:var(--f-ink-lit);font-weight:500;white-space:nowrap;
  transition:transform 140ms var(--le-ease)}
.le .le-theme-btn svg{width:16px;height:16px}
.le .le-theme-btn:active{transform:scale(.97)}
.le[data-arrangement="c"] .le-theme-btn[aria-pressed="true"]{background:var(--f-wash);color:var(--f-ink);box-shadow:inset 0 0 0 1px var(--le-pressed)}
/* A button one arrangement alone draws in a shared part's head: Back to sections (b), Close (c). */
.le .le-icon.le-only-b,.le .le-icon.le-only-c{display:none}
.le[data-arrangement="b"] .le-icon.le-only-b,.le[data-arrangement="c"] .le-icon.le-only-c{display:grid}
.le .le-slot .le-head .le-icon{width:32px;height:32px;color:var(--ink-2)}
.le .le-head .le-icon.le-only-b{margin-left:-8px}

/* ---- The rail: Sections and Theme settings ---- */
.le-rail{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 0;background:var(--f-ground);border-right:1px solid var(--le-seam)}
.le .le-rail .le-icon[aria-pressed="true"]{background:var(--f-wash);color:var(--f-accent-bright)}

/* ---- A panel: head, a body that scrolls inside itself, a foot ---- */
.le-view{display:flex;flex-direction:column;flex:1;min-height:0}
.le-view[hidden]{display:none}
.le-head{flex:none;display:flex;align-items:center;gap:var(--s2);min-height:52px;padding:var(--s3) var(--s4);border-bottom:1px solid var(--line-2)}
.le-head h1,.le-head h2{margin:0;font-size:var(--fs-4);font-weight:600;letter-spacing:-.005em;line-height:1.3}
.le-head h1:focus,.le-head h2:focus{outline:none}
.le-head svg{width:18px;height:18px;color:var(--link)}
.le-grow{flex:1;min-width:0}
.le-meta{margin:2px 0 0;font-size:var(--fs-2);color:var(--dim)}
.le-scroll{position:relative;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:var(--s2) var(--s3) var(--s5);
  scrollbar-width:thin}
.le-foot{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;height:51px;padding:8px var(--s3) 8px 10px;
  border-top:1px solid var(--line-2)}
.le-foot[hidden]{display:flex;visibility:hidden}
.le-skip{position:absolute;left:8px;top:8px;z-index:20;padding:8px 12px;border-radius:var(--r);background:var(--accent);color:var(--accent-ink);
  font-weight:500;text-decoration:none;opacity:0;pointer-events:none}
.le-skip:focus{opacity:1;pointer-events:auto}
/* Shopify's Preview row: which article fills "This article" in the preview. */
.le-pv{flex:none;display:flex;align-items:center;gap:10px;margin:var(--s2) var(--s3) 0;padding:6px 8px 6px 10px;border-radius:var(--r);
  background:var(--well);box-shadow:inset 0 0 0 1px var(--line-2)}
.le-pv>svg{width:16px;height:16px;color:var(--dim)}
.le-pv-in{position:relative;flex:1;min-width:0}
.le-pv-in label{position:absolute;left:0;top:1px;font-size:var(--fs-1);color:var(--dim);pointer-events:none}
.le .le-pv-in select{width:100%;height:38px;padding:14px 26px 0 0;background-color:transparent;box-shadow:none;font-weight:500}
.le .le-pv-in select:disabled{opacity:1;cursor:default}

/* ---- The section list ---- */
.le-grp{padding:var(--s2) 0 var(--s3);border-bottom:1px solid var(--line-2)}
.le-grp:last-child{border-bottom:0}
.le-grp-h{display:flex;align-items:center;gap:var(--s2);margin:var(--s2) var(--s2) 6px;font-size:var(--fs-2);font-weight:600;color:var(--ink-2)}
.le-rows{list-style:none;margin:0;padding:0}
.le-row{position:relative}
.le-line{position:relative;display:flex;align-items:center;border-radius:var(--r)}
.le-twist-sp{flex:none;width:20px;height:34px}
.le .le-twist{display:grid;place-items:center;flex:none;width:20px;height:34px;padding:0;border:0;border-radius:6px;background:transparent;
  box-shadow:none;color:var(--dim)}
.le .le-twist svg{width:12px;height:12px;transition:transform 160ms var(--le-ease)}
.le .le-twist[aria-expanded="true"] svg{transform:rotate(90deg)}
.le .le-main{flex:1;min-width:0;display:flex;align-items:center;gap:10px;height:34px;padding:0 30px 0 6px;border:0;border-radius:var(--r);
  background:transparent;box-shadow:none;color:var(--ink-2);text-align:left;font-weight:400}
.le-ico{position:relative;display:grid;place-items:center;flex:none;width:16px;height:16px}
.le-ico>svg{width:16px;height:16px;color:var(--faint)}
/* The drag handle takes the icon's place on hover and on focus, as Shopify's does. */
.le-grip{position:absolute;inset:-4px;display:grid;place-items:center;color:var(--ink-2);opacity:0;cursor:grab;touch-action:none}
.le-grip svg{width:16px;height:16px}
.le .le-main:focus-visible .le-ico>svg:first-child{opacity:0}
.le .le-main:focus-visible .le-grip{opacity:1}
.le-nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.le .le-main[aria-current="true"]{background:var(--accent-soft);color:var(--ink);font-weight:500}
.le .le-main[aria-current="true"] .le-ico>svg{color:var(--link)}
.le .le-row[data-hidden] .le-main{color:var(--faint)}
.le .le-row[data-hidden] .le-nm{text-decoration:line-through}
.le .le-row[data-dragging]>.le-line{opacity:.45}
.le .le-eye{position:absolute;right:4px;top:5px;display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;
  background:transparent;box-shadow:none;color:var(--dim);opacity:0;transition:opacity 120ms ease}
.le .le-eye svg{width:15px;height:15px}
.le .le-line:focus-within .le-eye,.le .le-main[aria-current="true"]~.le-eye,.le .le-row[data-hidden] .le-eye,.le .le-eye:focus-visible{opacity:1}
.le-kids{padding-left:22px}
.le-kids[hidden]{display:none}
.le-drop{position:absolute;top:0;left:0;height:2px;border-radius:2px;background:var(--link);pointer-events:none;z-index:5}
.le-drop[hidden]{display:none}
.le .le-add{display:flex;align-items:center;gap:10px;width:100%;height:32px;padding:0 10px 0 26px;border:0;border-radius:var(--r);
  background:transparent;box-shadow:none;color:var(--link);font-weight:500;text-align:left}
.le .le-add svg{width:16px;height:16px}
.le .le-add[aria-expanded="true"]{background:var(--accent-soft)}
.le .le-add-block{padding-left:48px}
.le .le-add[aria-disabled="true"]{color:var(--faint);cursor:default}
/* The bracket around this article's own sections, inside the frame, in the list as on Shopify's. */
.le-slotbox{margin:4px 0 4px 6px;padding:2px 0 4px 10px;border-left:2px solid var(--link)}
.le-slot-h{display:flex;align-items:center;gap:var(--s2);min-height:30px;padding:0 4px 0 6px;color:var(--ink);font-weight:500}
.le .le-slot-h .le-main{padding-right:6px;color:var(--ink);font-weight:500}
.le-slot-name{margin:-4px 0 4px 30px;font-size:var(--fs-2);color:var(--dim);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.le-alert{margin:var(--s2) var(--s2) 0;padding:var(--s2) var(--s3);border-radius:var(--r);background:var(--bad-soft);color:var(--bad);font-size:var(--fs-2)}

/* ---- Theme settings ---- */
.le-acc{border-bottom:1px solid var(--line-2)}
.le-acc>summary{display:flex;align-items:center;justify-content:space-between;height:38px;padding:0 10px;margin:2px 0;border-radius:var(--r);
  list-style:none;font-weight:500;color:var(--ink);cursor:pointer}
.le-acc>summary::-webkit-details-marker{display:none}
.le-acc>summary svg{width:14px;height:14px;color:var(--dim);transition:transform 160ms var(--le-ease)}
.le-acc[open]>summary svg{transform:rotate(180deg)}
.le-acc-body{padding:0 10px 12px}
.le-schemes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 6px}
.le .le-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;height:50px;padding:0;
  border:0;border-radius:var(--r);font:400 19px/1 Georgia,"Times New Roman",serif;box-shadow:0 0 0 1px var(--line)}
.le-dots{display:flex;gap:3px}
.le-dots i{display:block;width:14px;height:5px;border-radius:3px}
.le .le-tile[aria-checked="true"],.le .le-tile[aria-current="true"]{box-shadow:0 0 0 2px var(--link)}
.le .le-tile-add{gap:2px;padding:0 4px;font:500 var(--fs-1)/1.15 var(--sans);color:var(--link);text-align:center;white-space:normal;background:transparent;
  box-shadow:inset 0 0 0 1px var(--line)}
.le .le-tile-add svg{width:16px;height:16px}
.le-sub{margin:10px 0 6px;font-size:var(--fs-2);font-weight:600;color:var(--ink-2)}
.le-sub:first-child{margin-top:4px}
.le .le-back{display:flex;align-items:center;gap:8px;height:32px;padding:0 8px 0 4px;border:0;border-radius:var(--r);background:transparent;
  box-shadow:none;color:var(--ink);font-weight:600;font-size:var(--fs-4)}
.le .le-back svg{width:16px;height:16px;color:var(--dim)}
.le-swatch{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--s2);min-height:44px;padding:4px 0;
  border-bottom:1px solid var(--line-2)}
.le-swatch:last-child{border-bottom:0}
.le-swatch label{color:var(--ink-2)}
.le-swatch-in{display:flex;align-items:center;gap:8px}
.le .le-swatch-in input[type=text]{width:84px;height:30px;padding:0 8px;font-size:var(--fs-2);text-transform:uppercase}
.le .le-swatch-in input[type=color]{width:30px;height:30px;padding:0;border:0;border-radius:6px;background:none;box-shadow:inset 0 0 0 1px var(--line);
  cursor:pointer}
.le-swatch-in input[type=color]::-webkit-color-swatch-wrapper{padding:0}
.le-swatch-in input[type=color]::-webkit-color-swatch{border:0;border-radius:6px}
.le-sample{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 12px;padding:14px;border-radius:var(--r);
  font:400 22px/1 Georgia,"Times New Roman",serif;box-shadow:inset 0 0 0 1px var(--line)}
.le-sample span{display:inline-flex;align-items:center;height:26px;padding:0 10px;border:1px solid transparent;font:500 11px/1 var(--sans);
  letter-spacing:.06em;text-transform:uppercase}

/* ---- The settings panel's fields ---- */
.le-field{display:flex;flex-direction:column;gap:6px;margin:0 0 14px;min-width:0}
.le-field>label,.le-lbl{color:var(--ink-2)}
.le-fs{min-width:0;margin:0 0 14px;padding:0;border:0}
.le-fs>legend{padding:0;margin:0 0 6px;color:var(--ink-2)}
.le-sec-h{margin:18px 0 10px;padding-top:14px;border-top:1px solid var(--line-2);font-size:var(--fs-2);font-weight:600;color:var(--ink)}
.le-sec-h:first-child{margin-top:4px;padding-top:0;border-top:0}
.le .le-scroll input[type=text],.le .le-scroll input[type=url],.le .le-scroll select,.le .le-scroll textarea{width:100%;height:34px;font-size:var(--fs-3)}
.le .le-scroll textarea{height:auto;min-height:96px;line-height:1.5}
/* The select's down chevron, painted (the editor's policy refuses a data: picture): each 6px square holds one stroke of
   the V along its diagonal, a solid core with soft edges; the two overlap by a pixel so the point is whole. */
.le .le-scroll select,.le .le-pv-in select{appearance:none;-webkit-appearance:none;padding-right:30px;cursor:pointer;background-repeat:no-repeat;
  background-image:linear-gradient(45deg,transparent calc(50% - 1.2px),var(--dim) calc(50% - .6px),var(--dim) calc(50% + .6px),transparent calc(50% + 1.2px)),
    linear-gradient(135deg,transparent calc(50% - 1.2px),var(--dim) calc(50% - .6px),var(--dim) calc(50% + .6px),transparent calc(50% + 1.2px));
  background-position:calc(100% - 18px) 50%,calc(100% - 13px) 50%;background-size:6px 6px,6px 6px}
.le .le-scroll select.le-font{height:40px;font-size:16px}
.le-err{margin:0;font-size:var(--fs-2);color:var(--bad)}
.le-seg{display:flex;gap:2px;padding:3px;border-radius:var(--r);background:var(--field);box-shadow:inset 0 0 0 .66px var(--ring)}
.le-seg label{position:relative;flex:1;min-width:0}
.le-seg input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.le-seg span{display:flex;align-items:center;justify-content:center;gap:6px;height:28px;padding:0 4px;border-radius:6px;color:var(--dim);
  font-size:var(--fs-2);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.le-seg span svg{width:16px;height:16px}
.le-seg input:checked+span{background:var(--card);color:var(--ink);box-shadow:0 0 0 1px var(--line)}
.le-seg input:focus-visible+span{outline:2px solid var(--link);outline-offset:1px}
.le-range{display:grid;grid-template-columns:minmax(0,1fr) 76px;align-items:center;gap:10px}
.le-range input[type=range]{width:100%;height:24px;margin:0;accent-color:var(--link);cursor:pointer}
/* The whole box is the number field's hit area (it is the input's label). */
.le-num{display:flex;align-items:center;height:32px;padding:0 8px;border-radius:var(--r);background:var(--field);
  box-shadow:inset 0 0 0 .66px var(--ring);cursor:text}
.le .le-num input{width:100%;min-width:0;height:100%;padding:0 4px 0 0;border:0;background:transparent;box-shadow:none;color:var(--ink);
  font-size:var(--fs-3);text-align:right;-moz-appearance:textfield}
.le .le-num input:focus-visible{outline:0;background:transparent}
.le-num input::-webkit-inner-spin-button{display:none}
.le-num:focus-within{outline:2px solid var(--link)}
.le-num small{color:var(--dim);font-size:var(--fs-2)}
.le-check{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px;margin:0 0 6px;color:var(--ink-2);cursor:pointer}
.le .le-check input,.le .le-embed-item>input{position:relative;flex:none;width:32px;height:18px;margin:0;border-radius:999px;background:var(--line);
  appearance:none;-webkit-appearance:none;cursor:pointer;box-shadow:none}
.le .le-check input::after,.le .le-embed-item>input::after{content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:999px;
  background:var(--le-knob);transition:transform 160ms var(--le-ease)}
.le .le-check input:checked,.le .le-embed-item>input:checked{background:var(--accent-2)}
.le .le-check input:checked::after,.le .le-embed-item>input:checked::after{transform:translateX(14px)}
.le-image{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:center;padding:8px;border-radius:var(--r);background:var(--well);
  box-shadow:inset 0 0 0 1px var(--line-2)}
.le-image img,.le-image .le-noimg{display:block;width:72px;height:54px;border-radius:6px;object-fit:cover;background:var(--line-2)}
.le-image-acts{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.le-fn{max-width:100%;overflow:hidden;font-size:var(--fs-2);color:var(--dim);text-overflow:ellipsis;white-space:nowrap}
.le-media{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:8px}
.le-media[hidden]{display:none}
.le .le-media button{height:auto;padding:0;border:0;border-radius:6px;overflow:hidden;aspect-ratio:4/3;background:var(--line-2);box-shadow:0 0 0 1px var(--line)}
.le .le-media button[aria-pressed="true"]{box-shadow:0 0 0 2px var(--link)}
.le-media img{display:block;width:100%;height:100%;object-fit:cover}
/* The shop's own files, added in place: a picture's Upload new tile leads its grid; a font list's Upload font file. */
.le .le-media-add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;aspect-ratio:4/3;height:auto;padding:0 4px;
  border:1px dashed var(--line);border-radius:6px;background:transparent;box-shadow:none;color:var(--link);font-size:var(--fs-1);font-weight:500;
  line-height:1.15;text-align:center}
.le .le-media-add svg{width:16px;height:16px}
.le-upload-row{display:flex}
.le .le-upload{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:152px}
.le .le-upload svg{width:14px;height:14px}
.le .le-upload[aria-disabled="true"],.le .le-media-add[aria-disabled="true"]{opacity:.6;cursor:progress}
.le-err:empty{display:none}
/* The shop's own fonts at the foot of Typography: the file's name, its family in its own face, Delete. */
.le-own-fonts{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.le-own-font{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 8px;padding:6px 4px 6px 10px;
  border-radius:var(--r);background:var(--well);box-shadow:inset 0 0 0 1px var(--line-2)}
.le-own-name{display:grid;min-width:0}
.le-own-name>span:first-child{overflow:hidden;color:var(--ink);font-size:var(--fs-3);text-overflow:ellipsis;white-space:nowrap}
.le .le-own-font .le-del{width:32px;height:32px;color:var(--ink-2)}
.le .le-own-font .le-del svg{width:16px;height:16px}
.le .le-own-font .le-del[aria-disabled="true"]{color:var(--faint);cursor:progress}
.le-own-font .le-err{grid-column:1/-1}
/* The focal point: the picture whole, a ringed dot where its crop is centred. */
.le-focal{position:relative;border-radius:6px;overflow:hidden;background:var(--line-2);box-shadow:inset 0 0 0 1px var(--line);cursor:crosshair;
  touch-action:none}
.le-focal img{display:block;width:100%;max-height:180px;object-fit:contain;pointer-events:none}
.le-focal-dot{position:absolute;left:0;top:0;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:999px;background:var(--le-mark-glass);
  box-shadow:0 0 0 2px var(--le-mark),0 0 0 3px var(--le-mark-rim),0 2px 6px var(--le-mark-rim);cursor:grab}
.le-focal-dot::after{content:"";position:absolute;left:8px;top:8px;width:6px;height:6px;border-radius:999px;background:var(--le-mark)}
.le .le-link-btn{height:auto;padding:0;border:0;background:none;box-shadow:none;color:var(--link);font-weight:500}
.le-mv{display:flex;gap:2px}
.le .le-mv .le-icon{width:34px;height:34px;color:var(--ink-2)}
.le .le-mv .le-icon[aria-disabled="true"]{color:var(--faint)}
.le .le-mv .le-icon svg{width:16px;height:16px}
.le .le-danger{display:flex;align-items:center;gap:8px;height:32px;padding:0 10px;border:0;border-radius:var(--r);background:transparent;
  box-shadow:none;color:var(--bad);font-weight:500}
.le .le-danger svg{width:16px;height:16px}
.le .le-danger[aria-disabled="true"]{color:var(--faint);cursor:default}

/* ---- The preview: the page drawn 1:1 at the pane's width; Mobile is a 390px frame. ---- */
.le-preview{position:relative;flex:1;min-height:0;overflow:hidden;background:var(--f-raise)}
.le-stage{position:absolute;inset:12px 16px}
.le-framebox{position:absolute;inset:0;margin:0 auto;overflow:hidden;background:var(--le-page);box-shadow:0 0 0 1px var(--f-hair)}
.le-framebox[data-device="phone"]{width:390px;max-height:844px}
.le-frame{display:block;width:100%;height:100%;border:0;background:var(--le-page)}
.le-hl{position:absolute;left:0;top:0;z-index:4;width:0;height:0;border:2px solid var(--f-accent);pointer-events:none;
  transform-origin:0 0}
.le-hl[hidden]{display:none}
.le-hl-tab{position:absolute;left:-2px;top:-24px;padding:3px 8px;border-radius:4px 4px 0 0;background:var(--f-accent);color:var(--f-ground);font-size:var(--fs-2);
  font-weight:600;white-space:nowrap}
.le-hl[data-below] .le-hl-tab{top:0;border-radius:0 0 4px 0}
.le-toast{position:absolute;left:50%;bottom:22px;z-index:30;display:flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:10px;
  background:var(--le-toast);color:var(--f-ground);font-weight:500;box-shadow:var(--le-shadow-toast);transform:translate(-50%,8px);opacity:0;
  pointer-events:none;transition:opacity 180ms ease,transform 200ms var(--le-ease)}
.le-toast svg{width:16px;height:16px;color:var(--le-toast-ok)}
.le-toast[data-on]{opacity:1;transform:translate(-50%,0)}
/* Two panels' tools on the chosen section: Move up, Move down, Hide section, Section settings, at the outline's corner. */
.le-hl-tools{display:none}
.le[data-arrangement="b"] .le-hl-tools{position:absolute;right:-2px;top:-24px;display:flex;gap:1px;padding:0 2px;border-radius:4px 4px 0 0;
  background:var(--f-accent);pointer-events:auto}
.le[data-arrangement="b"] .le-hl[data-below] .le-hl-tools{top:0;border-radius:0 0 0 4px}
.le .le-tool{display:grid;place-items:center;width:26px;height:24px;padding:0;border:0;border-radius:3px;background:transparent;box-shadow:none;
  color:var(--f-ground);transition:transform 120ms var(--le-ease)}
.le .le-tool svg{width:15px;height:15px}
.le .le-tool:active{transform:scale(.94);background:transparent}
.le .le-tool[aria-disabled="true"]{opacity:.38;cursor:default}
.le .le-tool[aria-disabled="true"]:active{transform:none}
.le .le-tool:focus-visible{outline:2px solid var(--f-ground);outline-offset:-3px}

/* ---- Two panels: Sections and Theme settings as tabs; a chosen item's settings slide over the list and back. The
   three views share the panel's one cell, so the panel's size never follows what it shows; the one in view is on top,
   and the one leaving stays drawn under it only while it slides. ---- */
.le-tabs{display:none}
.le[data-arrangement="b"] .le-slot[data-slot="start"]{display:grid;grid-template-rows:44px minmax(0,1fr);grid-template-columns:minmax(0,1fr);
  overflow:hidden}
.le[data-arrangement="b"] .le-tabs{grid-area:1/1;display:flex;align-items:flex-end;gap:4px;padding:0 var(--s3);border-bottom:1px solid var(--line-2)}
.le .le-tab{position:relative;height:44px;padding:0 var(--s3);border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--dim);
  font-weight:500}
.le .le-tab[aria-selected="true"]{color:var(--ink)}
.le .le-tab[aria-selected="true"]::after{content:"";position:absolute;left:var(--s3);right:var(--s3);bottom:-1px;height:2px;border-radius:2px 2px 0 0;
  background:var(--link)}
.le .le-tab:focus-visible{outline-offset:-4px}
.le[data-arrangement="b"] .le-slot[data-slot="start"]>.le-view{grid-area:2/1;z-index:1;background:var(--card);
  transition:transform 200ms var(--le-ease),visibility 0s}
.le[data-arrangement="b"] .le-slot[data-slot="start"]>.le-view[hidden]{display:flex;visibility:hidden;z-index:0;
  transition:transform 200ms var(--le-ease),visibility 0s linear 200ms}
.le[data-arrangement="b"][data-detail] .le-part-list{transform:translateX(-100%)}
.le[data-arrangement="b"]:not([data-detail]) .le-part-settings{transform:translateX(100%)}
.le[data-arrangement="b"] .le-skip,.le[data-arrangement="b"] .le-part-theme>.le-head[data-view="groups"]{display:none}

/* ---- On the page: the card stands in its lane level with its section (the editor's script sets how far down), the
   size of the empty frame it replaces, and never over the page; Theme settings takes the whole lane while it is open,
   the card put by under it. A line runs from the page's edge to the card while it meets the section. ---- */
.le-lane-empty,.le-lead{display:none}
.le[data-arrangement="c"] .le-slot[data-slot="end"]{background:var(--f-raise);border-left:0}
.le[data-arrangement="c"] .le-lane-empty{position:absolute;left:12px;right:12px;top:12px;height:min(600px,calc(100% - 24px));display:grid;
  place-content:center;justify-items:center;gap:8px;border:1px dashed var(--line);border-radius:var(--r2);color:var(--dim);font-size:var(--fs-2)}
.le[data-arrangement="c"] .le-lane-empty svg{width:20px;height:20px}
.le[data-arrangement="c"][data-detail] .le-lane-empty{visibility:hidden}
.le[data-arrangement="c"] .le-part-settings{position:absolute;left:12px;right:12px;top:0;z-index:2;height:min(600px,calc(100% - 24px));
  border-radius:var(--r2);background:var(--card);box-shadow:0 0 0 1px var(--line),var(--le-shadow-card);overflow:hidden;
  transition:opacity 160ms ease,visibility 0s}
.le[data-arrangement="c"] .le-part-settings[hidden]{display:flex;visibility:hidden;opacity:0;transition:opacity 120ms ease,visibility 0s linear 120ms}
.le[data-arrangement="c"] .le-part-settings[data-glide]{transition:transform 200ms var(--le-ease),opacity 160ms ease,visibility 0s}
.le[data-arrangement="c"] .le-part-theme{position:absolute;inset:0;z-index:3;background:var(--card);border-left:1px solid var(--line-2);
  transition:opacity 160ms ease,transform 200ms var(--le-ease),visibility 0s}
.le[data-arrangement="c"] .le-part-theme[hidden]{display:flex;visibility:hidden;opacity:0;transform:translateY(-8px);
  transition:opacity 120ms ease,transform 200ms var(--le-ease),visibility 0s linear 200ms}
.le[data-arrangement="c"] .le-lead{position:absolute;left:0;top:0;z-index:3;display:block;height:1px;background:var(--f-accent);pointer-events:none}
.le[data-arrangement="c"] .le-lead[hidden]{display:none}
.le-lead::before{content:"";position:absolute;left:-3px;top:-3px;width:7px;height:7px;border-radius:50%;background:var(--f-accent)}

/* Full screen: the panels step aside so the page shows at the width it is drawn at. */
.le[data-full],.le[data-full][data-arrangement]{grid-template-columns:0 0 minmax(0,1fr) 0}
.le[data-full] .le-rail,.le[data-full] .le-slot[data-slot="start"],.le[data-full] .le-slot[data-slot="end"]{visibility:hidden;overflow:hidden;border:0}

/* ---- Add section: an anchored popover beside the list, as Shopify's ---- */
.le-picker{position:fixed;z-index:50;display:grid;grid-template-columns:240px 300px;width:540px;height:440px;border-radius:var(--r2);
  background:var(--card);color:var(--ink);box-shadow:0 0 0 1px var(--line),var(--le-shadow-pop);overflow:hidden;transform-origin:0 0;
  transition:opacity 160ms ease,transform 180ms var(--le-ease)}
.le-picker[hidden]{display:none}
.le-picker[data-enter]{opacity:0;transform:scale(.97)}
.le-pk-list{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line-2)}
.le-pk-search{position:relative;padding:10px}
.le-pk-search svg{position:absolute;left:21px;top:20px;width:14px;height:14px;color:var(--dim);pointer-events:none}
.le-picker .le-pk-search input{width:100%;height:34px;padding-left:30px}
.le-pk-h{margin:0;padding:2px 18px 8px;border-bottom:1px solid var(--line-2);font-size:var(--fs-2);font-weight:600;color:var(--ink-2)}
.le-pk-items{flex:1;min-height:0;margin:0;padding:6px;overflow-y:auto;overscroll-behavior:contain;list-style:none}
.le-pk-item{display:flex;align-items:center;gap:10px;height:32px;padding:0 8px;border-radius:7px;color:var(--ink-2);cursor:pointer}
.le-pk-item svg{width:16px;height:16px;color:var(--faint)}
.le-pk-item[aria-selected="true"]{background:var(--accent-soft);color:var(--ink)}
.le-pk-item[aria-selected="true"] svg{color:var(--link)}
.le-pk-none{padding:10px;color:var(--dim)}
.le-pk-preview{display:flex;flex-direction:column;min-height:0;background:var(--well)}
.le-pk-mini{flex:1;display:grid;place-items:center;padding:20px}
.le-pk-title{margin:0;padding:12px 16px;border-top:1px solid var(--line-2);font-weight:600}
/* The small drawings of each kind of section in the picker: paper, ink and a picture's grey, nothing of any shop's. */
.le-m{width:248px;min-height:150px;padding:16px;background:var(--le-mini-paper);color:var(--le-mini-ink);box-shadow:var(--le-mini-shadow)}
.le-m-dark{background:var(--le-mini-ink);color:var(--le-mini-light)}
.le-m-t{height:9px;width:70%;margin:0 0 10px;border-radius:2px;background:currentColor;opacity:.85}
.le-m-ln{height:4px;margin:0 0 5px;border-radius:2px;background:currentColor;opacity:.28}
.le-m-ln:nth-child(odd){width:86%}
.le-m-bt{display:inline-block;width:64px;height:16px;margin-top:6px;border:1px solid currentColor}
.le-m-bt+.le-m-bt{margin-left:6px}
.le-m-img{height:60px;margin:0 0 8px;border-radius:2px;background:var(--le-mini-img)}
.le-m-row{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:6px}
.le-m-row .le-m-img{height:44px}
.le-m-two{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center}
.le-m-coll{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:42px 42px;gap:5px}
.le-m-coll .le-m-img{height:auto;margin:0}
.le-m-coll .le-m-img:first-child{grid-row:span 2}
.le-m-q{padding-left:10px;border-left:2px solid currentColor}
.le-m-fold{height:20px;border-top:1px solid var(--le-mini-rule)}
.le-m-fold:last-child{border-bottom:1px solid var(--le-mini-rule)}
.le-m-field{display:flex;gap:4px;margin-top:8px}
.le-m-field i{flex:1;height:18px;border:1px solid currentColor;opacity:.5}
.le-m-field b{width:56px;height:18px;background:currentColor}
.le-m-gap{height:70px;border:1px dashed var(--le-mini-gap)}

/* ---- Leave with unsaved changes ---- */
.le-leave{width:min(400px,calc(100vw - 32px));padding:20px;border:0;border-radius:var(--r2);background:var(--card);color:var(--ink);
  box-shadow:0 0 0 1px var(--line),var(--le-shadow-pop)}
.le-leave::backdrop{background:var(--le-scrim)}
.le-leave h2{margin:0 0 20px;font-size:var(--fs-4);font-weight:600;overflow-wrap:anywhere}
.le-leave-acts{display:flex;justify-content:flex-end;gap:8px}

@media (hover:hover) and (pointer:fine){
  .le .le-icon:not([aria-disabled="true"]):hover{background:var(--f-hover);color:var(--f-ink)}
  .le .le-slot .le-icon:not([aria-disabled="true"]):hover{background:var(--line-2);color:var(--ink)}
  .le .le-device button:not([aria-pressed="true"]):hover{color:var(--f-ink);background:transparent}
  .le .le-tpl-btn:hover{background:var(--f-hover);color:var(--f-ink)}
  .le-opt:hover{background:var(--f-hover)}
  .le .le-twist:hover{background:var(--line-2);color:var(--ink)}
  .le .le-main:hover{background:var(--line-2);color:var(--ink)}
  .le .le-main[aria-current="true"]:hover{background:var(--accent-soft)}
  .le .le-line:hover .le-eye{opacity:1}
  .le .le-line:hover .le-ico>svg:first-child{opacity:0}
  .le .le-line:hover .le-grip{opacity:1}
  .le .le-eye:hover{background:var(--line-2);color:var(--ink)}
  .le .le-add:not([aria-disabled="true"]):hover{background:var(--line-2);color:var(--link-2)}
  .le-acc>summary:hover{background:var(--line-2)}
  .le .le-tile:hover{box-shadow:0 0 0 1px var(--ring)}
  .le-pk-item:hover{background:var(--line-2)}
  .le .le-link-btn:hover{color:var(--link-2);text-decoration:underline;background:none}
  .le .le-danger:not([aria-disabled="true"]):hover{background:var(--bad-soft)}
  .le .le-own-font .le-del:not([aria-disabled="true"]):hover{background:var(--bad-soft);color:var(--bad)}
  .le .le-back:hover{background:var(--line-2)}
  .le .le-tab:not([aria-selected="true"]):hover{color:var(--ink)}
  .le .le-tool:not([aria-disabled="true"]):hover{background:var(--le-tool-hover)}
  .le[data-arrangement="c"] .le-theme-btn:not([aria-pressed="true"]):hover{background:var(--f-hover);color:var(--f-ink)}
  .le .le-media-add:not([aria-disabled="true"]):hover{border-color:var(--link);background:var(--accent-soft)}
}
@media (max-width:1300px){.le{--le-list:264px;--le-set:296px}}

/* ---- Under 1000px: Shopify's phone editor. The preview fills the screen; the rail moves to the foot; the list and
   the settings rise over the preview as sheets. Save stays in the top bar. ---- */
@media (max-width:1000px){
  .le{grid-template-rows:var(--le-top) minmax(0,1fr) 56px;grid-template-columns:minmax(0,1fr);
    grid-template-areas:"top" "centre" "rail"}
  .le-top{grid-template-columns:auto minmax(0,1fr) auto}
  .le-shop,.le-top-l .le-sep,.le-narrow-off,.le-device{display:none}
  .le-rail{flex-direction:row;justify-content:center;gap:24px;padding:0 16px env(safe-area-inset-bottom,0px);border-right:0;
    border-top:1px solid var(--le-seam);z-index:45}
  .le .le-rail .le-icon{width:48px;height:44px}
  .le-stage{inset:0}
  .le-framebox{box-shadow:none}
  .le[data-arrangement] .le-slot[data-slot="start"],.le[data-arrangement] .le-slot[data-slot="end"]{position:fixed;left:0;right:0;bottom:56px;
    z-index:40;height:min(72dvh,620px);border:0;border-radius:var(--r2) var(--r2) 0 0;
    box-shadow:0 -1px 0 var(--line),var(--le-shadow-sheet);transform:translateY(calc(100% + 60px));visibility:hidden;
    transition:transform 240ms var(--le-drawer),visibility 0s linear 240ms}
  .le[data-sheet="start"] .le-slot[data-slot="start"],.le[data-sheet="end"] .le-slot[data-slot="end"]{transform:none;visibility:visible;
    transition:transform 240ms var(--le-drawer)}
  .le-skip{display:none}
  .le-picker{left:8px;right:8px;top:60px;width:auto;height:min(440px,70dvh);grid-template-columns:1fr}
  .le-pk-preview{display:none}
  .le .le-scroll input[type=text],.le .le-scroll input[type=url],.le .le-scroll select,.le .le-scroll textarea,.le .le-num input{font-size:16px}
}

/* ---- The theme editor (Online store › Customise on a Shopify-format theme; plan tn-on-talstok-own-sections R3): the
   look editor's parts and tokens, with the few controls a theme's settings need more of. ---- */
/* The page picker: Shopify's search over the theme's pages, its kinds folding open to their designs. */
.le-menu.le-pages{width:320px;max-height:min(560px,calc(100dvh - 72px));padding:0;display:flex;flex-direction:column;overflow:hidden}
.le-menu.le-pages[hidden]{display:none}
.le-pages .le-pk-search{padding:10px 10px 6px}
.le-pages .le-pk-search svg{left:21px;top:20px}
.le-pages .le-pk-search input{width:100%;height:34px;padding-left:30px}
.le-pages-list{flex:1;min-height:0;margin:0;padding:4px 6px 8px;list-style:none;overflow-y:auto;overscroll-behavior:contain}
.le-pages-list ul{margin:0;padding:0;list-style:none}
.le-pages-list ul[hidden]{display:none}
.le .le-pages-opt,.le .le-pages-grp{display:flex;align-items:center;gap:8px;width:100%;min-height:34px;padding:6px 10px;border:0;border-radius:7px;
  background:transparent;box-shadow:none;color:var(--f-ink-lit);font-weight:400;text-align:left;cursor:pointer}
.le .le-pages-opt[aria-level="2"]{padding-left:24px}
.le-pages-opt .le-nm,.le-pages-grp .le-nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.le-pages-opt small{flex:none;color:var(--f-ink-2);font-size:var(--fs-1)}
.le-pages-opt svg,.le-pages-grp svg{flex:none;width:14px;height:14px;color:var(--f-ink-2)}
.le-pages-opt[aria-selected="true"]{color:var(--f-bright);font-weight:500}
.le-pages-opt[aria-selected="true"] svg{color:var(--f-accent-bright)}
.le .le-pages-opt:focus-visible,.le .le-pages-grp:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--f-accent-bright)}
.le .le-pages-opt[aria-disabled="true"]{color:var(--f-ink-2);cursor:default}
.le-pages-create{color:var(--f-accent-bright)}
@media (hover:hover) and (pointer:fine){
  .le .le-pages-opt:not([aria-disabled="true"]):hover,.le .le-pages-grp:hover{background:var(--f-wash);color:var(--f-bright)}
}
.le-create .le-field{margin-bottom:16px}
.le-pv[hidden]{display:none}
/* What a Save that was refused as a whole says, under Save itself: over the page, never moving the bar. */
.le-said{position:fixed;top:56px;right:12px;z-index:70;max-width:320px;margin:0;padding:10px 12px;border-radius:var(--r);
  background:var(--f-plate);color:var(--f-ink);font-size:var(--fs-2);line-height:1.45;box-shadow:0 0 0 1px var(--le-rim),var(--le-shadow-menu)}
.le-said[hidden]{display:none}
/* A static block is the theme's own: no grip, a lock where the grip would be. */
.le-row[data-static="true"]>.le-line .le-ico svg{color:var(--faint)}
/* The theme's own words beside a setting (its info and paragraphs), quieter than a label. */
.le-info{margin:-2px 0 12px;font-size:var(--fs-2);line-height:1.45;color:var(--dim)}
.le-field .le-info{margin:0}
/* HTML and Liquid settings: the theme's code, in the dashboard's code face. */
.le .le-scroll textarea.le-code{min-height:160px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:var(--fs-2);line-height:1.5;tab-size:2}
/* Rich text: a box that keeps bold, italic and links, its bar above it. */
.le-rich-wrap{border-radius:var(--r);background:var(--field);box-shadow:inset 0 0 0 .66px var(--ring)}
.le-rich-wrap:focus-within{outline:2px solid var(--link)}
.le-rich-bar{display:flex;gap:2px;padding:4px;border-bottom:1px solid var(--line-2)}
.le .le-rich-b{display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:6px;background:transparent;box-shadow:none;color:var(--ink-2)}
.le-rich-b svg{width:16px;height:16px}
.le-rich{min-height:72px;max-height:240px;padding:8px 10px;overflow-y:auto;color:var(--ink);font-size:var(--fs-3);line-height:1.5;outline:none}
.le-rich[aria-multiline="false"]{min-height:36px}
.le-rich p{margin:0 0 8px}
.le-rich a{color:var(--link)}
@media (hover:hover) and (pointer:fine){ .le .le-rich-b:hover{background:var(--accent-soft);color:var(--ink)} }
/* A list of the shop's own (products, collections): one tick each, held to the list's limit. */
.le-checks{display:flex;flex-direction:column;max-height:220px;padding:4px;overflow-y:auto;overscroll-behavior:contain;border-radius:var(--r);
  background:var(--well);box-shadow:inset 0 0 0 1px var(--line-2)}
.le-checkrow{display:flex;align-items:center;gap:8px;min-height:32px;padding:0 6px;border-radius:6px;color:var(--ink-2);cursor:pointer}
.le-checkrow span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.le-checkrow input{flex:none;accent-color:var(--link)}
/* Theme settings' colour schemes: a tile each, and one more to add a scheme. */
.le-schemes-edit{margin-bottom:12px}
.le-pk-item .le-pk-nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.le-pk-item small{flex:none;color:var(--faint);font-size:var(--fs-1)}

/* ---- The theme editor's own controls, round two (plan tn-on-talstok-exact 4.2, group I): a refused Save said once with
   its way on, the refused setting marked where it stands; every overlay drawn over the page, so nothing moves. ---- */
.le-said{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px 10px}
.le-said>svg{width:16px;height:16px;margin-top:2px;color:var(--le-frame-bad)}
.le-said-w{margin:0}
.le-said .btn{grid-column:2;justify-self:start}
.le-said .btn[hidden]{display:none}
.le-toast[data-tone="refused"] svg{color:var(--le-toast-bad)}
.le-toast-mark{display:grid;place-items:center}
.le-err{display:flex;align-items:flex-start;gap:6px}
.le-err svg{flex:none;width:14px;height:14px;margin-top:2px}
.le-field[data-invalid],.le-swatch[data-invalid],.le-check[data-invalid],.le-fs[data-invalid]{position:relative}
.le-field[data-invalid]::before,.le-swatch[data-invalid]::before,.le-check[data-invalid]::before,.le-fs[data-invalid]::before{content:"";
  position:absolute;left:-8px;top:0;bottom:0;width:2px;border-radius:2px;background:var(--bad)}
.le [data-invalid] input,.le [data-invalid] select,.le [data-invalid] textarea,.le [data-invalid] .le-rich-wrap{box-shadow:inset 0 0 0 1px var(--bad)}
/* The chooser (a product, a collection, a custom field, a link): over the page beside its control, never moving it. It
   is a child of the body, outside .le, so its rules stand on their own. */
.le-pop{position:fixed;z-index:60;display:flex;flex-direction:column;width:320px;max-width:calc(100vw - 16px);max-height:min(400px,calc(100dvh - 16px));
  border-radius:var(--r2);background:var(--card);color:var(--ink);font-size:var(--fs-3);line-height:1.45;
  box-shadow:0 0 0 1px var(--line),var(--le-shadow-pop);overflow:hidden}
.le-pop[hidden]{display:none}
.le-pop-search{position:relative;flex:none;padding:10px;border-bottom:1px solid var(--line-2)}
.le-pop-search svg{position:absolute;left:21px;top:20px;width:14px;height:14px;color:var(--dim);pointer-events:none}
.le-pop .le-pop-q{width:100%;height:34px;padding-left:30px}
.le-pop-list{flex:1;min-height:0;margin:0;padding:6px;list-style:none;overflow-y:auto;overscroll-behavior:contain}
.le-pop-h{padding:8px 8px 4px;font-size:var(--fs-1);font-weight:600;color:var(--dim)}
.le-pop-opt{display:flex;align-items:center;gap:10px;min-height:36px;padding:4px 8px;border-radius:7px;color:var(--ink-2);cursor:pointer;
  user-select:none;-webkit-user-select:none}
.le-pop-opt[data-active]{background:var(--accent-soft);color:var(--ink)}
.le-pop-opt[aria-disabled="true"]{opacity:.5;cursor:default}
.le-pop-tick{display:grid;place-items:center;flex:none;width:16px;height:16px;border-radius:4px;box-shadow:inset 0 0 0 1px var(--ring)}
.le-pop-opt[aria-selected="true"] .le-pop-tick{background:var(--link);color:var(--accent-ink);box-shadow:none}
.le-pop-tick svg{width:12px;height:12px}
.le-pop-img{flex:none;width:32px;height:32px;border-radius:6px;object-fit:cover;background:var(--line-2)}
.le-pop-nm{display:flex;flex-direction:column;min-width:0}
.le-pop-nm span,.le-pop-nm small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.le-pop-nm small{color:var(--dim);font-size:var(--fs-1)}
.le-pop-none{padding:12px 8px;color:var(--dim)}
.le-pop-foot{flex:none;display:flex;justify-content:flex-end;padding:8px 10px;border-top:1px solid var(--line-2)}
.le-pop-foot[hidden]{display:none}
@media (max-width:1000px){.le-pop .le-pop-q{font-size:16px}}
/* One of the shop's items in a setting: what is chosen, with its picture; Remove holds its place when nothing is. */
.le-item{display:flex;align-items:center;gap:10px}
.le .le-item-btn{flex:1;min-width:0;display:flex;align-items:center;gap:10px;height:44px;padding:0 10px 0 6px;border:0;border-radius:var(--r);
  background:var(--field);box-shadow:inset 0 0 0 .66px var(--ring);color:var(--ink);font-weight:400;text-align:left}
.le .le-item-btn>svg{width:14px;height:14px;color:var(--dim)}
.le .le-item-btn[aria-expanded="true"]{box-shadow:inset 0 0 0 1px var(--link)}
.le-item-nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.le-item-nm[data-empty]{color:var(--dim)}
.le-thumb{flex:none;width:32px;height:32px;border-radius:6px;object-fit:cover;background:var(--line-2)}
.le .le-item-rm{flex:none}
/* A list of the shop's items in the merchant's order: a handle to drag or move with the arrow keys, a cross to remove. */
.le-order{position:relative;display:flex;flex-direction:column;gap:2px;margin:0;padding:4px;list-style:none;border-radius:var(--r);
  background:var(--well);box-shadow:inset 0 0 0 1px var(--line-2)}
.le-order:not(:has(li)){display:none}
.le-order-row{display:flex;align-items:center;gap:6px;min-height:40px;padding:2px 4px;border-radius:6px;background:var(--card)}
.le-order-row[data-dragging]{opacity:.45}
.le .le-order-grip,.le .le-order-mv,.le .le-order-rm{display:grid;place-items:center;flex:none;width:24px;height:28px;padding:0;border:0;
  border-radius:6px;background:transparent;box-shadow:none;color:var(--dim)}
.le .le-order-grip{cursor:grab;touch-action:none}
.le-order-grip svg,.le-order-mv svg,.le-order-rm svg{width:14px;height:14px}
.le-order-nm{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink-2)}
.le .le-order-mv{opacity:0;transition:opacity 120ms ease}
.le .le-order-row:focus-within .le-order-mv{opacity:1}
.le .le-order-mv[aria-disabled="true"]{visibility:hidden}
.le-order-drop{position:absolute;left:4px;right:4px;top:0;height:2px;border-radius:2px;background:var(--link);pointer-events:none}
.le-order-drop[hidden]{display:none}
.le .le-order-add{align-self:flex-start;display:inline-flex;align-items:center;gap:6px}
.le .le-order-add svg{width:14px;height:14px}
@media (hover:none){.le .le-order-mv{opacity:1}}
/* A colour: its name wraps rather than being cut, its swatch over a checkerboard (see-through shows, none is struck
   through), its value beside it at a width of its own (it had taken the row and cut the name to "Backgr"). */
.le-swatch>label{min-width:0;overflow-wrap:anywhere;line-height:1.3}
.le .le-scroll .le-swatch-in input[type=text]{flex:none;width:96px}
.le-chip,.le-tile-sw{background-color:var(--le-check-light);
  background-image:linear-gradient(45deg,var(--le-check-dark) 25%,transparent 25%,transparent 75%,var(--le-check-dark) 75%),
    linear-gradient(45deg,var(--le-check-dark) 25%,transparent 25%,transparent 75%,var(--le-check-dark) 75%);
  background-size:10px 10px;background-position:0 0,5px 5px}
.le-chip{position:relative;flex:none;width:30px;height:30px;border-radius:6px;overflow:hidden;box-shadow:inset 0 0 0 1px var(--line)}
.le-chip-fill{position:absolute;inset:0;box-shadow:inset 0 0 0 1px var(--le-chip-ring)}
.le-chip-fill[data-none]::after,.le-tile-bg[data-none]::after{content:"";position:absolute;left:50%;top:-6px;bottom:-6px;width:2px;margin-left:-1px;
  background:var(--le-colour-none);transform:rotate(45deg)}
.le .le-chip input[type=color]{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;cursor:pointer}
.le-chip:focus-within{outline:2px solid var(--link);outline-offset:2px}
/* A colour scheme's tile: the scheme's own "Aa" and accent on its ground, its name beneath. */
.le .le-tile,.le .le-tile[aria-checked="true"],.le .le-tile[aria-current="true"],.le .le-tile-add{display:flex;flex-direction:column;
  align-items:stretch;justify-content:flex-start;gap:5px;height:auto;padding:0;border:0;background:transparent;box-shadow:none;font:inherit;
  color:var(--ink-2)}
.le-tile-sw{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;height:50px;
  border-radius:var(--r);overflow:hidden;box-shadow:0 0 0 1px var(--line)}
.le-tile-bg{position:absolute;inset:0}
.le-tile-aa,.le-tile-sw .le-dots{position:relative}
.le-tile-aa{font:400 19px/1 Georgia,"Times New Roman",serif}
/* Two lines held for every name, so the tiles of a row stay one height and "Scheme tn navy" is not cut to "Scheme tn…". */
.le-tile-nm{display:-webkit-box;height:2.5em;min-width:0;overflow:hidden;color:var(--dim);font-size:var(--fs-1);line-height:1.25;text-align:center;white-space:normal;
  overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
.le .le-tile[aria-checked="true"] .le-tile-sw,.le .le-tile[aria-current="true"] .le-tile-sw{box-shadow:0 0 0 2px var(--link)}
.le .le-tile[aria-checked="true"] .le-tile-nm{color:var(--ink);font-weight:500}
.le .le-tile:focus-visible{outline:none}
.le .le-tile:focus-visible .le-tile-sw{outline:2px solid var(--link);outline-offset:2px}
.le .le-tile-add .le-tile-sw{background:transparent;box-shadow:inset 0 0 0 1px var(--line);color:var(--link)}
.le .le-tile-add .le-tile-sw svg{width:16px;height:16px}
@media (hover:hover) and (pointer:fine){
  .le .le-tile:hover{box-shadow:none}
  .le .le-tile:hover .le-tile-sw{box-shadow:0 0 0 1px var(--ring)}
  .le .le-tile[aria-checked="true"]:hover .le-tile-sw{box-shadow:0 0 0 2px var(--link)}
}
/* A row pointed at in the sidebar outlines its section lightly on the page, and the reverse marks the row. */
.le-hl-hover{z-index:3;border:1px dashed var(--f-accent);opacity:.9}
.le .le-main[data-hover]:not([aria-current="true"]){background:var(--line-2);color:var(--ink)}
/* The expand buttons beside a row with blocks: 24px wide, as WCAG 2.5.8 asks (they were 20). */
.le-twist-sp,.le .le-twist{width:24px}
/* A section's or block's own name in its settings' head, with Rename beside it; the box stands where the name did. */
.le-name{display:flex;align-items:center;gap:2px;min-width:0;min-height:30px}
.le-name h2{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.le .le-rename-btn{flex:none;width:28px;height:28px;opacity:0;transition:opacity 120ms ease}
.le .le-rename-btn svg{width:14px;height:14px}
.le .le-name:hover .le-rename-btn,.le .le-name:focus-within .le-rename-btn{opacity:1}
.le .le-name-box{width:100%;height:30px;font-size:var(--fs-4);font-weight:600}
@media (hover:none){.le .le-rename-btn{opacity:1}}
/* App embeds: each of the theme's, a switch beside its name and its app's. */
.le-embeds{list-style:none;margin:0;padding:4px 0}
.le-embed{min-height:48px;padding:4px 2px;border-bottom:1px solid var(--line-2)}
.le-embed-nm{display:flex;flex-direction:column;min-width:0}
.le-embed-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;column-gap:8px;border-bottom:1px solid var(--line-2)}
.le .le-embed-item>input{margin-top:13px}
.le-embed-acc{border-bottom:0}
.le-embed-acc>summary{height:auto;min-height:44px;padding:4px 2px}
.le-embed-nm span{color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.le-embed-nm small{color:var(--dim);font-size:var(--fs-1)}
.le-empty{margin:var(--s3) var(--s2);color:var(--dim)}
/* The theme's own menu beside the shop's name; App embeds is in it where the arrangement has no rail. */
.le-themenu{position:relative;display:flex;align-items:center}
.le-themenu .le-menu{left:0;right:auto;top:calc(100% + 6px);min-width:200px;transform:none}
.le .le-apps-item{display:none}
.le[data-arrangement="c"] .le-apps-item{display:flex}
@media (max-width:1000px){.le[data-arrangement="c"] .le-apps-item{display:none}}
.le-rename .le-field{margin:0 0 12px}
.le-rename input{width:100%;height:36px}
.le-rename .le-err{margin:-4px 0 12px}
/* Add section's picture: the active entry's preset drawn on the theme's page at 1280px and shown at the pane's width
   (268 / 1280), in a frame that runs nothing; dimmed while the next one loads, so the pane never empties. */
.le-pk-mini{position:relative;overflow:hidden}
.le-pk-mini>.le-m[hidden]{display:none}
.le-pk-shot{position:absolute;left:16px;top:16px;width:1280px;height:1740px;border:0;background:var(--le-page);transform:scale(.2094);
  transform-origin:0 0;pointer-events:none;transition:opacity 160ms ease}
.le-pk-shot[hidden]{display:none}
.le-pk-shot[data-loading]{opacity:.4}
@media (prefers-reduced-motion:reduce){.le-pk-shot{transition:none}}
/* Connect dynamic source: a button at the setting's label row; a connected setting names its field in place of its box. */
.le-has-src{position:relative}
.le-has-src>label,.le-has-src>.le-lbl{padding-right:30px}
.le .le-src-btn{position:absolute;right:0;top:-3px;display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:6px;
  background:transparent;box-shadow:none;color:var(--dim)}
.le .le-swatch-in .le-src-btn{position:static}
.le-src-btn svg{width:15px;height:15px}
.le .le-src-btn[aria-expanded="true"]{background:var(--accent-soft);color:var(--link)}
.le-src-chip{display:flex;align-items:center;gap:8px;min-height:44px;padding:4px 4px 4px 10px;border-radius:var(--r);background:var(--accent-soft);
  color:var(--ink)}
.le-src-chip>svg{width:16px;height:16px;color:var(--link)}
.le-src-nm{flex:1;display:flex;flex-direction:column;min-width:0}
.le-src-nm span{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.le-src-nm small{color:var(--dim);font-size:var(--fs-1)}
.le .le-src-off{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:6px;background:transparent;
  box-shadow:none;color:var(--dim)}
.le-src-off svg{width:15px;height:15px}
@media (hover:hover) and (pointer:fine){
  .le-pop-opt:not([aria-disabled="true"]):hover{background:var(--line-2);color:var(--ink)}
  .le-pop-opt[data-active]:hover{background:var(--accent-soft)}
  .le .le-item-btn:hover{box-shadow:inset 0 0 0 1px var(--ring)}
  .le .le-order-row:hover .le-order-mv{opacity:1}
  .le .le-order-grip:hover,.le .le-order-mv:not([aria-disabled="true"]):hover,.le .le-order-rm:hover,.le .le-src-btn:hover,.le .le-src-off:hover{
    background:var(--line-2);color:var(--ink)}
}

/* EDIT CODE (plan tn-on-talstok-own-sections R4.3, src/dashboard/pages/theme-code.ts): Shopify's code editor in the
   frame. The files on the left (16rem, its own scroll, held below the top bar while the file scrolls), the file on the
   right. The numbers and the text share one scrolling box and one line height, the text box as tall as the file, so a
   number never leaves its line; on a touch screen both grow to 16px, below which a phone zooms into the box.
   Both cards are one held height, the window's below the page head (--code-h), whatever is open on the right: a file,
   a picture, Add a new file or nothing yet. The right card had been a file's height and the files card the window's, so
   their feet stood 52px apart, and opening a file grew the page by 600px (steady-layout, 7 Nov 2026). The theme's name
   wraps rather than being cut: "Totally Numb for Talst…" was the only place on the card that named it. */
.codegrid{--code-h:max(24rem,calc(100dvh - var(--head-h) - 10rem));display:grid;grid-template-columns:16rem minmax(0,1fr);
  gap:var(--s4);align-items:start}
.codegrid>*{min-width:0}
.code-files{position:sticky;top:calc(var(--head-h) + var(--s4));height:var(--code-h);
  overflow:auto;overscroll-behavior:contain;padding:var(--s3) var(--s2)}
.code-files-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--s2);margin:0 0 var(--s2);padding:0 var(--s2)}
.card .code-files-head>h2{margin:6px 0 0;min-width:0;overflow-wrap:anywhere}
.code-search{margin:0 0 var(--s2);padding:0 var(--s2)}
.code-search>.input{width:100%}
.code-tree{font-size:var(--fs-3)}
.code-folder>summary{display:flex;align-items:center;gap:var(--s2);min-height:32px;padding:0 var(--s2);border-radius:var(--r);
  list-style:none;cursor:pointer;color:var(--ink);user-select:none;-webkit-user-select:none;touch-action:manipulation}
.code-folder>summary::-webkit-details-marker{display:none}
main details.code-folder>summary::before{color:var(--dim)}
.code-count{margin-left:auto;color:var(--dim);font-size:var(--fs-2);font-variant-numeric:tabular-nums}
.code-folder ul{list-style:none;margin:0 0 var(--s1);padding:0}
.code-file{display:block;padding:5px var(--s2) 5px 26px;border-radius:var(--r);color:var(--ink-2);text-decoration:none;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;touch-action:manipulation}
.code-file[aria-current=page]{background:var(--well);color:var(--ink);font-weight:600}
.code-folder>summary:focus-visible,.code-file:focus-visible{outline:2px solid var(--link);outline-offset:-2px}
@media (hover:hover) and (pointer:fine){.code-folder>summary:hover,.code-file:hover{background:var(--well);color:var(--ink)}}
.card.code-main{display:flex;flex-direction:column;height:var(--code-h);padding:0;overflow:hidden}
.card.code-form{padding:var(--s4);overflow:auto}
.card.code-main:not(.code-form)>form{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.code-bar{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);padding:var(--s2) var(--s3) var(--s2) var(--s4);
  border-bottom:1px solid var(--line-2)}
.code-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s1);min-width:0;margin:0;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:var(--fs-2);color:var(--ink-2)}
.code-crumb>span:last-child{color:var(--ink);font-weight:600}
.code-sep{color:var(--dim)}
.code-actions{display:flex;flex:none;align-items:center;gap:var(--s2)}
.code-edit{display:grid;grid-template-columns:auto minmax(0,1fr);flex:1 1 auto;min-height:0;overflow:auto;
  overscroll-behavior:contain;background:var(--card)}
.code-edit:focus-within{box-shadow:inset 0 0 0 2px var(--link)}
.code-gutter,.code-text{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:20px}
.code-gutter{position:sticky;left:0;z-index:1;margin:0;padding:var(--s3) var(--s2) var(--s3) var(--s3);list-style:none;
  text-align:right;color:var(--dim);background:var(--well);font-variant-numeric:tabular-nums;user-select:none;-webkit-user-select:none}
.code-gutter>li.bad{color:var(--bad);font-weight:700;background:var(--bad-soft);box-shadow:inset -2px 0 0 var(--bad)}
textarea.code-text{display:block;width:100%;height:auto;min-height:0;margin:0;padding:var(--s3) var(--s4);border:0;border-radius:0;
  background:none;box-shadow:none;color:var(--ink);white-space:pre;overflow:hidden;resize:none;tab-size:2}
textarea.code-text:hover,textarea.code-text:focus-visible{outline:none;box-shadow:none;background:none}
.code-ink{grid-column:2;grid-row:1;min-width:0;margin:0;padding:var(--s3) var(--s4);overflow:hidden;white-space:pre;tab-size:2;
  color:var(--ink);pointer-events:none;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:20px}
.code-edit.coloured>textarea.code-text{grid-column:2;grid-row:1;position:relative;color:transparent;caret-color:var(--ink)}
.code-edit.coloured>textarea.code-text::selection{background:var(--accent-soft)}
.tk-comment{color:var(--dim)}.tk-string{color:var(--ok)}.tk-number{color:var(--warn)}.tk-keyword{color:var(--link)}
.tk-tag{color:var(--info)}.tk-attr{color:var(--attn)}.tk-delim{color:var(--link-2)}.tk-fn{color:var(--info-2)}.tk-literal{color:var(--warn-2)}
@media (pointer:coarse){.code-gutter,.code-text,.code-ink{font-size:16px;line-height:24px}}
.code-status{display:flex;justify-content:space-between;gap:var(--s3);margin:0;padding:6px var(--s4);border-top:1px solid var(--line-2);
  font-size:var(--fs-1);color:var(--dim)}
.code-status-end{display:flex;gap:var(--s3)}
.code-pic{display:grid;flex:1 1 auto;place-items:center;padding:var(--s5);background:var(--well)}
.code-pic img{max-width:100%;max-height:60vh;outline:1px solid var(--line-2)}
.card.code-main>.empty{padding:var(--s4)}
.code-empty{display:grid;flex:1 1 auto;align-content:center;justify-items:center;gap:var(--s2);padding:var(--s6) var(--s5);
  text-align:center}
.code-empty>h3,.code-empty>p{margin:0}
.menu .pop>a.code-del{color:var(--bad)}
.menu .pop>a.code-del:hover{background:var(--bad-soft)}
/* YOUR SECTIONS (store 0049): a section's files, one path a line; its forms' boxes the card's width, so each box ends
   where the card's Save ends (they stood at the 38rem measure, 190px short of their own buttons). */
.saved-files{list-style:none;margin:0;padding:0;display:grid;gap:var(--s1)}
.saved-files>li{overflow-wrap:anywhere;color:var(--ink-2)}
.saved-form .field{max-width:none}
/* On a phone the files come first, so they scroll in a box of their own (at most 20rem) and the open file's folder of
   sixty no longer pushes the file itself 2,400px down the page. */
@media (max-width:60rem){.codegrid{grid-template-columns:1fr}.code-files{position:static;height:auto;max-height:min(45dvh,20rem)}
  .card.code-main{height:auto}.code-edit{max-height:min(72dvh,calc(100dvh - 15rem))}}
@media (max-width:40rem){.code-bar{flex-wrap:wrap}.code-crumb{flex-basis:100%}.code-actions{margin-left:auto}}

/* ============================================================================
   THE LOG-IN PAGES, IN THE SITE'S NIGHT (control 0024; screens docs/design/dashboard/screens/log-in.md).
   The operator chose mock-up B, "Night counter throughout", on 7 Oct 2026, for every step of logging in and
   signing up (build-reports/sign-up-2026-10-07/mock-ups/b/). The public site's own scene: its ground, its
   film grain, Geist and Geist Mono (the site's own two files, served from the log-in's address), the mark
   in a pill at the top, a tray holding a plate (the site's double frame), and the site's filled button with
   its arrow in a circle. A merchant pressing Log in on the site should feel they never left it.

   THE ONE MOVE: a lamp. The brand's ledger ink falls from above the page, and the plate's top edge catches
   it in a 1px line, brightest in the middle. Everything else is quiet.

   EVERYTHING HERE IS UNDER .login-page, and the dashboard's own tokens are set again on it (ground, card,
   well, ink, lines, accent), so any dashboard rule a log-in page meets is drawn in the night too. The
   meanings (ok, warn, bad) keep their dashboard values; the night has its own two, --danger and --fine.

   CONTRAST, COMPUTED (WCAG 2.2): text 15:1 on the plate; grey (--ink-2) 6.7:1; links (--accent) 6.6:1;
   every control's edge (--edge) 3.6:1 on the plate and 3.9:1 on its own fill; the filled button's rim
   4.1:1; white on the filled button 9.2:1; --danger 7.4:1 and --fine 8.1:1 on their own tints. Where the
   lamp lights the plate's top, text is still 12:1 and grey 5.4:1. The site's fainter grey
   (--faint) is for the ground only (5.0:1), never the plate.

   SHAPES: the tray 26px, the plate 19px (concentric, as the site's frames); every box 12px; the tick 7px;
   every button a pill; a chip 4px (the site's flag). No script is needed for any of it: the log-in
   script only says which slot of a code box the caret is in.
   ========================================================================= */
@font-face{font-family:"Geist";font-style:normal;font-weight:100 900;font-display:swap;
  src:url(/_talstok/sign-in/assets/fonts/geist.woff2?v=9b6f5ff45b) format("woff2")}
@font-face{font-family:"Geist Mono";font-style:normal;font-weight:100 900;font-display:swap;
  src:url(/_talstok/sign-in/assets/fonts/geist-mono.woff2?v=5f3d6ad60f) format("woff2")}
.login-page{
  --bg:#0b0d12;--card:#161a23;--well:#0f1219;--ink:#eceef3;--ink-2:#9aa1b0;--dim:#9aa1b0;--faint:#7f8697;
  --line:rgba(255,255,255,.14);--line-2:rgba(255,255,255,.08);--ring:#6a7287;--ring-2:#6a7287;
  --accent:#8b9aea;--accent-2:#b8c2f3;--accent-soft:rgba(139,154,234,.12);--paper-2:rgba(139,154,234,.12);--shadow:none;
  --plate:#161a23;--edge:#6a7287;--edge-hover:#7d859b;--edge-quiet:#636b80;--muted-lit:#bdc2cf;
  --lamp:#2c3e9c;--lamp-hover:#3a4eb0;--lamp-rim:#6273d0;--halo:rgba(139,154,234,.24);
  --danger:#f2a0a0;--fine:#6fcf97;--chip-test:#f0c062;
  --sans:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --mono:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --ease:cubic-bezier(.16,1,.3,1);
  color-scheme:dark;margin:0;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;align-items:center;
  padding:0 16px;background:var(--bg);color:var(--ink);font:400 17px/1.55 var(--sans);font-variant-numeric:tabular-nums;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;
  scrollbar-color:#343a4a var(--bg)}
/* A touch screen gets a faint tap tint in the light ink, as on the site: an iPhone shows no :active without a
   touch listener, and the log-in adds none. */
@media (hover:none){.login-page{-webkit-tap-highlight-color:rgba(139,154,234,.14)}}
.login-page ::selection{background:rgba(139,154,234,.35);color:#fff}
.login-page :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.login-page a,.login-page button,.login-page summary,.login-page label{touch-action:manipulation}
/* Passkeys (control 0026): every passkey control is drawn hidden until the log-in script finds the browser
   can use one. The .btn and .login-option rules set their own display, which beats the browser's own [hidden]
   rule, so it is restated here and nothing drawn hidden can ever show without the script. */
.login-page [hidden]{display:none!important}
/* The lamp: the ledger ink falling from above. Fixed, so it is the room's light, not the content's, and sized
   in px so it is the same on a short laptop and a tall phone. */
.login-page::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background:radial-gradient(720px 440px at 50% -60px,rgba(44,62,156,.42),rgba(44,62,156,0) 72%),
  radial-gradient(1400px 680px at 50% -200px,rgba(44,62,156,.16),rgba(44,62,156,0) 70%)}
/* The site's film grain, on a fixed layer above everything, never on scrolling content. */
.login-page::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:40;opacity:.05;
  background-image:url(/_talstok/sign-in/assets/grain.svg?v=f0c6cfa941)}

/* The pill at the top: the mark and the name, as the site's header; the test copy's chip beside them. */
.login-head{position:relative;z-index:2;display:flex;align-items:center;gap:12px;min-height:50px;margin:16px 0 0;
  padding:6px 20px 6px 16px;background:rgba(17,20,27,.88);border:1px solid var(--line);border-radius:999px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 18px 40px -18px rgba(3,6,22,.9)}
.login-page .login-head .brand{display:flex;align-items:center;gap:8px;min-height:38px;color:var(--ink)}
.login-page .login-head .brand svg{width:22px;height:22px;flex:0 0 22px}
.login-page .login-head .brand .wordmark{font-size:17px;font-weight:600;letter-spacing:-.01em;line-height:1;color:var(--ink)}
.login-mode{font:500 11px/1.5 var(--mono);letter-spacing:.02em;color:var(--bg);background:var(--chip-test);
  padding:2px 8px;border-radius:4px}

/* The room: the tray in the middle of it, a little above. A tray taller than the screen starts at the top. */
.login-main{position:relative;z-index:1;flex:1 0 auto;width:100%;display:flex;flex-direction:column;align-items:center;
  padding:40px 0 56px}
.login-main>.login-tray{margin-top:auto}
.login-main>:last-child{margin-bottom:auto}
@media (min-height:760px){.login-main{padding-bottom:9vh}}
.login-tray{width:min(100%,460px);padding:6px;border-radius:26px;background:rgba(255,255,255,.035);
  border:1px solid var(--line-2);box-shadow:0 40px 90px -40px rgba(3,6,22,.95)}
.login-main.wide>.login-tray{width:min(100%,540px)}
.login-card{position:relative;padding:40px;border-radius:19px;
  background:radial-gradient(60% 140px at 50% 0,rgba(139,154,234,.09),rgba(139,154,234,0)),
  linear-gradient(180deg,rgba(139,154,234,.05),rgba(139,154,234,0) 150px),var(--plate);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 1px 2px rgba(3,6,22,.6)}
/* The lit edge: where the lamp catches the plate. */
.login-card::before{content:"";position:absolute;top:0;left:8%;right:8%;height:1px;pointer-events:none;
  background:linear-gradient(90deg,rgba(200,208,248,0),rgba(200,208,248,.95) 50%,rgba(200,208,248,0))}

/* Words. */
.login-card h1{margin:0;font-size:30px;line-height:1.15;font-weight:500;letter-spacing:-.03em;text-wrap:balance;color:var(--ink)}
.login-card h2{margin:0;font-size:17px;line-height:1.35;font-weight:500;letter-spacing:-.01em;text-wrap:balance;color:var(--ink)}
.login-card p{margin:0;text-wrap:pretty}
.login-card .login-sub{margin:10px 0 0;color:var(--ink-2);font-size:16px;line-height:1.5}
.login-sub b{color:var(--ink);font-weight:500;overflow-wrap:anywhere}

/* What went wrong, and what was done: a line in its own colour, with a drawn mark so it is never told by
   colour alone. */
.login-card .login-problem,.login-card .login-note{display:flex;align-items:flex-start;gap:10px;margin:20px 0 0;
  padding:12px 14px;border-radius:12px;font-size:15px;line-height:1.45}
.login-card .login-problem::before,.login-card .login-note::before{content:"";flex:0 0 18px;height:18px;margin-top:1px;
  background:center/18px no-repeat}
.login-problem{color:var(--danger);background:rgba(242,160,160,.08);border:1px solid rgba(242,160,160,.38)}
.login-card .login-problem::before{background-image:url(/_talstok/sign-in/assets/problem.svg?v=bd049e97)}
.login-note{color:var(--fine);background:rgba(111,207,151,.07);border:1px solid rgba(111,207,151,.32)}
.login-card .login-note::before{background-image:url(/_talstok/sign-in/assets/note.svg?v=8cccb750)}

/* Forms. Every box 52px tall and 17px (an iPhone zooms the page into anything under 16px), set into the
   plate a shade darker, its edge 3:1 or better, and lit in the light ink with a soft halo when it has focus. */
.login-page .login-form{display:grid;gap:20px;margin:28px 0 0}
.login-page .login-form .field{display:grid;gap:8px;max-width:none;margin:0;min-width:0}
.login-page .login-form .field>label{font-size:15px;line-height:1.35;font-weight:500;color:var(--ink)}
/* The press a little apart from what it sends (not a passkey's, which follows only hidden boxes). */
.login-page .login-form>:not(input)+.login-go{margin-top:4px}
.login-page input[type=email],.login-page input[type=text],.login-page input[type=tel]{display:block;width:100%;height:52px;
  margin:0;padding:0 16px;font:400 17px/1.2 var(--sans);color:var(--ink);background:var(--well);border:1px solid var(--edge);
  border-radius:12px;box-shadow:none;caret-color:var(--accent);outline:2px solid transparent;outline-offset:2px;
  transition:border-color 150ms var(--ease),box-shadow 150ms var(--ease)}
.login-page input[type=email]:focus,.login-page input[type=text]:focus,.login-page input[type=tel]:focus{
  background:var(--well);border-color:var(--accent);box-shadow:0 0 0 1px var(--accent),0 0 0 5px var(--halo)}
.login-page input[aria-invalid=true]{border-color:var(--danger)}
.login-page input.login-recovery{font:500 19px/1.2 var(--mono);letter-spacing:.05em}
/* The browser's own autofill paints a pale box; keep the night's well and words. */
.login-page input:-webkit-autofill,.login-page input:-webkit-autofill:hover{-webkit-text-fill-color:var(--ink);
  caret-color:var(--accent);-webkit-box-shadow:0 0 0 60px var(--well) inset;box-shadow:0 0 0 60px var(--well) inset}
.login-page input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 60px var(--well) inset,0 0 0 1px var(--accent),0 0 0 5px var(--halo);
  box-shadow:0 0 0 60px var(--well) inset,0 0 0 1px var(--accent),0 0 0 5px var(--halo)}

/* THE SIX-DIGIT CODE: one box for the browser (autofill, paste, a phone's keypad), drawn as six slots. The
   input sits over the slots; Geist Mono's even figures and a letter spacing of one slot put each digit in
   the middle of its own slot. The slots are as wide as the plate allows, up to 64px. Without the script,
   every slot lights while the box has focus; with it (data-at), the slot the caret is in.
   The caret after the sixth digit lies past the clip's right edge, and a browser scrolls an overflow:hidden box
   to show the caret: typed or autofilled from the keyboard, every digit moved half a slot left (Daniel, 20 Oct
   2026, item log-in-code-boxes). overflow:clip is never a scroll container, so the digits stay put; hidden
   remains for a browser without clip (Safari before 16). */
.login-code-field{container-type:inline-size}
.login-code{--gap:10px;--cell:62px;--fs:calc(var(--cell)*.52);position:relative;
  width:calc(var(--cell)*6 - var(--gap));height:calc(var(--cell)*1.1)}
@supports (width:1cqi){.login-code{--cell:min(64px,calc((100cqi + var(--gap))/6))}}
@media (max-width:480px){.login-code{--gap:8px}}
.login-code-slots{position:absolute;inset:0;pointer-events:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  column-gap:var(--gap)}
.login-code-slots>span{border-radius:12px;background:var(--well);border:1px solid var(--edge);
  transition:border-color 120ms var(--ease),box-shadow 120ms var(--ease)}
.login-code-clip{position:absolute;inset:0;overflow:hidden;overflow:clip;border-radius:12px}
.login-page input.login-code-input,.login-page input.login-code-input:focus{position:absolute;top:0;left:0;z-index:1;
  width:calc(var(--cell)*7);height:100%;margin:0;padding:0 0 0 calc((var(--cell) - var(--gap))/2 - .5ch);
  border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;
  font:500 var(--fs)/1 var(--mono);letter-spacing:calc(var(--cell) - 1ch);color:var(--ink);caret-color:var(--accent)}
.login-page input.login-code-input::selection{background:rgba(139,154,234,.4)}
.login-page input.login-code-input:-webkit-autofill{-webkit-box-shadow:none;box-shadow:none;
  transition:background-color 100000s 0s}
.login-code:focus-within .login-code-slots>span{border-color:var(--accent)}
.login-code[data-at]:focus-within .login-code-slots>span{border-color:var(--edge-hover)}
.login-code[data-at="0"]:focus-within .login-code-slots>span:nth-child(1),
.login-code[data-at="1"]:focus-within .login-code-slots>span:nth-child(2),
.login-code[data-at="2"]:focus-within .login-code-slots>span:nth-child(3),
.login-code[data-at="3"]:focus-within .login-code-slots>span:nth-child(4),
.login-code[data-at="4"]:focus-within .login-code-slots>span:nth-child(5),
.login-code[data-at="5"]:focus-within .login-code-slots>span:nth-child(6),
.login-code[data-at="6"]:focus-within .login-code-slots>span{border-color:var(--accent);
  box-shadow:0 0 0 1px var(--accent),0 0 0 5px var(--halo)}

/* The tick. Drawn, in the ledger ink, its edge every box's. */
.login-page .login-tick{display:flex;align-items:center;gap:12px;margin:0;font-size:15px;line-height:1.4;color:var(--ink);
  cursor:pointer;-webkit-user-select:none;user-select:none}
.login-page .login-tick input,.login-page .login-part input{-webkit-appearance:none;appearance:none;flex:none;width:24px;height:24px;margin:0;
  border:1px solid var(--edge);border-radius:7px;background:var(--well);box-shadow:none;cursor:pointer;
  transition:background-color 150ms var(--ease),border-color 150ms var(--ease)}
.login-page .login-tick input:checked,.login-page .login-part input:checked{background:var(--lamp) url(/_talstok/sign-in/assets/tick.svg?v=8134c07f) center/14px no-repeat;
  border-color:var(--accent)}
.login-page .login-tick input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* Buttons: the site's filled one (the arrow in its own circle), and the quiet one with an edge. Pills. */
.login-page .btn{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;height:auto;min-height:52px;
  margin:0;padding:0 20px;border:1px solid var(--edge);border-radius:999px;background:transparent;box-shadow:none;
  color:var(--ink);font:500 16px/1.2 var(--sans);text-align:center;text-decoration:none;white-space:normal;cursor:pointer;
  -webkit-user-select:none;user-select:none;
  transition:transform 160ms var(--ease),background-color 200ms var(--ease),border-color 200ms var(--ease)}
.login-page .login-go{width:100%}
.login-page .btn.btn-primary{padding:6px 56px;border:0;background:var(--lamp);color:#fff;font-weight:500;
  box-shadow:inset 0 0 0 1px var(--lamp-rim),inset 0 1px 0 rgba(255,255,255,.2),0 14px 32px -14px rgba(44,62,156,.95)}
.login-page .login-go.btn-primary::after{content:"";position:absolute;right:6px;top:50%;width:40px;height:40px;margin-top:-20px;
  border-radius:50%;background:rgba(255,255,255,.14) url(/_talstok/sign-in/assets/arrow.svg?v=e12a92f0) center/16px no-repeat;
  transition:transform 300ms var(--ease)}
.login-page .btn:active{transform:scale(.98)}
.login-page .btn.btn-primary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.login-page .btn .login-icon{flex:none;width:18px;height:18px;color:var(--accent)}
.login-page .login-download{margin-top:14px}

/* Links: underlined, because beside grey words colour alone is not enough; 44px to tap. A press that writes
   (Send a new code, Text me a code instead) is a form's button drawn the same. */
.login-card .login-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:0 28px;margin:18px 0 0;
  font-size:15px;line-height:1.3}
.login-page .login-links a:not(.btn),.login-page .login-links .linkish{display:inline-flex;align-items:center;height:auto;
  min-height:44px;margin:0;padding:0 2px;border:0;border-radius:0;background:none;box-shadow:none;color:var(--accent);
  font:400 15px/1.3 var(--sans);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;
  text-decoration-color:rgba(139,154,234,.5);cursor:pointer;
  transition:color 200ms var(--ease),text-decoration-color 200ms var(--ease)}
.login-links .login-press{display:contents}
.login-card .login-links>.login-go{margin-top:10px}

/* "or", between Continue with email and Sign in with passkey, as Shopify's page has it: a hairline each side. */
.login-card .login-or{display:flex;align-items:center;gap:14px;margin:22px 0;color:var(--ink-2);font-size:14px}
.login-card .login-or::before,.login-card .login-or::after{content:"";flex:1;height:1px;background:var(--line)}
.login-card .login-or+.login-form{margin-top:0}

/* A choice: each a whole control, ending in a drawn chevron. */
.login-page .login-choice{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:10px}
.login-page .login-choice form{margin:0}
.login-page .login-option{display:flex;align-items:center;gap:10px;width:100%;height:auto;min-height:60px;margin:0;
  padding:0 16px 0 18px;border:1px solid var(--edge);border-radius:12px;background:rgba(255,255,255,.015);box-shadow:none;
  color:var(--ink);font:500 16px/1.3 var(--sans);text-align:left;text-decoration:none;white-space:normal;cursor:pointer;
  -webkit-user-select:none;user-select:none;
  transition:background-color 200ms var(--ease),border-color 200ms var(--ease),transform 160ms var(--ease)}
.login-page .login-option>.login-chevron{margin-left:auto}
.login-page .login-option:active{transform:scale(.99)}
.login-page .login-option:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.login-page .login-chevron{flex:0 0 16px;width:16px;height:16px;color:var(--ink-2);
  transition:transform 300ms var(--ease),color 200ms var(--ease)}
/* The chip: the site's flag. */
.login-page .pill{display:inline-block;height:auto;margin:0;padding:2px 8px;border-radius:4px;background:var(--accent);
  color:var(--bg);font:500 11px/1.5 var(--mono);letter-spacing:.02em;white-space:nowrap}

/* Setting up the app: three steps, a real sequence, numbered and joined by a line. */
.login-page .login-steps{list-style:none;margin:30px 0 0;padding:0;counter-reset:step;display:grid;gap:26px}
.login-page .login-steps>li{position:relative;padding-left:44px;counter-increment:step;min-width:0}
.login-page .login-steps>li::before{content:counter(step);position:absolute;left:0;top:-2px;width:28px;height:28px;
  display:grid;place-items:center;border-radius:50%;border:1px solid var(--edge);background:var(--well);color:var(--ink);
  font:500 13px/1 var(--mono)}
.login-page .login-steps>li+li::after{content:"";position:absolute;left:13.5px;top:-24px;height:18px;width:1px;background:var(--line)}
.login-page .login-steps p{margin-top:6px;color:var(--ink-2);font-size:15px;line-height:1.5}
.login-page .login-steps .login-form{margin-top:16px}
/* The QR code on white, as a scanner wants it, with a wide quiet edge against the dark. */
.login-page .login-qr{display:inline-block;margin:14px 0 0;padding:8px;border-radius:12px;background:#fff;line-height:0}
.login-page .login-qr svg{display:block;width:152px;height:152px}
/* Can't scan it: a disclosure drawn as a link, its chevron turning as it opens. */
.login-page .login-key{margin-top:6px;font-size:15px}
.login-page .login-key summary{display:inline-flex;align-items:center;gap:10px;min-height:44px;list-style:none;color:var(--accent);
  font:400 15px/1.3 var(--sans);cursor:pointer;-webkit-user-select:none;user-select:none;text-decoration:underline;text-decoration-thickness:1px;
  text-underline-offset:4px;text-decoration-color:rgba(139,154,234,.5)}
.login-page .login-key summary::-webkit-details-marker{display:none}
.login-page .login-key summary::before{content:none}
.login-page .login-key summary::after{content:"";width:6px;height:6px;margin-top:-3px;border:solid currentColor;
  border-width:0 1.5px 1.5px 0;transform:rotate(45deg);transition:transform 220ms var(--ease)}
.login-page .login-key[open] summary::after{margin-top:3px;transform:rotate(-135deg)}
.login-page .login-key a{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;
  text-decoration-color:rgba(139,154,234,.5)}
/* The key, for typing in: even figures, in fours, one tap selects all of it. */
.login-page .login-key .login-mono{margin-top:10px;padding:10px 14px;border-radius:12px;background:var(--well);
  border:1px solid var(--edge-quiet);box-shadow:none;font:500 15px/1.65 var(--mono);letter-spacing:.05em;word-spacing:.25em;
  color:var(--ink)}

/* Recovery codes: ten, in two even columns, set into the plate; each dash quieter than its letters. */
.login-page .login-codes{margin:28px 0 0;padding:18px 22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;
  border-radius:14px;background:var(--well);border:1px solid var(--edge-quiet);box-shadow:none}
.login-page .login-codes .login-mono{font:500 17px/1.4 var(--mono);letter-spacing:.05em;color:var(--ink);overflow-wrap:normal}
.login-dash{color:var(--ink-2);padding:0 1px}
@media (max-width:400px){
  .login-page .login-codes{padding:16px;gap:10px 12px}
  .login-page .login-codes .login-mono{font-size:15.5px;letter-spacing:.03em}
}
@media (max-width:350px){.login-page .login-codes{grid-template-columns:minmax(0,1fr)}}

/* ---- THE SIGN-UP PAGES (items 3zl + 3zm), in the same night ----------------------------------------- */
/* The other way in, under the card on the page's ground (mock-up B): Log in's "New to …? Get started", Sign up's
   "Already have an account? Log in". The grey is the ground's (7:1 there). */
.login-foot{position:relative;z-index:1;margin:22px 0 0;color:var(--ink-2);font-size:15px;line-height:1.4;text-align:center}
.login-page .login-foot a{display:inline-flex;align-items:center;min-height:32px;padding:0 2px;color:var(--accent);
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:rgba(139,154,234,.5);
  transition:color 200ms var(--ease),text-decoration-color 200ms var(--ease)}
/* New business: Town or city and Postcode on one row, stacked on a narrow phone. */
.login-pair{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px}
@media (max-width:400px){.login-pair{grid-template-columns:minmax(0,1fr)}}

/* YOUR SHOP: the one page that explains (the operator, 7 Oct 2026). A wider tray (860px) with its boxes kept to a
   readable 520px; each base a group with its words, its parts whole tickable rows, lit when ticked; on a wide screen
   each base's words on the left and its parts on the right, as a settings page lays out a section, so the page is
   half as long and every base's name stays beside its parts. Bases still to come are drawn dashed, as the site
   draws what is Coming, side by side, with nothing to tick. The form is the one marked data-native-enter. */
.login-main.wide>.login-tray:has(.login-base){width:min(100%,860px)}
.login-page .login-form[data-native-enter]{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px}
.login-page .login-form[data-native-enter]>*{grid-column:1/-1}
.login-page .login-form[data-native-enter]>.login-coming{grid-column:auto}
.login-page .login-form[data-native-enter]>.field{max-width:520px}
.login-suggest{display:flex;gap:10px}
.login-suggest input{flex:1;min-width:0}
.login-page .login-suggest .btn{width:auto;flex:none;padding:0 24px}
/* "Suggested for …": a quiet line with a tick under the box, not a box of its own. */
.login-page .login-form>.login-note{margin:-6px 0 0;padding:0;align-items:center;gap:8px;background:none;border:0;
  color:var(--muted-lit)}
.login-page .login-form>.login-note::before{flex-basis:16px;height:16px;margin:0;background-size:16px}
.login-page .login-base{margin:0;padding:20px 0 0;border:0;border-top:1px solid var(--line-2);min-width:0;display:grid}
.login-page .login-base>legend{float:left;width:100%;padding:0;font-size:20px;line-height:1.3;font-weight:600;
  letter-spacing:-.02em;color:var(--ink)}
.login-page .login-base>legend .pill{margin-left:6px;vertical-align:3px}
/* A base's own tick sits in its heading, the name its label, in the heading's type. */
.login-page .login-base>legend .login-tick{display:inline-flex;font:inherit;color:inherit}
.login-card .login-base-line{margin-top:4px;font-size:15px;line-height:1.45;color:var(--muted-lit)}
.login-card .login-base-suits{margin-top:2px;font-size:14px;line-height:1.45;color:var(--ink-2)}
.login-parts{display:grid;gap:8px;margin-top:14px;min-width:0}
.login-page .login-part{display:grid;grid-template-columns:24px minmax(0,1fr);gap:14px;align-items:start;margin:0;padding:14px 16px;
  border:1px solid var(--edge);border-radius:12px;background:rgba(255,255,255,.015);cursor:pointer;-webkit-user-select:none;
  user-select:none;transition:border-color 150ms var(--ease),background-color 150ms var(--ease)}
.login-page .login-part input:focus-visible{outline:none}
.login-page .login-part:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
@supports not selector(:has(*)){.login-page .login-part input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}}
.login-page .login-part:has(input:checked){border-color:rgba(139,154,234,.75);background:rgba(139,154,234,.07)}
.login-part>span{display:grid;gap:2px;min-width:0}
.login-part b{font-size:16px;line-height:1.35;font-weight:500;color:var(--ink)}
.login-part>span>span{font-size:15px;line-height:1.45;color:var(--ink-2)}
.login-page .login-part-suits{margin-top:2px;font-size:14px;line-height:1.4}
.login-page .login-coming{padding:14px 16px;border:1px dashed var(--edge-quiet);border-radius:12px;align-content:start}
.login-page .login-coming>legend{font-size:15px;font-weight:500;letter-spacing:0;color:var(--muted-lit)}
.login-page .login-coming .login-base-line{font-size:14px;color:var(--ink-2)}
.login-page .login-coming .login-base-suits{font-size:13.5px}
@media (min-width:900px){
  .login-page .login-base:not(.login-coming){grid-template-columns:250px minmax(0,1fr);grid-template-rows:auto auto auto 1fr;
    column-gap:40px;padding:26px 0 6px}
  .login-base:not(.login-coming)>legend,.login-base:not(.login-coming)>.login-base-line,
  .login-base:not(.login-coming)>.login-base-suits{grid-column:1}
  .login-base:not(.login-coming)>.login-parts{grid-column:2;grid-row:1 / span 4;margin-top:0}
}
@media (max-width:520px){
  .login-page .login-form[data-native-enter]>.login-coming{grid-column:1/-1}
  .login-page .login-part{gap:12px;padding:12px 14px}
}

/* NEW SHOP. Being made (the test host reloads the page every 2 seconds): the mark, dim, with the lamp's light
   running once along its ledge each load. The one moving thing, and it is state, not decoration: it says work is
   going on. Less motion: the mark stays still and the words say it. Made (the live host's Open your test shop):
   the same mark, lit. The mark is drawn by the stylesheet; the page's own element is the progress bar. */
.login-card:has(>.login-wait),.login-card:has(>.login-made){display:flex;flex-direction:column;text-align:center}
.login-wait,.login-made{position:relative;display:block;flex:none;width:64px;height:64px;margin:0 auto 26px;
  background:url(/_talstok/sign-in/assets/mark-dim.svg?v=e97a75ff) center/64px no-repeat}
.login-card>.login-wait{order:-1}
.login-made{background-image:url(/_talstok/sign-in/assets/mark-lit.svg?v=624323da)}
.login-wait::before{content:"";position:absolute;left:8.333%;top:70.833%;width:83.333%;height:16.667%;border-radius:999px;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.9) 50%,rgba(255,255,255,0)) -100% 0/50% 100% no-repeat}
.login-card:has(>.login-made) .login-form{width:100%}

/* A phone: the plate's insides narrower, the heading a step smaller. */
@media (max-width:480px){
  .login-card{padding:30px 22px 26px}
  .login-card h1{font-size:26px}
}

/* Hover: a mouse only, so a tap never leaves one behind. */
@media (hover:hover) and (pointer:fine){
  .login-page .btn:not(.btn-primary):hover{background:rgba(255,255,255,.05);border-color:var(--edge-hover);color:var(--ink)}
  .login-page .btn.btn-primary:hover{background:var(--lamp-hover);color:#fff}
  .login-page .login-go.btn-primary:hover::after{transform:translateX(3px)}
  .login-page input[type=email]:hover:not(:focus),.login-page input[type=text]:hover:not(:focus),
  .login-page input[type=tel]:hover:not(:focus){border-color:var(--edge-hover)}
  .login-page .login-links a:not(.btn):hover,.login-page .login-links .linkish:hover,.login-page .login-key a:hover,
  .login-page .login-key summary:hover{color:var(--accent-2);text-decoration-color:var(--accent)}
  .login-page .login-option:hover{background:rgba(255,255,255,.045);border-color:var(--edge-hover)}
  .login-page .login-option:hover .login-chevron{transform:translateX(2px);color:var(--ink)}
  .login-page .login-tick:hover input:not(:checked){border-color:var(--edge-hover)}
  .login-page .login-foot a:hover{color:var(--accent-2);text-decoration-color:var(--accent)}
  .login-page .login-part:hover{border-color:var(--edge-hover)}
  .login-page .login-part:hover input:not(:checked){border-color:var(--edge-hover)}
}

/* Motion: the answers to a press, and the key opening under its words. Less motion: nothing moves. */
@media (prefers-reduced-motion:no-preference){
  .login-page .login-key[open]>:not(summary){animation:login-open 220ms var(--ease)}
  @keyframes login-open{from{opacity:0;transform:translateY(-6px)}}
  .login-wait::before{animation:login-sheen 2s cubic-bezier(.77,0,.175,1) 200ms infinite both}
  @keyframes login-sheen{0%{background-position:-100% 0}70%,100%{background-position:200% 0}}
}
@media (prefers-reduced-motion:reduce){
  .login-page .btn:active,.login-page .login-option:active{transform:none}
  .login-page .login-go.btn-primary::after,.login-page .login-chevron,.login-page .login-key summary::after{transition:none}
}
/* Forced colours (Windows contrast themes) drop shadows and drawn boxes: the code box and the tick keep a
   visible focus and a real box. */
@media (forced-colors:active){
  .login-code:focus-within{outline:2px solid Highlight;outline-offset:4px;border-radius:12px}
  .login-page .login-tick input{-webkit-appearance:checkbox;appearance:auto}
}
