/* Kit: the shared design system of every system (admin, sign-in, public pages). Mobile first.
   Tokens first: colours, type, radii and shadows live here only; system stylesheets use the tokens. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-greek-wght-normal.woff2) format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
:root {
  /* ink and paper */
  --ink: #0b1222; --ink-2: #2b3446; --text: #2b2d31; --muted: #62656d; --faint: #9a9ca3; --line: #e7e6e1; --line-2: #d3d2cc; --field-line: #8d8c86;   /* the edge of a field: 3.4:1 on white, so the box shows outdoors; cards keep --line */
  --bg: #f7f7f5; --bg-2: #f1f1ee; --card: #fff; --panel: #f6f6f3; --hover: #f1f1ee;
  /* one accent, used sparingly: focus, links, the current step */
  --accent: #0066e6; --accent-2: #0052c2; --accent-soft: #e8f1fe; --accent-line: #bcd6fb;
  /* states */
  --green: #16794a; --green-soft: #e8f5ee; --green-line: #bfe3cf; --red: #b42318; --red-soft: #fef3f2; --red-line: #fecdca;
  --amber: #8a5a00; --amber-soft: #fff7e6; --amber-line: #f5dca6;
  /* the darker text of a state on its soft background, a pressed red, the pressed ink of a customer's page, a card or summary that is spent */
  --accent-ink: #0a3d8f; --green-ink: #0f4f31; --amber-ink: #6b4500; --red-ink: #7a1a12; --red-2: #912018; --ink-hover: #1f2a3d; --card-off: #4a5162;
  /* buttons */
  --btn-s: 36px; --btn-m: 44px; --btn-l: 52px;   /* the three heights a button may have, here and on the store pages */
  --btn: var(--accent); --btn-2: var(--accent-2); --btn-ink: #fff;   /* the logo's blue: white on it is 5.2:1 */
  /* shape */
  --r: 12px; --r-s: 8px; --r-l: 16px;
  --shadow: 0 1px 2px rgba(10, 10, 11, .04), 0 1px 3px rgba(10, 10, 11, .04);
  --shadow-2: 0 2px 4px rgba(10, 10, 11, .04), 0 18px 48px -12px rgba(10, 10, 11, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --side: 252px; --top: 60px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 .96875rem/1.55 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11"; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; } h2 { font-size: 1.15rem; font-weight: 650; } h3 { font-size: 1rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 2px; text-decoration-thickness: 1px; }
img, svg { max-width: 100%; }
.ic { flex: none; vertical-align: -.2em; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .center { text-align: center; }
.grow { flex: 1; } .lead { color: var(--muted); max-width: 70ch; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mark-img { flex: none; display: block; width: 28px; height: 28px; object-fit: contain; }
.bare-logo { display: block; height: 36px; width: auto; max-width: 100%; object-fit: contain; }
.icon-prev { width: 64px; height: 64px; object-fit: contain; }
.mark { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; font: 700 .9rem/1 var(--font); letter-spacing: 0; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: var(--btn-m); padding: .5rem 1rem;
  border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--card); color: var(--ink); font: inherit; font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s, box-shadow .12s, color .12s; }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.btn.primary:hover { background: var(--btn-2); border-color: var(--btn-2); }
.btn.danger { background: var(--red); border-color: var(--red); color: #fff; } .btn.danger:hover { background: var(--red-2); border-color: var(--red-2); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.ghost:hover { background: var(--hover); color: var(--ink); }
.btn.small { min-height: var(--btn-s); padding: .3rem .75rem; font-size: .85rem; }
.btn.big { min-height: var(--btn-l); width: 100%; font-size: 1rem; }
.btn[disabled] { opacity: .5; cursor: default; }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--r-s); background: transparent;
  color: var(--muted); cursor: pointer; transition: background .12s, color .12s; }
.iconbtn:hover { background: var(--hover); color: var(--ink); }

/* Fields */
label { display: block; }
label > span, .field-label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
input, select, textarea { width: 100%; min-height: 44px; padding: .55rem .75rem; border: 1px solid var(--field-line); border-radius: var(--r-s);
  background: var(--card); color: var(--ink); font: inherit; transition: border-color .12s, box-shadow .12s; }
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
/* the keyboard's own mark: a solid ring on fields, tick boxes, radios and lists (the soft ring alone is 1.1:1 and tick boxes had none) */
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; box-shadow: none; }
input[disabled] { background: var(--panel); color: var(--muted); }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--ink); flex: none; box-shadow: none; }
label small, .field small { display: block; margin-top: .35rem; color: var(--muted); font-size: .8125rem; font-weight: 400; }
.stack > * + * { margin-top: 1rem; }
.check { display: flex; align-items: center; gap: .55rem; margin-top: .5rem; font-size: .9rem; color: var(--muted); }
.switch { display: flex; align-items: flex-start; gap: .75rem; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch i { flex: none; width: 42px; height: 24px; border-radius: 99px; background: var(--field-line); position: relative; transition: background .15s; margin-top: 1px; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(10, 10, 11, .25); transition: transform .15s; }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch > span { margin: 0; font-weight: 600; font-size: .95rem; color: var(--ink); }
.switch > span small { font-weight: 400; }

/* Cards, forms, lists */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 1.15rem; margin-bottom: 1.15rem; }
.card-h { font-size: 1rem; margin-bottom: .9rem; }
.card.narrow, .narrow { max-width: 560px; }
.note-card { border-color: var(--accent-line); background: var(--accent-soft); }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.7rem; min-width: 0; }
.form fieldset > * + * { margin-top: 1rem; }
.form legend { padding: 0; margin-bottom: .25rem; font-size: .72rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form-foot { display: flex; gap: .6rem; justify-content: flex-end; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.grid2, .grid3 { display: grid; gap: 1rem; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; align-items: center; gap: .75rem; padding: .85rem 0; border-top: 1px solid var(--line); min-width: 0; }
.row:first-child { border-top: 0; padding-top: 0; } .row:last-child { padding-bottom: 0; }
.row-main { flex: 1; min-width: 0; } .row-main strong { color: var(--ink); font-weight: 600; }
.inline { display: inline-flex; align-items: center; margin: 0; } .inline select { min-height: 36px; padding: .25rem .5rem; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .15rem .6rem; border-radius: 99px; background: var(--bg-2); color: var(--muted); font-size: .75rem; font-weight: 600; font-style: normal; white-space: nowrap; }
.pill-green { background: var(--green-soft); color: var(--green); } .pill-blue { background: var(--accent-soft); color: var(--accent); }
.pill-red { background: var(--red-soft); color: var(--red); } .pill-amber { background: var(--amber-soft); color: var(--amber); }
.note { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem .95rem; border-radius: var(--r-s); background: var(--accent-soft); color: var(--accent-ink); font-size: .875rem; border: 1px solid var(--accent-line); }
.note .ic { margin-top: .1em; }
.note-demo { background: var(--amber-soft); color: var(--amber); border: 1px solid var(--amber-line); }
.alert { padding: .75rem .95rem; border-radius: var(--r-s); background: var(--red-soft); color: var(--red); border: 1px solid var(--red-line); }
.ok { padding: .75rem .95rem; border-radius: var(--r-s); background: var(--green-soft); color: var(--green); border: 1px solid var(--green-line); }
.copyrow { display: flex; gap: .5rem; } .copyrow input { font-size: .875rem; }
.drop { display: grid; place-items: center; flex: 1; min-height: 76px; padding: .8rem; border: 1.5px dashed var(--field-line); border-radius: var(--r-s); color: var(--muted);
  text-align: center; font-size: .9rem; cursor: pointer; position: relative; transition: border-color .12s, background .12s; }
.drop.over { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.logo-row { display: flex; gap: .8rem; align-items: center; } .logo-prev { max-height: 64px; max-width: 160px; border: 1px solid var(--line); border-radius: var(--r-s); padding: 4px; background: #fff; }
.testrow { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: 0; }
.test-out { font-size: .875rem; } .test-out.good { color: var(--green); } .test-out.bad { color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: .25rem .85rem; border: 1px solid var(--line-2); border-radius: 99px; background: var(--card);
  color: var(--text); font: inherit; font-size: .85rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: border-color .12s, background .12s; }
.chip:hover { border-color: var(--ink); } .chip.on, .chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { padding: 2.4rem 1rem; text-align: center; color: var(--muted); }
.empty .ic { color: var(--faint); margin-bottom: .4rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-bottom: 1.15rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.stat b { display: block; font-size: 1.9rem; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { font-size: .8125rem; color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.toolbar .search { position: relative; flex: 1 1 220px; } .toolbar .search .ic { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--faint); }
.toolbar .search input { padding-left: 2.4rem; }
[data-inline] { border-radius: 6px; padding: 1px 4px; margin: -1px -4px; cursor: text; }
[data-inline]:hover { background: var(--hover); } [data-inline]:focus { background: #fff; outline: 2px solid var(--accent); }
.savestate { font-size: .8125rem; color: var(--muted); min-width: 6.5em; text-align: right; }
.savestate.good { color: var(--green); } .savestate.bad { color: var(--red); }
code { font: .85em var(--mono); background: var(--panel); padding: .1em .35em; border-radius: 5px; }

/* Tables (plain data tables in any system) */
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .55rem .75rem; border-bottom: 1px solid var(--line); }
.table td { padding: .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

.lead-row { align-items: flex-start; } .lead-msg { margin: .5rem 0 0; padding: .65rem .85rem; background: var(--panel); border-radius: var(--r-s); font-size: .9rem; color: var(--text); }
.toast.undo { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }

/* Dialog + toasts (never a browser popup) */
.dlg { width: min(440px, calc(100vw - 2rem)); padding: 0; border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: 0 30px 80px -20px rgba(11, 18, 34, .4); color: var(--text); background: var(--card); }
.dlg::backdrop { background: rgba(10, 10, 11, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.dlg > form, .dlg > div { padding: 1.4rem; }
.dlg h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.dlg-body { color: var(--muted); font-size: .95rem; } .dlg-body:empty { display: none; }
.dlg-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1.4rem; }
.dlg.wide { width: min(560px, calc(100vw - 2rem)); }
#toasts { position: fixed; z-index: 60; left: 50%; bottom: 1rem; transform: translateX(-50%); display: grid; gap: .5rem; width: min(420px, calc(100vw - 2rem)); pointer-events: none; }
.toast { padding: .75rem 1rem; border-radius: var(--r-s); background: var(--ink); color: #fff; font-size: .9rem; box-shadow: 0 12px 32px -8px rgba(10, 10, 11, .45); animation: toast .18s ease-out; pointer-events: auto; }
.toast.err { background: var(--red); } .toast.info { background: var(--ink-2); }
.toast .btn { min-height: var(--btn-m); padding: .2rem .8rem; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); color: #fff; font-size: .85rem; }
@keyframes toast { from { opacity: 0; transform: translateY(8px); } }

/* Admin shell */
.adm { padding-top: var(--top); }
.top { position: fixed; z-index: 40; inset: 0 0 auto 0; height: var(--top); display: flex; align-items: center; gap: .4rem; padding: 0 .6rem; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.5) blur(12px); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--line); }
.top form { margin: 0; }
.brand { display: flex; align-items: center; gap: .6rem; min-width: 0; color: var(--ink); font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 479px) { .brand-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; font-size: .92rem; line-height: 1.15; } }
.langsw { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 99px; }
.langsw button { border: 0; border-radius: 99px; background: transparent; color: var(--muted); font: inherit; font-size: .72rem; font-weight: 650; letter-spacing: .04em; padding: .3rem .6rem; cursor: pointer; }
.langsw button.on { background: var(--ink); color: #fff; }
.side { position: fixed; z-index: 50; top: 0; bottom: 0; left: 0; width: min(var(--side), 84vw); padding: 1.1rem .75rem; background: #fbfbfa; border-right: 1px solid var(--line);
  overflow-y: auto; transform: translateX(-102%); visibility: hidden; transition: transform .18s ease-out, visibility 0s .18s; }   /* closed = out of reach of the keyboard and of a screen reader */
.side.open { transform: none; box-shadow: var(--shadow-2); visibility: visible; transition: transform .18s ease-out, visibility 0s; }
.side-g { margin: 1.3rem .65rem .4rem; font-size: .68rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.side-g:first-child { margin-top: .2rem; }
.side a { position: relative; display: flex; align-items: center; gap: .7rem; min-height: 40px; padding: .4rem .65rem; border-radius: var(--r-s); color: var(--text); font-weight: 500; font-size: .95rem; text-decoration: none; transition: background .12s; }
.side a .ic { color: var(--faint); transition: color .12s; }
.side a:hover { background: var(--hover); } .side a:hover .ic { color: var(--ink); }
.side a.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(10, 10, 11, .05); }
.side a.on .ic { color: var(--ink); }
.scrim { position: fixed; z-index: 45; inset: 0; background: rgba(11, 18, 34, .4); display: none; }
.side.open + .scrim { display: block; }
.main { padding: 1.1rem; max-width: 1060px; margin: 0 auto; }
.pagehead { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1.2rem; }
.pagehead h1 { margin: 0; flex: 1 1 auto; } .actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

/* Bare pages: sign-in, set-up, errors */
.bare { display: grid; place-items: start center; min-height: 100vh; padding: 1.25rem; background: var(--bg); }
.bare-card { width: 100%; max-width: 420px; margin-top: 8vh; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-2); padding: 1.9rem 1.7rem; }
.bare-card h1 { font-size: 1.45rem; }
.bare-brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin-bottom: 1.6rem; }
.bare-code { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; color: var(--line-2); margin: 0 0 .4rem; line-height: 1; }
.bare-langs { display: flex; justify-content: center; gap: 1rem; margin: 1.6rem 0 0; font-size: .875rem; }
.bare-langs a { color: var(--muted); text-decoration: none; } .bare-langs a.on { color: var(--ink); font-weight: 600; }
.bare-card .note { margin-top: 1.3rem; }
.req summary { cursor: pointer; color: var(--muted); font-size: .875rem; }
.checks { list-style: none; padding: 0; margin: .6rem 0 0; font-size: .875rem; } .checks .yes { color: var(--green); } .checks .no { color: var(--red); }

@media (min-width: 620px) {
  .grid2 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: 1fr 1fr 1fr; } .span2 { grid-column: span 2; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .card { padding: 1.45rem; } .main { padding: 1.5rem; }
}
@media (min-width: 900px) {
  .only-m { display: none; }
  .adm { padding-left: var(--side); }
  .side { top: var(--top); transform: none; visibility: visible; z-index: 30; width: var(--side); }
  .side.open + .scrim { display: none; }
  .top { padding: 0 1.1rem; }
  .main { padding: 2rem 2.2rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .top, .side, .scrim, #toasts, .actions, .note-demo, .skip, .savechip, .langsw, .pub-langs, .bare-langs, .backlink, .demo-links, .pub-top, .staffbar, .noprint, .guide { display: none !important; } .adm { padding: 0; } body { background: #fff; } }

/* 2026-11-19 round 3: links from a demo back to the store, «What to try», easier reading and tapping on phones */
.note > div { display: grid; gap: .5rem; min-width: 0; }
.demo-links { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1rem; }
.demo-links a { display: inline-flex; align-items: center; gap: .3rem; min-height: 36px; color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.demo-links .demo-want { padding: .2rem .85rem; border-radius: 99px; background: var(--accent); color: #fff; text-decoration: none; }
.guide { border-color: var(--accent-line); }
.guide-steps { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; counter-reset: g; }
.guide-steps li { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding-left: 2.5rem; counter-increment: g; }
.guide-steps li::before { content: counter(g); position: absolute; left: 0; top: .05rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--accent); color: #fff; font-size: .85rem; font-weight: 700; }
.guide-steps li span { flex: 1 1 16rem; }
.side-g { font-size: .75rem; }
.form legend, .table th { font-size: .75rem; }
.langsw button, .langsw a, .langsw span { padding: .45rem .75rem; font-size: .78rem; }
.langsw a, .langsw span { border-radius: 99px; color: var(--muted); font-weight: 650; letter-spacing: .04em; text-decoration: none; }
.langsw span.on { background: var(--ink); color: #fff; }
body.pub .pub-langs a { padding: .45rem .75rem; font-size: .78rem; }
.backlink a, .morelink a, p.more a { display: inline-flex; align-items: center; gap: .3rem; min-height: 40px; }

/* 2026-11-19 round 4: after the first page the demo note is one thin line */
.note-demo.slim { padding: .3rem .8rem; align-items: center; font-size: .8125rem; margin-bottom: .9rem; }
.note-demo.slim > div { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; }
.note-demo.slim .demo-links { gap: 0 .9rem; } .note-demo.slim .demo-links a { min-height: 32px; }
.note-demo.slim .demo-links .demo-want { min-height: 28px; padding: .05rem .75rem; }


/* 2026-11-19 round 4: the guide page, «first steps» of a new copy */
.help-steps { margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: h; display: grid; gap: 1.3rem; }
.help-steps li { position: relative; padding-left: 2.8rem; counter-increment: h; }
.help-steps li::before { content: counter(h); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .9rem; font-weight: 700; }
.help-steps h2 { margin: 0 0 .2rem; font-size: 1.02rem; } .help-steps p { margin: 0; color: var(--muted); max-width: 64ch; }
.help-ver { margin: 1.6rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.first-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; } .first-head form { margin: -.3rem 0 0; }
.guide-steps li.done::before { content: "\2713"; background: var(--green); } .guide-steps li.done span { color: var(--muted); }
.guide-steps li em.pill { font-style: normal; }
/* 2026-11-19 judges round 4: «download everything» (progress while the files are packed) */
progress { display: block; width: 100%; height: 10px; margin: .2rem 0 .9rem; border: 0; border-radius: 99px; background: var(--bg-2); accent-color: var(--accent); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--bg-2); border-radius: 99px; } progress::-webkit-progress-value { background: var(--accent); border-radius: 99px; }
progress::-moz-progress-bar { background: var(--accent); border-radius: 99px; }
.exportbox .rows { margin-bottom: 1rem; } .exportbtns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; } .exportbtns form { margin: 0; }

/* 2026-11-19 judges round 5: the admin on a phone, by keyboard and outdoors */
::placeholder { color: var(--muted); opacity: 1; }
.check:has(input:focus-visible), .drop:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-s); }
.check input:focus-visible { outline: none; }
.skip { position: fixed; left: .5rem; top: -5rem; z-index: 100; padding: .7rem 1rem; border-radius: var(--r-s); background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: .5rem; } #main:focus { outline: none; }
/* top bar and demo bar: everything a finger presses is at least 44 px high, with a gap; the drawn shapes stay as small as they were */
.top { gap: .5rem; } .top .iconbtn { width: 44px; height: 44px; flex: none; } .brand { min-height: 44px; }
.langsw { position: relative; flex: none; padding: 0 3px; border: 0; isolation: isolate; }
.langsw::before { content: ""; position: absolute; inset: 5px 0; border: 1px solid var(--line); border-radius: 99px; z-index: -1; pointer-events: none; }
.langsw button, .langsw a, .langsw span { position: relative; display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 .7rem; background: transparent; }
.langsw button.on, .langsw span.on { background: transparent; color: #fff; }
.langsw button.on::before, .langsw span.on::before { content: ""; position: absolute; inset: 8px 0; border-radius: 99px; background: var(--ink); z-index: -1; }
.side a { min-height: 44px; }
.demo-links { gap: .5rem 1rem; isolation: isolate; } .note-demo.slim .demo-links { gap: 0 1rem; }
.demo-links a, .note-demo.slim .demo-links a { min-height: 44px; }
.demo-links .demo-want, .note-demo.slim .demo-links .demo-want { position: relative; min-height: 44px; padding: 0 .9rem; background: transparent; border-radius: 0; }
.demo-links .demo-want::before { content: ""; position: absolute; inset: 5px 0; border-radius: var(--r-s); background: var(--accent); z-index: -1; }
.note-demo.slim { padding-top: .05rem; padding-bottom: .05rem; }
/* the save sign where the person is typing: fixed at the bottom while the sign of the page header is out of sight */
.savechip { position: fixed; z-index: 58; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: max-content; max-width: calc(100vw - 1.5rem); padding: .45rem .95rem; border-radius: 99px;
  background: var(--ink); color: #fff; font-size: .875rem; font-weight: 600; text-align: center; box-shadow: 0 8px 24px -8px rgba(10, 10, 11, .5); pointer-events: none; }
.savechip.good { background: var(--green); } .savechip.bad { background: var(--red); border-radius: var(--r-s); pointer-events: auto; }
.savechip a, .toast a { color: #fff; font-weight: 700; text-decoration: underline; } .savestate a { color: inherit; font-weight: 700; }
body.has-chip #toasts { bottom: 4.2rem; }
.savestate { min-width: 0; }
/* a refused field: red edge and the reason under it (any form of the admin) */
.ferr { margin: .35rem 0 0; color: var(--red); font-size: .875rem; font-weight: 500; }
.f.bad input:not([type=checkbox]):not([type=radio]), .f.bad textarea, .f.bad select { border-color: var(--red); }
.req { color: var(--red); font-weight: 700; } .req-note { margin: 0 0 1rem; }
/* optional fields folded under «More», so the button of the form is near */
details.more { border: 1px solid var(--line); border-radius: var(--r-s); background: var(--panel); }
details.more > summary { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; min-height: 48px; padding: .5rem .9rem; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; border-radius: var(--r-s); }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: ""; flex: none; width: 8px; height: 8px; margin: 0 .2rem 2px .1rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .12s; }
details.more[open] > summary::before { transform: rotate(45deg); }
details.more > summary small { font-weight: 400; color: var(--muted); font-size: .8125rem; }
details.more > .more-body { display: grid; gap: 1rem; padding: .4rem .9rem 1rem; }
/* lists on a phone: the name takes the whole line, its buttons go under it (a long name is never cut beside two buttons) */
.row.wrap { flex-wrap: wrap; }
@media (max-width: 619px) { .row.wrap > .row-main { flex: 1 0 100%; } }
.toolbar select.auto { width: auto; flex: 0 1 280px; min-width: 0; max-width: 100%; }
.toolbar .search input { text-overflow: ellipsis; }
.count { margin-bottom: .6rem; } .pager { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 1rem 0 0; }
.acts .row { align-items: flex-start; } .acts .row-main strong { font-weight: 550; overflow-wrap: anywhere; }
/* the guide: common questions; the link to the guide on «first steps» */
.help-faq-h { margin: 2rem 0 .9rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: 1.05rem; }
.help-faq { margin: 0; display: grid; gap: 1.1rem; } .help-faq dt { font-weight: 650; color: var(--ink); margin-bottom: .15rem; } .help-faq dd { margin: 0; color: var(--muted); max-width: 64ch; }
.first-guide { margin: 1rem 0 0; } .first-guide a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-weight: 600; text-decoration: none; }
.bare-card .note { margin: 0 0 1rem; } .bare-card .note + form, .bare-card .alert + form { margin-top: 1rem; }
.bare-card form + .note { margin-top: 1rem; }   /* the demo note keeps its distance from the button above it */
.bare-card form + .center { margin: .6rem 0 0; } .bare-card form + .center a { display: inline-flex; align-items: center; min-height: 44px; }

/* 2026-11-20: a rented copy that is paused or closed (Kit\Rented::off): one plain card, both languages. */
.off-card section + section { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.off-card h2 { font-size: 1.1rem; } .off-card p { margin: .5rem 0 0; }
/* 2026-11-20 (round 3): on that card, the business and how to reach it (a public address) or the renter's own line (its admin);
   the text of the designed dialog keeps its line breaks (a few short lines read better than one long one) */
.off-biz { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.off-biz strong { display: block; font-size: 1.05rem; color: var(--ink); }
.off-biz a, .off-card p a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; overflow-wrap: anywhere; }
.dlg-body { white-space: pre-line; }
/* 2026-11-20: the bar of the provider's set-up access (Kit\Build) on every admin page of a system; it stays in sight while the page scrolls */
.build-bar { position: sticky; top: calc(var(--top) + .4rem); z-index: 30; margin-bottom: 1rem; background: var(--amber-soft); color: var(--amber); border: 1px solid var(--amber-line); font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
/* Connections (2026-11-21): numbered first steps of a key, the optional fields folded, long addresses never push the page sideways */
.form fieldset p { overflow-wrap: break-word; }
.conn-steps { margin: 0; padding-left: 1.4rem; display: grid; gap: .45rem; } .conn-steps li { padding-left: .2rem; overflow-wrap: break-word; }
.conn-adv > summary { flex-wrap: nowrap; } .conn-adv .copyrow input { min-width: 0; flex: 1 1 auto; }

/* 2026-11-21 (second judges, round 7): the rules the systems each kept a copy of, once here. A system's own sheet keeps only
   what is its own (and says why when it differs on purpose). */
.rowlink { color: inherit; text-decoration: none; } .rowlink:hover strong { color: var(--accent); }
.main > .note, .main > .alert { margin-bottom: 1rem; }   /* after «.note-demo.slim»: every note on top of a page keeps the same distance */
.morelink { margin: .9rem 0 0; font-weight: 600; } .morelink a { text-decoration: none; }   /* «See all …» under a short list (was «.more», the name of the folds) */
.backlink { margin: 0 0 .35rem; font-size: .875rem; } .backlink a { color: var(--muted); text-decoration: none; }
.dl { display: grid; grid-template-columns: 1fr; gap: .1rem .9rem; margin: 0 0 1rem; }
.dl dt { color: var(--muted); font-size: .8125rem; margin-top: .55rem; } .dl dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.form em:not(.pill), .tform em:not(.pill) { font-style: normal; font-weight: 400; color: var(--muted); font-size: .8125rem; }
.btn.wide { width: 100%; }
.tno { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.btn.next { border-color: var(--ink); color: var(--ink); background: #fff; } .btn.next:hover { background: var(--hover); }   /* an action in a list is neutral: a colour always means a state */
.filterchips { flex-wrap: nowrap; overflow-x: auto; margin: -.3rem -1rem 1rem; padding: 0 1rem .3rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filterchips::-webkit-scrollbar { display: none; }
.filterchips .chip { flex: none; } .chip b { font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; } .chip.on b { color: rgba(255, 255, 255, .6); }
.toast.undo span { flex: 1; }
.toolbar .search input::placeholder { font-size: .875rem; }
.ticks { margin: 1rem 0 0; padding: 0 0 0 1.1rem; color: var(--muted); font-size: .9rem; display: grid; gap: .35rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* read aloud, not shown */
.picks { display: flex; flex-wrap: wrap; gap: .45rem; }
.picks label { position: relative; margin: 0; }
.picks input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.picks input[type=radio] + span { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: .25rem .9rem; margin: 0; border: 1px solid var(--field-line); border-radius: 99px; background: #fff;
  font-size: .9rem; font-weight: 600; color: var(--text); cursor: pointer; font-variant-numeric: tabular-nums; }
.picks input[type=radio]:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.picks input[type=radio]:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.tform .grid2 { align-items: start; }
.lockednote { align-items: center; flex-wrap: wrap; } .lockednote span { flex: 1 1 200px; } .lockednote form { margin: 0; }
.sharebox .qr { display: grid; place-items: center; margin-bottom: .6rem; } .sharebox .qr svg { width: 180px; height: 180px; border: 1px solid var(--line); border-radius: var(--r-s); }
.sharebtns { display: grid; gap: .5rem; margin-top: .7rem; } .sharebtns form { margin: 0; } .sharebtns .btn { white-space: normal; text-align: center; }
.savestate:empty { display: none; }
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .9rem; }
.tl li { display: grid; gap: .1rem; padding-left: .9rem; border-left: 2px solid var(--line); }
.tl-when { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; } .tl em { font-style: normal; }
.delrow { margin: 0 0 1.5rem; text-align: right; } .delrow .btn { color: var(--red); }
/* «Link and QR»: the page prints as a small poster (the business, one line, the QR code) */
.sharepage .copyrow { margin-bottom: 1.1rem; }
.sharepage .poster { display: grid; justify-items: center; gap: .35rem; padding: 1.4rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-align: center; }
.sharepage .poster-biz { margin: 0; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.sharepage .poster-h { margin: 0 0 .5rem; font-size: 1.5rem; font-weight: 750; letter-spacing: -.03em; color: var(--ink); }
.sharepage .poster .qr svg { display: block; width: 240px; height: 240px; max-width: 100%; }
.sharepage .poster-t { margin: .6rem 0 0; color: var(--muted); } .sharepage .poster-link { margin: 0; font: 600 .85rem var(--mono); color: var(--ink); overflow-wrap: anywhere; }

/* the pages a business's own customers and guests see: the frame, the state box, the business's note and contact card */
.pub { background: #fff; --btn: var(--ink); --btn-2: var(--ink-hover); }   /* the business's buttons stay neutral ink, not the store's blue */
.pub-top { display: flex; align-items: center; gap: .8rem; min-height: 60px; padding: .6rem 1rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.5) blur(12px); backdrop-filter: saturate(1.5) blur(12px); z-index: 5; }
.pub-biz { flex: 1; min-width: 0; display: flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.pub-biz img { display: block; height: 32px; width: auto; max-width: min(70vw, 260px); object-fit: contain; object-position: left center; } .pub-biz span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pub-langs { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 99px; }
.pub-langs a { display: inline-flex; align-items: center; min-height: 38px; padding: .3rem .7rem; border-radius: 99px; font-size: .72rem; font-weight: 650; letter-spacing: .04em; color: var(--muted); text-decoration: none; }
.pub-langs a.on { background: var(--ink); color: #fff; }
.pub-main { max-width: 560px; margin: 0 auto; padding: 1.1rem 1rem 3rem; } .pub-main:focus { outline: none; }
.pub-main > .note { margin-bottom: 1rem; }
.pub h1 { font-size: 1.5rem; margin-bottom: .6rem; overflow-wrap: anywhere; }
.track-no { margin: 0 0 .2rem; color: var(--muted); font-size: .875rem; font-weight: 600; letter-spacing: .02em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.now { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem; border-radius: var(--r); border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 1.3rem; }
.now strong, .now .now-h { display: block; font-size: 1.2rem; line-height: 1.25; color: inherit; } .now p { margin: .2rem 0 0; overflow-wrap: anywhere; }
.now .now-h { margin: 0; font-weight: 700; letter-spacing: normal; overflow-wrap: anywhere; }   /* the state of a booking is the page's heading, with the look it had */
.now-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; }
.now-ready { border-color: var(--green-line); background: var(--green-soft); color: var(--green-ink); }
.staffbar { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; padding: .6rem .8rem; margin: 0 0 1rem; border: 1px solid var(--accent-line); background: var(--accent-soft);
  border-radius: var(--r-s); font-size: .875rem; font-weight: 600; color: var(--accent-ink); }
.shopnote { padding: .9rem 1rem; border-left: 3px solid var(--accent); background: var(--panel); border-radius: 0 var(--r-s) var(--r-s) 0; margin-bottom: 1.3rem; }
.shopnote h2 { font-size: .8125rem; color: var(--muted); font-weight: 600; margin-bottom: .25rem; } .shopnote p { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.shopcard { padding: 1rem; border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 1.2rem; }
.shopcard h2 { font-size: 1rem; margin-bottom: .6rem; } .shopcard p { margin: 0 0 .5rem; overflow-wrap: anywhere; } .shopcard p:last-child { margin-bottom: 0; } .shopcard .btn { width: 100%; }
.termsbox { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); margin: 0 0 1.2rem; font-size: .9rem; }
.termsbox h2 { font-size: .8125rem; color: var(--muted); font-weight: 600; margin-bottom: .3rem; } .termsbox p { margin: 0 0 .4rem; overflow-wrap: anywhere; } .termsbox p:last-child { margin-bottom: 0; }
.lookup, .closedbox { padding-top: .6rem; } .codehint { margin: .6rem 0 0; }
.gonebox { text-align: center; padding-top: 1.2rem; } .gonebox h1 { font-size: 1.4rem; } .gonebox > p { margin-bottom: .9rem; } .gonebox .shopcard { text-align: left; margin-top: 1.4rem; }
@media (min-width: 620px) {
  .dl { grid-template-columns: minmax(140px, 34%) 1fr; } .dl dt { margin-top: 0; padding: .35rem 0; } .dl dd { padding: .35rem 0; }
  .filterchips { flex-wrap: wrap; overflow: visible; margin: -.3rem 0 1rem; padding: 0; }
  .tl li { grid-template-columns: 132px 1fr; gap: .8rem; }
}
@media print {
  .adm:has(.sharepage) .pagehead, .adm:has(.sharepage) .note { display: none !important; }
  .sharepage { border: 0; box-shadow: none; padding: 0; max-width: none; } .sharepage .poster { border: 0; padding-top: 3rem; } .sharepage .poster .qr svg { width: 320px; height: 320px; }
}
/* 2026-11-21 (round 7, accessibility): the customer's language switch is a 44 px target on the pages of every system; the drawn
   pill and its frame keep their size (the same way as the admin's switch, .langsw) */
body.pub .pub-langs { position: relative; padding: 1px 4px; border: 0; isolation: isolate; }
body.pub .pub-langs::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 99px; z-index: -1; pointer-events: none; }
body.pub .pub-langs a { position: relative; min-height: 44px; justify-content: center; }
body.pub .pub-langs a.on { background: transparent; color: #fff; }
body.pub .pub-langs a.on::before { content: ""; position: absolute; inset: 3px 0; border-radius: 99px; background: var(--ink); z-index: -1; }
