/* GT-Mall-Manager: one small stylesheet, no framework. Readable at any size, keyboard-visible focus, high contrast.
   Colours are branding/brand.json's: olive primary, gold accent, cream. The product page (body.landing) is full width;
   every other page keeps the narrow reading column. */
:root {
  --ink: #1f2419;
  --paper: #ffffff;
  --soft: #f8f3e3;
  --muted: #565c4e;
  --line: #ddd6c3;
  --accent: #566b4b;
  --accent-ink: #ffffff;
  --deep: #2f3d26;
  --gold: #e6c77e;
  --gold-deep: #a88a45;
  --hero-ink: #f8f3e3;
  --error: #a60000;
  --ok: #1a6b1a;
  --info: #35507a;
  --bg-error: #fff2f2;
  --bg-ok: #eefaee;
  --bg-info: #eef3fb;
  --shadow: 0 1px 2px rgba(31, 36, 25, 0.08), 0 8px 24px rgba(31, 36, 25, 0.1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ece9dd;
    --paper: #14170f;
    --soft: #1c2116;
    --muted: #b4b3a5;
    --line: #3a4033;
    --accent: #e6c77e;
    --accent-ink: #20261a;
    --deep: #232e1c;
    --error: #ff9a9a;
    --ok: #9be29b;
    --info: #b7cdf1;
    --bg-error: #3a1414;
    --bg-ok: #143a14;
    --bg-info: #1a2740;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}
* { box-sizing: border-box; }
html { font: 18px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--paper); }
body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; }
.wrap, main { width: 100%; max-width: 60rem; margin: 0 auto; padding: 0 1rem; }

/* Header and footer: full width, content in the column. */
header.site { border-bottom: 1px solid var(--line); background: var(--paper); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.brand { font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--ink); }
.brand img { display: block; height: 48px; width: auto; }
@media (prefers-color-scheme: dark) { .brand img { border-radius: 6px; } }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; }
nav a { text-decoration: none; font-weight: 500; }
nav a:hover { text-decoration: underline; }
nav .who { color: var(--muted); }
nav a.button { margin: 0; }
main { flex: 1; padding-top: 1.5rem; padding-bottom: 2.5rem; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; background: var(--soft); }
footer.site .wrap { padding-top: 1rem; padding-bottom: 1.25rem; }
footer.site p { margin: 0; max-width: none; }
/* The footer: the brand, three columns of links, the legal line. */
footer.site:has(.foot-grid) { background: var(--paper); }
footer.site .wrap.wide { max-width: 72rem; padding-top: 2.5rem; padding-bottom: 1.5rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.foot-brand .brand img { height: 40px; }
.foot-brand p { margin: 0.75rem 0 0; max-width: 22rem; }
footer.site .foot-col { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 0.45rem; }
footer.site .foot-col h2 { font-size: 0.8rem; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-deep); margin: 0 0 0.25rem; }
footer.site .foot-col a { color: var(--ink); text-decoration: none; font-weight: 400; }
footer.site .foot-col a:hover { color: var(--accent); text-decoration: underline; }
footer.site .foot-legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.85rem; }
@media (max-width: 52rem) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: 0.5rem; }
.skip:focus { left: 1rem; z-index: 10; }
h1 { font-size: 1.8rem; line-height: 1.2; margin: 0 0 0.5rem; }
h2 { font-size: 1.3rem; line-height: 1.25; margin: 1.5rem 0 0.5rem; }
p, ul, ol { max-width: 45rem; }
form { max-width: 28rem; }
label { display: block; font-weight: 600; margin-top: 1rem; }
p.check { margin-top: 1rem; display: flex; gap: 0.5rem; align-items: flex-start; }
p.check label { display: inline; font-weight: normal; margin-top: 0; }
input[type="text"], input[type="email"], input[type="password"], select, textarea { display: block; width: 100%; font: inherit; padding: 0.5rem; margin-top: 0.25rem; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); }
button, a.button { display: inline-block; font: inherit; font-weight: 600; margin-top: 1rem; padding: 0.55rem 1.1rem; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: var(--accent-ink); cursor: pointer; text-decoration: none; line-height: 1.5; }
button:hover, a.button:hover { filter: brightness(1.08); text-decoration: none; }
button.quiet, a.button.quiet { background: transparent; color: var(--accent); }
.help { color: var(--muted); font-size: 0.9rem; margin: 0.25rem 0 0; }
.notice { padding: 0.75rem 1rem; border-left: 4px solid; border-radius: 4px; margin: 1rem 0; max-width: 45rem; }
.notice.error { border-color: var(--error); background: var(--bg-error); }
.notice.ok { border-color: var(--ok); background: var(--bg-ok); }
.notice.info { border-color: var(--info); background: var(--bg-info); }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
th, td { text-align: left; padding: 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; }
code, .code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1rem; }
.codes { columns: 2; max-width: 20rem; }
.codes li { font-family: ui-monospace, Consolas, monospace; font-size: 1.1rem; }
.qr svg { width: 12rem; height: 12rem; background: #fff; padding: 0.5rem; }
.muted { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.card { border: 1px solid var(--line); border-radius: 8px; padding: 1rem; background: var(--paper); }
.inline { display: inline; }
.inline button { margin: 0; padding: 0.2rem 0.6rem; font-weight: 500; }

/* ---- The product page ---- */
.landing main { max-width: none; padding: 0; display: flex; flex-direction: column; }
.landing section { padding: 4rem 0; }
.landing section.soft { background: var(--soft); }
.landing h2 { font-size: 2rem; margin: 0 0 0.75rem; letter-spacing: -0.01em; }
.landing h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
.landing .wrap.wide { max-width: 72rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--gold-deep); margin: 0 0 0.5rem; }
.section-head { text-align: center; margin: 0 auto 2.5rem; max-width: 44rem; }
.section-head p { margin: 0 auto; color: var(--muted); font-size: 1.1rem; }

/* Hero: the brand's olive, the register screen in a window frame. */
.hero { background: linear-gradient(160deg, #566b4b 0%, #2f3d26 75%); color: var(--hero-ink); overflow: hidden; }
.landing section.hero { padding: 4.5rem 0 0; }
.hero .wrap { text-align: center; }
.hero .eyebrow { color: var(--gold); margin: 0 auto 0.5rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 auto 1rem; max-width: 18em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 1.2rem; margin: 0 auto; max-width: 40rem; color: #e9e4d2; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 2rem 0 0.75rem; }
.actions .button { margin: 0; padding: 0.75rem 1.5rem; font-size: 1.05rem; }
.hero .button, .cta .button { background: var(--gold); border-color: var(--gold); color: #20261a; }
.hero .button.quiet, .cta .button.quiet { background: transparent; border-color: rgba(248, 243, 227, 0.6); color: var(--hero-ink); }
.hero .fine { font-size: 0.9rem; color: #cfc9b4; margin: 0 auto; }
/* A Windows 11 window: the app's title bar (icon, title, minimise / maximise / close), square-cut where the hero ends. */
.window { margin: 3rem auto 0; max-width: 64rem; border-radius: 8px 8px 0 0; overflow: hidden; background: #f3f3f3; border: 1px solid rgba(0, 0, 0, 0.35); border-bottom: 0; box-shadow: 0 -2px 40px rgba(0, 0, 0, 0.35); }
.window .bar { display: flex; align-items: center; height: 2.1rem; padding-left: 0.75rem; gap: 0.6rem; color: #1b1b1b; font: 0.78rem/1 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; text-align: left; }
.window .bar img { width: 16px; height: 16px; border-radius: 3px; }
.window .bar .title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window .caption { display: flex; align-self: stretch; }
.window .caption i { position: relative; width: 2.9rem; }
.window .caption i::before, .window .caption i::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.window .caption .min::before { width: 10px; height: 1px; background: currentColor; }
.window .caption .max::before { width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 2px; }
.window .caption .close::before, .window .caption .close::after { width: 13px; height: 1px; background: currentColor; }
.window .caption .close::before { transform: translate(-50%, -50%) rotate(45deg); }
.window .caption .close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.window img, .shot img { display: block; width: 100%; height: auto; }
/* The hero's screens cross-fade: light (always underneath), then dark, bigger text, another font; each fades in over
   the last, the last fades out to light again. 20 s a round, 5 s a look. Still for anyone who asks for less motion. */
.slides { position: relative; }
.slide.fade { position: absolute; inset: 0; opacity: 0; animation: 20s linear infinite slide-hold; }
.slide.s2 { animation-delay: 5s; }
.slide.s3 { animation-delay: 10s; }
.slide.s4 { animation-name: slide-last; animation-delay: 15s; }
@keyframes slide-hold { 0% { opacity: 0; } 5% { opacity: 1; } 30% { opacity: 1; } 30.01% { opacity: 0; } 100% { opacity: 0; } }
@keyframes slide-last { 0% { opacity: 0; } 5% { opacity: 1; } 20% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }
.slide .tag { position: absolute; right: 1rem; bottom: 1rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: rgba(31, 36, 25, 0.85); color: #f8f3e3; font-size: 0.85rem; font-weight: 600; }
/* The title bar follows the screen under it: dark while the dark frames show (5-10 s and 15-20 s of the round). */
.window .bar { animation: 20s linear infinite bar-theme; }
@keyframes bar-theme {
  0%, 25% { background: #f3f3f3; color: #1b1b1b; }
  30%, 50% { background: #202020; color: #ffffff; }
  55%, 75% { background: #f3f3f3; color: #1b1b1b; }
  80%, 95% { background: #202020; color: #ffffff; }
  100% { background: #f3f3f3; color: #1b1b1b; }
}
@media (prefers-reduced-motion: reduce) { .slide.fade { animation: none; opacity: 0; } .window .bar { animation: none; } }
@media (max-width: 40rem) { .window .bar { height: 1.7rem; font-size: 0.7rem; } .window .caption i { width: 2rem; } }
@media (max-width: 40rem) { .slide .tag { right: 0.5rem; bottom: 0.5rem; padding: 0.15rem 0.5rem; font-size: 0.7rem; } }

/* A shorter hero, for pages after the product page. */
.landing section.hero.short { padding: 3.5rem 0 3rem; }
.hero.short h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }

/* Two panels side by side (downloads). */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 1.75rem; background: var(--paper); }
.panel h2 { font-size: 1.5rem; }
/* "Waiting to approve" (Add a register): one card per register that arrived through the owner's own link. */
.waiting-list { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.waiting { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; margin: 0.75rem 0; }
.waiting-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; margin-bottom: 0.5rem; }
.panel.narrow + .panel.narrow { margin-top: 1.25rem; }
.panel p, .panel ul { max-width: none; }
.notes ul { padding-left: 1.2rem; }
.notes li { margin: 0.4rem 0; }
.notes li::marker { color: var(--gold-deep); }
ul.checks { list-style: none; padding: 0; margin: 1rem 0; }
ul.checks li { position: relative; padding-left: 1.8rem; margin: 0.7rem 0; }
ul.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 0.15rem; }
.checksum { word-break: break-all; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 0.6rem 0.8rem; font-size: 0.85rem; }

/* Sign-up: the pitch on the brand's olive, the form in a card beside it. */
.landing section.signup { background: linear-gradient(160deg, #566b4b 0%, #2f3d26 75%); color: var(--hero-ink); padding: 4rem 0 5rem; }
.signup-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: start; }
.signup-intro .eyebrow { color: var(--gold); }
.signup-intro h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1rem; }
.signup-intro p { color: #e9e4d2; }
.signup-intro .lead { font-size: 1.15rem; }
.signup-intro h2 { font-size: 1.15rem; margin: 2rem 0 0.75rem; }
.signup-intro a { color: var(--gold); }
.next-steps { list-style: none; padding: 0; counter-reset: next; }
.next-steps li { counter-increment: next; position: relative; padding-left: 2.4rem; margin: 0 0 0.9rem; color: #e9e4d2; }
.next-steps li::before { content: counter(next); position: absolute; left: 0; top: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--gold); color: #20261a; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }
.form-card { color: var(--ink); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); padding: 2rem; }
.form-card form { max-width: none; }
.form-card form > label:first-child { margin-top: 0; }
.form-card form > button { width: 100%; padding: 0.8rem; margin-top: 1.5rem; font-size: 1.05rem; }
.form-card .notice { margin-top: 0; }
.form-card .switch { text-align: center; margin: 1.25rem 0 0; color: var(--muted); }
.cf-turnstile { margin-top: 1rem; }

/* One step on its own (sign-in, two-step, an emailed link): a card centred on the brand's band. */
.landing section.auth { background: linear-gradient(160deg, #566b4b 0%, #2f3d26 75%); padding: 3.5rem 0 4.5rem; flex: 1; }
.auth-card { max-width: 30rem; margin: 0 auto; padding: 2rem; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); }
.auth-card h1 { font-size: 1.7rem; }
.auth-card form { max-width: none; }
.auth-card form > button, .auth-card > p > button { width: 100%; padding: 0.75rem; }
.auth-card .codes { max-width: none; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1rem 1rem 2.2rem; }
.auth-card .qr { text-align: center; }

/* The sign-in chooser: owner or vendor, two big choices in a wider card. */
.auth-card:has(.chooser) { max-width: 44rem; }
.chooser h1 { margin-bottom: 0.25rem; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0; }
a.choice { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; background: var(--paper); transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
a.choice:hover, a.choice:focus-visible { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
a.choice svg { width: 2.6rem; height: 2.6rem; padding: 0.5rem; border-radius: 10px; background: var(--deep); color: var(--gold); margin-bottom: 0.4rem; }
a.choice strong { font-size: 1.15rem; color: var(--accent); }
a.choice span { color: var(--muted); font-size: 0.92rem; flex: 1; }
a.choice em { font-style: normal; font-weight: 600; color: var(--accent); margin-top: 0.4rem; }
a.choice em::after { content: " \2192"; }
.chooser-new { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; max-width: none; }
@media (max-width: 40rem) { .choices { grid-template-columns: 1fr; } }

/* A signed-in owner's pages: the account's sections down the side, the page beside them. */
.landing section.acct { background: var(--soft); padding: 2.5rem 0 4rem; flex: 1; }
.acct-grid { display: grid; grid-template-columns: 15rem 1fr; gap: 2rem; align-items: start; }
.acct-nav { position: sticky; top: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; }
.acct-who { margin: 0 0 0.75rem; padding: 0 0.5rem 0.75rem; border-bottom: 1px solid var(--line); font-size: 0.85rem; overflow-wrap: anywhere; }
.acct-who span { display: block; color: var(--muted); }
.acct-nav ul { list-style: none; padding: 0; margin: 0; }
.acct-nav li a { display: block; padding: 0.5rem 0.75rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.acct-nav li a:hover { background: var(--soft); }
.acct-nav li a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); }
.acct-more { margin: 0.75rem 0 0; padding: 0.75rem 0.5rem 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.acct-nav form { padding: 0 0.5rem; }
.acct-nav form button { margin-top: 0.5rem; width: 100%; }
.acct-main { min-width: 0; }
.acct-main > .notice { max-width: none; }
.acct-head { margin-bottom: 1.5rem; }
.acct-head h1 { font-size: 2rem; letter-spacing: -0.01em; }
.acct-head p { margin: 0; }
.acct-main .panel { margin-bottom: 1.25rem; }
.landing section.panel { padding: 1.5rem 1.75rem; }
.acct-main .panel h2 { margin-top: 0; font-size: 1.25rem; }
.acct-main .panel p, .acct-main .panel ul { max-width: none; }
.acct-main .split { gap: 1.25rem; }
.acct-main .split .panel { margin-bottom: 0; height: 100%; }
.acct-main .split + * { margin-top: 1.25rem; }
.panel.narrow { max-width: 34rem; }
.panel.danger { border-color: var(--error); }
.panel.danger h2 { color: var(--error); }

/* The overview's figures, each a link to where it is managed. */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.25rem; }
.tile-stat { display: flex; flex-direction: column; gap: 0.15rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); text-decoration: none; }
.tile-stat:hover { border-color: var(--accent); }
.tile-stat .label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-deep); }
.tile-stat .value { font-size: 2rem; font-weight: 700; line-height: 1.15; }
.tile-stat .value small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.tile-stat .sub { font-size: 0.85rem; color: var(--muted); }

/* Getting set up: a short checklist, ticked as each is done. */
ul.setup { list-style: none; padding: 0; margin: 0; }
ul.setup li { position: relative; padding: 0.55rem 0 0.55rem 2.2rem; border-bottom: 1px solid var(--line); }
ul.setup li:last-child { border-bottom: 0; }
ul.setup li::before { content: ""; position: absolute; left: 0; top: 0.6rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; }
ul.setup li.done::before { content: "\2713"; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
ul.setup li.done strong { color: var(--muted); font-weight: 500; text-decoration: line-through; }

/* Every owner action, one card each. */
.actions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
a.action { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; background: var(--paper); }
a.action:hover { border-color: var(--accent); background: var(--soft); }
a.action strong { color: var(--accent); }
a.action span { font-size: 0.85rem; color: var(--muted); }

.pill { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; background: var(--soft); border: 1px solid var(--line); color: var(--muted); }
.pill.ok { background: var(--bg-ok); border-color: transparent; color: var(--ok); }
.button-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.button-row .button, .button-row button { margin-top: 0; }
.row-actions { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; margin-left: 0.35rem; }
.table-wrap { overflow-x: auto; }
.table-wrap table { margin: 0.5rem 0; font-size: 0.95rem; }
.table-wrap td.code { white-space: nowrap; }
.table-wrap tr.moved td { color: var(--muted); }
.table-wrap tr.line-note td { padding-top: 0; font-size: 0.85rem; color: var(--muted); }
.big-code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.5rem !important; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; }

/* Strip of short facts under the hero. */
.landing section.facts { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0 auto; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; text-align: center; }
.facts strong { display: block; font-size: 1.05rem; }
.facts span { color: var(--muted); font-size: 0.9rem; }

/* Alternating feature rows: words one side, a screen the other. */
.feature { display: grid; grid-template-columns: 1fr 1.35fr; gap: 3rem; align-items: center; }
.feature + .feature { margin-top: 4.5rem; }
.feature.flip .text { order: 2; }
.feature .text p { color: var(--muted); }
.feature ul { padding-left: 1.2rem; margin: 1rem 0 0; }
.feature li { margin: 0.35rem 0; }
.feature li::marker, .plan li::marker { color: var(--gold-deep); }
.shot { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #f3f3f3; }

/* Everything-included grid. */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem; }
.tile p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* How it works: numbered steps. */
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; padding: 1.4rem; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); }
.steps li::before { content: counter(step); display: flex; width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 0.8rem; }
.steps p { margin: 0; color: var(--muted); }

/* Pricing. */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 52rem; margin: 0 auto; }
.plan { border: 1px solid var(--line); border-radius: 12px; padding: 1.75rem; background: var(--paper); }
.plan.main { border: 2px solid var(--gold-deep); box-shadow: var(--shadow); }
.plan .what { font-size: 1.4rem; font-weight: 700; margin: 0 0 0.25rem; color: var(--ink); }
/* Both cards end on the same line: a column, the button pushed to the bottom; the setup card's chip is outlined. */
.pricing { align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan .badge { align-self: flex-start; }
.pricing .plan ul { margin-bottom: 1.5rem; }
.plan .plan-cta { margin-top: auto; align-self: flex-start; }
.badge.quiet { background: transparent; border: 1px solid var(--gold-deep); color: var(--gold-deep); }
.plan p { color: var(--muted); margin: 0; }
.plan ul { padding-left: 1.2rem; margin: 1rem 0 0; }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--gold); color: #20261a; margin-bottom: 0.75rem; }

/* Last call to action. */
.cta { background: var(--deep); color: var(--hero-ink); text-align: center; }
.cta h2 { color: var(--hero-ink); }
.cta p { margin: 0 auto; color: #d9d4c1; }

@media (max-width: 64rem) { .grid, .actions-grid { grid-template-columns: repeat(2, 1fr); } .tiles { grid-template-columns: repeat(2, 1fr); }
  /* Two to a row: an odd one out at the end takes the whole row instead of sitting beside a gap. */
  .grid > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 40rem) { .grid, .actions-grid { grid-template-columns: 1fr; } .auth-card { padding: 1.25rem; } }
@media (max-width: 52rem) {
  .feature { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature.flip .text { order: 0; }
  .pricing, .split, .signup-grid, .acct-grid { grid-template-columns: 1fr; }
  .acct-nav { position: static; }
  .acct-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .actions-grid { grid-template-columns: 1fr 1fr; }
  .signup-grid { gap: 2rem; }
  .form-card { padding: 1.25rem; }
  .landing section { padding: 3rem 0; }
  .landing h2 { font-size: 1.6rem; }
}

/* Phones: the action cards one to a row, and a table marked "stack" as one card per row, each cell labelled. */
@media (max-width: 40rem) {
  .actions-grid { grid-template-columns: 1fr; }
  table.stack thead { display: none; }
  table.stack tr { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  table.stack td { display: flex; gap: 0.75rem; padding: 0.15rem 0; border: 0; }
  table.stack td::before { content: attr(data-label); flex: 0 0 7.5rem; color: var(--muted); font-size: 0.85rem; }
  table.stack td[data-label="Status"] { flex-wrap: wrap; }
  table.stack tr.line-note { padding-top: 0; }
  table.stack tr.line-note td { display: block; }
  table.stack tr.line-note td::before { content: none; }
  table.stack td.code { white-space: normal; word-break: break-all; }
}


/* A date box looks like every other box; a row of filters (from / to / Show) lines up on the bottom. */
input[type="date"] { font: inherit; padding: 0.45rem 0.5rem; margin-top: 0.25rem; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); }
.filters { align-items: flex-end; max-width: none; }
.filters label { margin-top: 0; }
/* Money and counts line up on the right. */
th.num, td.num { text-align: right; }
@media (max-width: 40rem) { table.stack td.num { text-align: left; } }
/* A card's first line sits at its top. */
.card > p:first-child { margin-top: 0; }

/* The vendor's price tags: a sheet of cut-out tags; printing shows the tags alone. */
.tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 0.75rem; margin-top: 1rem; }
.tag { border: 1px dashed var(--ink); border-radius: 4px; padding: 0.6rem 0.75rem; background: #fff; color: #000; break-inside: avoid; }
.tag p { margin: 0.2rem 0; }
.tag .big-code { margin: 0.4rem 0; }
@media print {
  header.site, footer.site, .no-print, .skip { display: none !important; }
  body, .landing section.acct { background: #fff !important; padding: 0 !important; }
  .tags { grid-template-columns: repeat(3, 1fr); gap: 0.25in; }
}
/* Out of sight but still on the page: the account's address beside a password, for password managers (html.ts, usernameField). */
.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; }
/* A fact in the Terms or the Privacy Policy the owner has not decided yet (legal.ts, "[TO CONFIRM: ...]"). */
mark.confirm { background: var(--accent); color: var(--accent-ink); padding: 0 0.2em; border-radius: 3px; }

/* The vendor's W-9 (routes/vendor-w9.ts): the form's groups and the certification's numbered statements. */
#w9-form fieldset { border: 1px solid var(--line); border-radius: 6px; padding: 0.5rem 1rem 1rem; margin: 1.25rem 0 0; }
#w9-form legend { font-weight: 600; padding: 0 0.35rem; }
ol.w9-cert { margin: 0.5rem 0; padding-left: 1.4rem; }
ol.w9-cert li { margin: 0.35rem 0; }

/* "Remove from list" under an out-of-use register's status (Grey, 2026-10-07): asked once more inline, no script. */
.row-confirm { margin-top: 0.35rem; }
.row-confirm summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.row-confirm form { margin: 0; }
.row-confirm button { margin-top: 0.35rem; }

/* The pictures sent with an issue report (routes/issue-pictures.ts): thumbnails that open full size. */
.issue-pictures { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.5rem 0; }
.issue-pictures img { display: block; max-width: 10rem; max-height: 7.5rem; width: auto; height: auto; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
