/* Courier design system: shared tokens and components. */
:root {
  --orange: #ff5a1f;
  --green: #0a7a4a;
  --hivis: #d6ff2e;
  --cab: #ffc629;
  --ink: #141414;
  --paper: #f2efe9;
  --red: #e8352a;
  --cobalt: #3d3af5;
  --lilac: #b7a3ff;
  --tang: #ff8a3d;
  --courier: #ff7a4d; /* softer default Courier colour */
  /* site accent (overridden by data-accent) */
  --acc: var(--ink);
  --acc-fg: #fff;
  --acc-go: var(--hivis);
  --acc-go-fg: var(--ink);
  --acc-num: var(--hivis);
  --acc-sm: rgba(255, 255, 255, 0.6);
  /* card colour carrier defaults */
  --ac: var(--courier);
  --at: var(--ink);
  --as: #fff;
  --ad: var(--courier);
  --al: #ffe2d6;
  --pp1: #003087;
  --pp2: #0070e0;
  --line: #e6e1d8;
  --mute: #77736a;
  --soft: #4f4b45;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --pop: cubic-bezier(0.3, 1.5, 0.5, 1);
  --snap: cubic-bezier(0.2, 0.9, 0.25, 1.15);
  --gut: clamp(16px, 3.4vw, 48px);
  --rad: clamp(24px, 2.3vw, 34px);
  --body: "Instrument Sans";
  --bstretch: 100%;
}
.cc {
  --bb: var(--ac);
  --bt: var(--at);
  --bs: var(--as);
  --bk: var(--ad);
  --bl: var(--al);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  background: #fff;
}
body {
  font-family: var(--body), system-ui, sans-serif;
  font-stretch: var(--bstretch);
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink);
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--pp2);
  outline-offset: 3px;
}
.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.big {
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-wrap: balance;
}

/* ---------- logo ---------- */
.logo {
  font-family: "Archivo", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
  --slash: var(--courier);
}
.logo svg {
  width: 1.55em;
  height: 0.78em;
  flex: none;
  overflow: visible;
}
.logo .s {
  fill: var(--slash);
}
.logo .m {
  fill: currentColor;
}

/* ---------- PayPal text lockup (text only, never the mark) ---------- */
.pp {
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 100%;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.pp .a {
  color: var(--pp1);
}
.pp .b {
  color: var(--pp2);
}
.ppl {
  display: inline-flex;
  align-items: center;
  gap: 0.38em;
  height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: #45464b;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1.5px rgba(20, 20, 20, 0.12);
}
.ppl .pp {
  font-size: 18px;
}

/* ---------- buttons ---------- */
.btn {
  font-family: "Archivo", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 8px 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-style: italic;
  font-weight: 850;
  font-stretch: 115%;
  font-size: 17px;
  letter-spacing: -0.015em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease);
}
.btn:hover {
  transform: translateX(3px);
}
.btn .go {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--hivis);
  color: var(--ink);
}
.btn .go svg {
  width: 16px;
  height: 16px;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
  padding: 0 24px;
}
.btn.acc {
  background: var(--acc);
  color: var(--acc-fg);
}
.btn.acc .go {
  background: var(--acc-go);
  color: var(--acc-go-fg);
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ---------- shared bits ---------- */
.pt {
  --s: 9em;
  position: relative;
  width: var(--s);
  height: var(--s);
  border-radius: calc(var(--s) * 0.12);
  background: var(--pc);
  overflow: hidden;
  flex: none;
  display: block;
}
.pt svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pt b {
  font-family: "Archivo", sans-serif;
  position: absolute;
  left: 0.06em;
  bottom: -0.17em;
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  font-size: calc(var(--s) * 0.72);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--lc);
}
.ck {
  display: inline-grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: var(--pp2);
  flex: none;
}
.ck svg {
  width: 0.8em;
  height: 0.8em;
}
.av {
  display: inline-block;
  width: 1.9em;
  height: 1.9em;
  border-radius: 50%;
  flex: none;
  overflow: hidden;
  background: var(--cab);
}
.av svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- the ID card ---------- */
/* The tab is a real tear-off: --cut is where it perforates, and the mask punches the notches at each end. */
.idc {
  --cut: 7.6em;
  position: relative;
  width: 20em;
  height: 31em;
  text-align: left;
  filter: drop-shadow(0 1.1em 1em rgba(20, 20, 20, 0.28));
}
.idf {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 1.5em;
  background: #fff;
  color: var(--ink);
  -webkit-mask:
    radial-gradient(circle 0.95em at 0 var(--cut), #0000 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 0.95em at 100% var(--cut), #0000 97%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 0.95em at 0 var(--cut), #0000 97%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 0.95em at 100% var(--cut), #0000 97%, #000) right / 51% 100% no-repeat;
}
.idc .tab {
  position: absolute;
  inset: 0 1.3em auto;
  height: var(--cut);
  box-sizing: border-box;
  padding-top: 2.5em;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}
.idc .tr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8em;
}
.idc .tr .logo {
  font-size: 1.15em;
  --slash: var(--ink);
}
.idc .idn {
  font:
    700 0.86em / 1 "JetBrains Mono",
    monospace;
  white-space: nowrap;
}
.idc .sb {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.95em;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  min-width: 0;
}
.idc .sb b {
  font-weight: 700;
}
.idc .sb .av {
  flex: none;
  width: 1.7em;
  height: 1.7em;
}
.idc .bd {
  position: absolute;
  inset: var(--cut) 0 0;
  overflow: hidden;
  background: var(--bb);
  color: var(--bt);
  transition:
    background-color 0.4s,
    color 0.4s;
}
.idc .mark {
  position: absolute;
  right: -3.4em;
  top: 1.3em;
  width: 17em;
  height: 8.5em;
  fill: color-mix(in srgb, var(--bb) 82%, #fff);
}
/* The name reads up the side; fitText measures it along that length, so it still shrinks to fit. */
.idc .sn {
  position: absolute;
  left: 1em;
  bottom: 0.9em;
  width: 21.4em;
  transform-origin: 0 100%;
  transform: rotate(-90deg) translateY(100%);
}
.idc .nm {
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  font-size: 6.5em;
  line-height: 0.92;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.idc .vt {
  position: absolute;
  right: 1.25em;
  bottom: 1.25em;
  height: 2.1em;
  padding: 0 0.8em;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.86em;
}
.idc .pf {
  position: absolute;
  left: 1.4em;
  right: 1.4em;
  top: calc(var(--cut) - 0.07em);
  border-top: 0.14em dashed rgba(20, 20, 20, 0.55);
}
.idc .slot {
  position: absolute;
  left: 50%;
  top: 1em;
  width: 4em;
  height: 1em;
  margin-left: -2em;
  border-radius: 1em;
  background: var(--ink);
}
.idb .tab {
  padding-top: 2.6em;
  gap: 0.35em;
}
.idb .tt {
  font:
    italic 900 1.5em / 1 "Archivo",
    sans-serif;
  font-stretch: 125%;
  letter-spacing: -0.04em;
}
.idb .tl {
  font-size: 0.82em;
  font-weight: 500;
  line-height: 1.2;
}
.idb .bd {
  padding: 1.5em 1.4em 0;
}
.idb .ii {
  margin: 0 0 0.9em;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.28;
}
.idb .rw {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  padding: 0.85em 0;
  border-top: 1px solid currentColor;
}
.idb .rw b {
  flex: none;
  min-width: 2.15em;
  font:
    italic 900 1.75em / 1 "Archivo",
    sans-serif;
  font-stretch: 125%;
  letter-spacing: -0.04em;
}
.idb .rw span {
  font-size: 0.86em;
  font-weight: 500;
  line-height: 1.2;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  height: 2.3em;
  padding: 0 0.85em 0 0.25em;
  border-radius: 999px;
  background: var(--paper);
  font-size: 1.14em;
  font-weight: 500;
  color: #5a564f;
  white-space: nowrap;
}
.chip b {
  font-weight: 700;
  color: var(--ink);
}
.chip .pt {
  --s: 1.8em;
  border-radius: 50%;
}
.chip .pt b {
  display: none;
}
.vt {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 1.14em;
  font-weight: 600;
  color: #3f3f44;
  white-space: nowrap;
}
.vt .pp {
  font-size: 1.08em;
}
.mini {
  position: relative;
  display: block;
  width: 136px;
  background: #fff;
  border-radius: 13px;
  padding: 4px 4px 8px;
  box-shadow:
    0 14px 22px -12px rgba(0, 0, 0, 0.35),
    0 1px 3px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(20, 20, 20, 0.05);
}
.mini::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 12px;
  margin-left: -1px;
  background: var(--bk);
}
.mini .mb {
  display: flex;
  align-items: center;
  height: 16px;
  border-radius: 9px;
  background: var(--bb);
  padding: 0 7px;
}
.mini .mb .logo {
  font-size: 9px;
  --slash: var(--bs);
  color: var(--bt);
}
.mini .mr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 4px 0;
}
.mini .pt {
  --s: 30px;
}
.mini .mn {
  font-family: "Archivo", sans-serif;
  display: block;
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.mini .mv {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  font-size: 11px;
}
.mini .mv .ck {
  font-size: 11px;
  width: 1.35em;
  height: 1.35em;
}
.mini .mv .pp {
  font-size: 12px;
}
/* note */

.note {
  position: relative;
  width: 31em;
  background: #fff;
  color: var(--ink);
  border-radius: 1.4em;
  padding: 2.6em 2.4em 2.3em;
  text-align: left;
  transform: rotate(-2.5deg);
  box-shadow:
    0 2.6em 3.2em -1.4em rgba(0, 0, 0, 0.4),
    0 0.3em 0.7em rgba(0, 0, 0, 0.12);
  transition:
    opacity 0.7s var(--ease) 0.45s,
    transform 1s var(--ease) 0.45s;
}

/* phone */
.panel.o {
  align-items: flex-start;
}

.phone {
  position: relative;
  width: 31em;
  height: 62em;
  border-radius: 5em;
  background: #0d0d0d;
  padding: 0.9em;
  color: var(--ink);
  text-align: left;
  box-shadow:
    0 3em 4em -2em rgba(0, 0, 0, 0.5),
    inset 0 0 0 0.25em #2a2a2a;
  transform: rotate(-2deg);
}

.island {
  position: absolute;
  top: 1.1em;
  left: 50%;
  width: 9.4em;
  height: 2.7em;
  margin-left: -4.7em;
  border-radius: 2em;
  background: #000;
}

.notif {
  margin: 1.7em 1.1em 0;
  background: #fff;
  border-radius: 2.4em;
  padding: 1.8em 1.8em 1.7em;
  box-shadow: 0 1.6em 3em -1.2em rgba(0, 0, 0, 0.6);
  transition:
    opacity 0.45s var(--ease) 1.15s,
    transform 0.7s var(--pop) 1.15s;
}
.nh {
  display: flex;
  align-items: center;
  font-size: 1.3em;
}
.nh .logo {
  font-size: 1.2em;
}
.nwho {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 1em;
  font-size: 1.4em;
  font-weight: 600;
  color: #55524c;
}
.nwho .pt {
  --s: 2.1em;
}
.nq {
  font-family: "Archivo", sans-serif;
  margin-top: 0.45em;
  font-style: italic;
  font-weight: 900;
  font-stretch: 118%;
  font-size: 2.8em;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.ns {
  margin-top: 0.5em;
  font-size: 1.6em;
  color: var(--red);
  font-weight: 700;
}
.acts {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.7em;
  margin-top: 1.5em;
}
.acts button {
  font-family: "Archivo", sans-serif;
  height: 3.2em;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.55em;
  font-style: italic;
  font-stretch: 112%;
  transition:
    background-color 0.2s,
    color 0.2s,
    opacity 0.2s,
    transform 0.15s;
}
.acts button:active {
  transform: scale(0.97);
}
.acts .ap {
  background: var(--ink);
  color: #fff;
}
.acts .dn {
  background: var(--paper);
}
[data-v="ok"] .acts .ap {
  background: var(--green);
}
[data-v="ok"] .acts .dn,
[data-v="no"] .acts .ap {
  opacity: 0.4;
}
[data-v="no"] .acts .dn {
  background: var(--red);
  color: #fff;
}

/* receipt */

.rcpt {
  width: 30em;
  background: #fff;
  color: var(--ink);
  text-align: left;
  padding: 3em 2.6em 2.9em;
  transition: clip-path 1.2s var(--ease) 0.9s;
}

/* =====================================================================
   App pages (onboarding, home, errand room, consent, sim PayPal, shop)
   ===================================================================== */
.lead {
  font-size: clamp(19px, 1.45vw, 22px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--soft);
  text-wrap: pretty;
}
.fine {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--mute);
  line-height: 1.4;
}
.fine a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn {
  border: 0;
  cursor: pointer;
}
.btn.sm {
  height: 44px;
  font-size: 15px;
  padding: 0 5px 0 18px;
  gap: 10px;
}
.btn.sm .go {
  width: 34px;
  height: 34px;
}
.btn.ghost.sm {
  padding: 0 18px;
}
.btn.plain {
  background: var(--paper);
  color: var(--ink);
  padding: 0 22px;
}
.btn.danger {
  background: #fff;
  color: var(--red);
  box-shadow: inset 0 0 0 2px currentColor;
  padding: 0 20px;
}
.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}
.link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.btn-pp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32em;
  height: 58px;
  padding: 0 34px;
  border-radius: 999px;
  background: #ffc439;
  color: #2c2e2f;
  font-size: 19px;
  font-weight: 600;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition:
    filter 0.2s,
    transform 0.2s var(--ease);
}
.btn-pp:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
}
.btn-pp .pp {
  font-size: 1.2em;
}

/* nav */
.cnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 22px var(--gut);
}
.cnav .logo {
  font-size: 26px;
}
.cnav nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 16px;
  font-weight: 600;
}
.cnav nav > a:not(.btn):not(.who):hover,
.s-links > a:not(.btn):not(.who):hover {
  color: var(--cobalt);
}
.cnav nav > a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
@media (max-width: 860px) {
  .cnav nav > .hide-sm,
  .s-links > .hide-sm {
    display: none;
  }
}
.who {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 16px 0 6px;
  border-radius: 999px;
  background: var(--paper);
  font-weight: 600;
}
.who .av {
  width: 32px;
  height: 32px;
}
@media (max-width: 640px) {
  .cnav nav > a.hide-sm {
    display: none;
  }
  .cnav .logo {
    font-size: 22px;
  }
}

/* halftone corner dots inside colour panels */
.dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
}
.dots svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- onboarding ---------- */
.ob {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 40px);
  max-width: 1360px;
  margin: 0 auto;
  padding: 8px var(--gut) var(--gut);
  min-height: calc(100svh - 90px);
}
.ob-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(12px, 3vw, 40px) 0;
  max-width: 560px;
}
.ob-txt h1 {
  font-size: clamp(46px, 5vw, 84px);
  padding-right: 0.06em;
}
.ob-txt .lead {
  margin-top: 20px;
  max-width: 28ch;
}
.ob-txt .acts-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}
.prog {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.prog i {
  width: 34px;
  height: 6px;
  border-radius: 9px;
  background: var(--line);
}
.prog i.on {
  background: var(--ink);
}
.stage {
  position: relative;
  border-radius: var(--rad);
  overflow: hidden;
  display: grid;
  place-items: center;
  container-type: inline-size;
  min-height: 420px;
  background: var(--cab);
}
@media (min-width: 901px) {
  .ob {
    align-items: start;
  }
  .ob .stage {
    position: sticky;
    top: 16px;
    height: calc(100svh - 110px);
  }
  .ob-txt {
    min-height: calc(100svh - 110px);
  }
}
.stage.g {
  background: var(--green);
}
.stage.c {
  background: var(--cab);
}

.stage.li {
  background: #ece6ff;
}
.stage.o {
  background: var(--orange);
}
.stage.g .dots {
  color: #fff;
  opacity: 0.15;
}
.stage .card-wrap {
  position: relative;
  z-index: 1;
  font-size: min(2.2cqi, 14px);
  transform: rotate(-3deg);
  transition: transform 0.6s var(--ease);
}
.stage .card-wrap:hover {
  transform: rotate(-1deg) translateY(-4px);
}
.idc.blank .nm {
  opacity: 0.45;
}
.idc.blank :is(.sb, .vt) {
  opacity: 0.5;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 30px;
}
.fld {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.fld > span {
  font-size: 15px;
  font-weight: 700;
}
.fld > span small {
  font-weight: 500;
  color: var(--mute);
}
.inp {
  width: 100%;
  height: 58px;
  padding: 0 20px;
  border-radius: 16px;
  border: 0;
  background: var(--paper);
  font: inherit;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  transition:
    box-shadow 0.2s,
    background-color 0.2s;
}
.inp:focus {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--ink);
}
.inp.big {
  height: 72px;
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  font-size: 34px;
  letter-spacing: -0.04em;
}
.sw {
  display: flex;
  gap: 12px;
}
.sw label {
  position: relative;
  cursor: pointer;
}
.sw input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sw span {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.12);
  transition: transform 0.2s var(--pop);
}
.sw input:checked + span {
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5px var(--ink);
}
.sw input:focus-visible + span {
  outline: 2px solid var(--pp2);
  outline-offset: 6px;
}
.opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.opt {
  position: relative;
  display: block;
  cursor: pointer;
}
.opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.opt > span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: var(--paper);
  transition:
    box-shadow 0.2s,
    background-color 0.2s;
}
.opt b {
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 118%;
  font-size: 21px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.opt small {
  font-size: 15px;
  font-weight: 500;
  color: var(--soft);
  line-height: 1.3;
}
.opt input:checked + span {
  background: #fff;
  box-shadow: inset 0 0 0 2.5px var(--ink);
}
.opt input:focus-visible + span {
  outline: 2px solid var(--pp2);
  outline-offset: 3px;
}

/* connecting checklist */
.chk {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}
.chk li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  animation: chkin 0.5s var(--ease) forwards;
  animation-delay: var(--d);
}
.chk li .okc {
  width: 30px;
  height: 30px;
  transform: scale(0);
  animation: pop 0.45s var(--pop) forwards;
  animation-delay: calc(var(--d) + 0.25s);
}
@keyframes chkin {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pop {
  to {
    transform: none;
  }
}
.okc {
  display: inline-grid;
  place-items: center;
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.okc svg {
  width: 0.78em;
  height: 0.78em;
}

/* ---------- home ---------- */
.home {
  max-width: 1360px;
  margin: 0 auto;
  padding: 4px var(--gut) 80px;
}
.hello {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 40px;
  flex-wrap: wrap;
  padding: 24px 0 30px;
}
.hello h1 {
  font-size: clamp(44px, 5.2vw, 88px);
  max-width: 9em;
  padding-right: 0.06em;
}
.hello .lead {
  max-width: 26ch;
  padding-bottom: 8px;
}

.tile {
  position: relative;
  border-radius: var(--rad);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  container-type: inline-size;
}
.tile.c {
  background: var(--cab);
}
.tile.g {
  background: var(--green);
  color: #fff;
}

.tile.w {
  background: #fff;
  border: 1.5px solid var(--line);
}
.tile.o {
  background: var(--orange);
}
.tile.g .dots {
  color: #fff;
  opacity: 0.14;
}
.tile .tile-in {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 36px);
}
.tile h2 {
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(30px, 3vw, 46px);
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.tile p.sub {
  margin-top: 12px;
  font-size: 19px;
  font-weight: 500;
  max-width: 30ch;
  line-height: 1.3;
}
.tile.g p.sub {
  color: rgba(255, 255, 255, 0.82);
}
.tile .center {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 24px 0;
}
.tile .bottom {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.tile.g .btn {
  background: #fff;
  color: var(--ink);
}
.tile.g .btn.ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.idwrap {
  font-size: min(2.25cqi, 13px);
  transform: rotate(-2.5deg);
}

.errands {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
  gap: 16px;
}
.errand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 20px;
  border-radius: 24px;
  background: #fff;
  border: 1.5px solid var(--line);
}

.errand .st {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: capitalize;
  white-space: nowrap;
}
.errand .st i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mute);
}
.errand .st.active i {
  background: var(--green);
}
.errand .st.revoked i,
.errand .st.suspended i {
  background: var(--red);
}
.errand .for {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}
.errand .for::before {
  content: "“";
}
.errand .for::after {
  content: "”";
}
.meter {
  position: relative;
  height: 12px;
  border-radius: 9px;
  background: var(--paper);
  overflow: hidden;
  display: flex;
}
.meter i {
  display: block;
  height: 100%;
  background: var(--ink);
}
.meter i.held {
  background: repeating-linear-gradient(45deg, #bdb7ac 0 4px, #d8d3c9 4px 8px);
}
.money-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--soft);
}
.money-row b {
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.errand.off {
  opacity: 0.62;
}
.asks {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.ask {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--orange);
  color: var(--ink);
}
.ask .pt {
  --s: 3em;
  font-size: 16px;
  border-radius: 12px;
}
.ask b {
  font-family: "Archivo", sans-serif;
  display: block;
  font-style: italic;
  font-weight: 900;
  font-stretch: 118%;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.ask small {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  font-weight: 600;
}
.ask .btn {
  margin-left: auto;
}
.feed {
  list-style: none;
  border-radius: 24px;
  border: 1.5px solid var(--line);
  overflow: hidden;
}
.feed li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-size: 16.5px;
}
.feed li:first-child {
  border-top: 0;
}
.feed .k {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--paper);
  font-size: 15px;
}
.feed .k.buy {
  background: var(--hivis);
}
.feed .k.ask {
  background: #ffe2d2;
}
.feed .k.no {
  background: #ffd9d5;
}
.feed .k.id {
  background: #deddff;
}
.feed b {
  font-weight: 700;
}
.feed span.d {
  display: block;
  color: var(--soft);
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed time {
  font-size: 13.5px;
  color: var(--mute);
  font-weight: 600;
  white-space: nowrap;
}
.empty {
  padding: 26px;
  border-radius: 24px;
  background: var(--paper);
  font-weight: 600;
  color: var(--soft);
}
@media (max-width: 900px) {
  .ob {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile {
    min-height: 360px;
  }
  .stage {
    min-height: 360px;
  }
  .ob-txt {
    max-width: none;
  }
}

/* ---------- consent: the errand note ---------- */
.desk {
  min-height: calc(100svh - 90px);
  display: grid;
  place-items: start center;
  padding: 24px var(--gut) 80px;
  background: radial-gradient(circle at 80% 0, #e8f7da 0, transparent 55%), #fff;
}

.more {
  margin-top: 18px;
  border-radius: 18px;
  border: 1.5px solid var(--line);
}
.more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.more summary::-webkit-details-marker {
  display: none;
}
.more summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--mute);
}
.more[open] summary::after {
  content: "–";
}
.more .in {
  display: grid;
  gap: 4px;
  padding: 0 10px 12px;
}

.sees {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 13px 15px;
  border-radius: 16px;
  background: #eef5fe;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.3;
}
.sees b {
  font-weight: 700;
}

.err {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #ffe4e1;
  color: #9b1c12;
  font-weight: 600;
}

/* centred card pages (connect, refusal, error, approval) */
.solo {
  min-height: calc(100svh - 90px);
  display: grid;
  place-items: center;
  padding: 24px var(--gut) 80px;
}
.solo-card {
  width: min(100%, 560px);
  text-align: center;
}
.solo-card h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  padding-right: 0.06em;
  text-wrap: balance;
}
.solo-card .lead {
  margin: 18px auto 0;
  max-width: 30ch;
}
.solo-card .acts-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}
.pair-ids {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
  font-size: 15px;
}
.pair-ids .pt {
  --s: 4em;
  border-radius: 16px;
}
.pair-ids .shopt {
  display: grid;
  place-items: center;
  width: 4em;
  height: 4em;
  border-radius: 16px;
  background: var(--green);
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  font-size: 15px;
}
.pair-ids .shopt b {
  font-size: 2.6em;
  line-height: 1;
}
.pair-ids .dash {
  width: 64px;
  border-top: 3px dotted #bdb7ac;
}
.big-ic {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 26px;
  border-radius: 26px;
  background: var(--paper);
  font-size: 38px;
}
.notif.solo-n {
  margin: 0 auto;
  max-width: 440px;
  text-align: left;
  font-size: 10px;
  box-shadow:
    0 2.4em 3.2em -1.6em rgba(0, 0, 0, 0.38),
    0 0.3em 0.7em rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(20, 20, 20, 0.05);
}
.notif .why {
  margin-top: 1.2em;
  padding: 1em 1.2em;
  border-radius: 1.2em;
  background: var(--paper);
  font-size: 1.45em;
  font-weight: 500;
  color: var(--soft);
  line-height: 1.3;
}
.notif form.acts {
  display: grid;
}

/* ---------- errand room ---------- */
.room {
  display: grid;
  grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gut) var(--gut);
  height: calc(100svh - 90px);
  min-height: 640px;
}
.chat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: var(--rad);
  background: #fff;
  border: 1.5px solid var(--line);
  overflow: hidden;
}

.log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.bub {
  max-width: 88%;
  padding: 11px 15px 12px;
  border-radius: 20px 20px 20px 6px;
  background: var(--al, #deddff);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.bub.me {
  align-self: flex-end;
  border-radius: 20px 20px 6px 20px;
  background: var(--ink);
  color: #fff;
}
.bub.dim {
  background: var(--paper);
  color: var(--soft);
}
.trace {
  align-self: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.trace span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--paper);
  font:
    500 12px / 1 "JetBrains Mono",
    monospace;
  color: var(--soft);
}
.trace span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.trace span.bad i {
  background: var(--red);
}
.typing {
  align-self: flex-start;
  display: flex;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 20px 20px 20px 6px;
  background: var(--al, #deddff);
}
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.35;
  animation: blink 1s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes blink {
  50% {
    opacity: 1;
  }
}

@keyframes cardin {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
}
.paycard {
  padding: 16px;
  border-radius: 22px;
  background: var(--paper);
}
.paycard .li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  padding: 4px 0;
}
.paycard .tot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 8px 0 14px;
  padding-top: 10px;
  border-top: 2px solid var(--ink);
}
.paycard .tot span {
  font-weight: 700;
}
.paycard .tot b {
  font:
    700 26px / 1 "JetBrains Mono",
    monospace;
  letter-spacing: -0.04em;
}
.paycard .btn-pp {
  width: 100%;
  height: 52px;
  font-size: 17px;
}
.paycard .wait {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  font-weight: 700;
  color: var(--soft);
}
.paycard .wait i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2.5px solid var(--line);
  border-top-color: var(--ink);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.nocard {
  padding: 14px 16px;
  border-radius: 20px;
  background: #ffe4e1;
  color: #7a170f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}
.nocard b {
  display: block;
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 118%;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 3px;
}
.log .notif {
  margin: 0;
  font-size: 8.4px;
  box-shadow:
    0 1.6em 2.4em -1.4em rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(20, 20, 20, 0.06);
}
.log .notif .nwho .pt {
  border-radius: 0.5em;
}
.log .rcpt {
  width: auto;
  transition: none;
}

.after {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.sugs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 16px 10px;
  scrollbar-width: none;
}
.sugs::-webkit-scrollbar {
  display: none;
}
.sugs button {
  flex: none;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.15s;
}
.sugs button:hover {
  background: #e6e1d8;
}
.compose {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
}
.compose input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: var(--paper);
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  outline: none;
}
.compose input:focus {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--ink);
}
.compose button {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--hivis);
  flex: none;
}
.compose button svg {
  width: 18px;
  height: 18px;
}
.compose button[disabled] {
  opacity: 0.35;
}
.demo-tag {
  padding: 0 16px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mute);
}

/* the shop front inside the room */

.jr {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jr b {
  font-family: "Archivo", sans-serif;
  display: block;
  font-weight: 800;
  font-stretch: 112%;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.jr small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}
.welcome {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 8px;
  border-radius: 999px;
  background: var(--hivis);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  rotate: -2deg;
}
.welcome .logo {
  font-size: 14px;
  --slash: var(--ink);
}
.shopf-filters {
  display: flex;
  gap: 8px;
  padding: 14px 20px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.shopf-filters::-webkit-scrollbar {
  display: none;
}
.shopf-filters button {
  flex: none;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  font-size: 14.5px;
  font-weight: 700;
  text-transform: capitalize;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.shopf-filters button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.shelf {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  align-content: start;
  gap: 14px;
  padding: 14px 20px 24px;
}

@media (max-width: 900px) {
  .room {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }
  .chat {
    height: 78svh;
    min-height: 520px;
  }
}

/* ---------- simulated PayPal (deliberately not PayPal's look) ---------- */
.simf {
  min-height: 100svh;
  background: var(--paper);
  padding: 0 var(--gut) 56px;
}
.sim-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
  padding: 22px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--soft);
}
.sim-bar .logo {
  font-size: 24px;
  color: var(--ink);
}
.sim-bar > span:last-child {
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.sim-card {
  width: min(100%, 480px);
  margin: 6vh auto 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.sim-card h1 {
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 120%;
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.sim-card .lead {
  margin-top: 10px;
  font-size: 15.5px;
}
.simf .wiz-alt {
  margin-top: 6px;
}
.simf .btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-family: "Instrument Sans", sans-serif;
  font-style: normal;
  font-stretch: 100%;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}
.simf .btn.ghost {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.personas {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.persona {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
  cursor: pointer;
  transition:
    box-shadow 0.15s,
    background-color 0.15s;
}
.persona:hover {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--ink);
}
.persona .av {
  width: 44px;
  height: 44px;
}
.persona b {
  display: block;
  font-size: 15.5px;
}
.persona small {
  display: block;
  font-size: 13px;
  color: var(--soft);
  font-weight: 500;
}
.persona .tagx {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--paper);
  white-space: nowrap;
}
.persona.rec .tagx {
  background: var(--ink);
  color: #fff;
}
.sim-lines {
  list-style: none;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.sim-lines li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.sim-tot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
}
.sim-tot b {
  font:
    700 30px / 1 "JetBrains Mono",
    monospace;
  letter-spacing: -0.04em;
}
.sim-acts {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  margin-top: 26px;
}
.sim-acts .btn {
  justify-content: center;
  padding: 0 20px;
}

/* ---------- small screens ---------- */
@media (max-width: 560px) {
  .sim-acts {
    grid-template-columns: 1fr;
  }
  .opts {
    grid-template-columns: minmax(0, 1fr);
  }
  .btn-pp {
    height: 54px;
    font-size: 17px;
    padding: 0 26px;
  }
  .ask {
    flex-wrap: wrap;
  }
  .ask .btn {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ================= onboarding steps ================= */
.prog {
  align-items: center;
}
.prog span {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

.ob-txt .back {
  margin-bottom: 22px;
  font-weight: 700;
  color: var(--soft);
}
.how {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 30px;
}
.how li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.how .n {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--ink);
  color: var(--hivis);
  font:
    900 italic 20px / 1 "Archivo",
    sans-serif;
  font-stretch: 125%;
}
.how b {
  font-family: "Archivo", sans-serif;
  display: block;
  font-style: italic;
  font-weight: 900;
  font-stretch: 118%;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.how p {
  margin-top: 5px;
  font-size: 17px;
  font-weight: 500;
  color: var(--soft);
  line-height: 1.35;
  max-width: 46ch;
}
.where {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.paths {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px;
  border-radius: 22px;
  background: var(--paper);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.2s;
}
.path:hover {
  transform: translateX(4px);
  box-shadow: inset 0 0 0 2.5px var(--ink);
}
.path.rec {
  background: #fff;
  box-shadow: inset 0 0 0 2.5px var(--ink);
}
.path b {
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 120%;
  font-size: 26px;
  letter-spacing: -0.035em;
  line-height: 1;
}
.path > span {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--soft);
  line-height: 1.35;
}
.path q {
  color: var(--ink);
  font-weight: 600;
}
.path .tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--hivis);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.steps {
  list-style: none;
  counter-reset: st;
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.steps li {
  counter-increment: st;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 6px;
}
.steps li::before {
  content: counter(st);
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font:
    700 15px / 1 "JetBrains Mono",
    monospace;
}
.steps b {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.3;
  padding-top: 5px;
}
.steps span {
  font-size: 16px;
  font-weight: 500;
  color: var(--soft);
  line-height: 1.35;
}
.steps q,
.steps em {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
}
code.code {
  display: flex;
  align-items: center;
  height: auto;
  min-height: 48px;
  padding: 10px 16px;
  font:
    600 15px / 1.35 "JetBrains Mono",
    monospace;
  overflow-wrap: anywhere;
  white-space: normal;
  border-radius: 14px;
}
code.code.sm {
  min-height: 40px;
  font-size: 13.5px;
  font-weight: 500;
}
.warn {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff1d6;
  font-size: 15.5px;
  font-weight: 500;
  color: #5c4300;
}
.warn b {
  font-weight: 700;
}
.live {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--paper);
  font-size: 16px;
  font-weight: 500;
}
.live b {
  font-weight: 700;
}
.live .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cab);
  box-shadow: 0 0 0 0 rgba(255, 198, 41, 0.6);
  animation: pulse 1.6s infinite;
}
.live.on {
  background: #e3f6ec;
}
.live.on .dot {
  background: var(--green);
  animation: none;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(255, 198, 41, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 198, 41, 0);
  }
}

/* consent: which courier is this Claude? */
.pickc {
  border: 0;
  margin-bottom: 6px;
}
.pickc legend {
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 10px;
}
.pickc-o {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pickc-o label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  font-weight: 700;
}
.pickc-o label:has(input:checked) {
  background: var(--bl);
  box-shadow: inset 0 0 0 2px var(--bk);
}
.pickc-o input {
  position: absolute;
  opacity: 0;
}
.pickc-o .pt {
  --s: 32px;
  border-radius: 50%;
}
.pickc-o small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--mute);
}
.pickc > small {
  display: block;
  margin-top: 10px;
  font-size: 0.8em;
  font-weight: 500;
  color: var(--soft);
}

/* ================= the app shell ================= */
body.app-page {
  background: var(--paper);
}
html:has(body.app-page) {
  background: var(--paper);
}
.app {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  height: 100svh;
  min-height: 600px;
}
.rail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 22px 14px 16px;
}
.rail-logo {
  padding: 0 12px 24px;
}
.rail-logo .logo {
  font-size: 26px;
}
.rail nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rail nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--soft);
  transition: background-color 0.15s;
}
.rail nav a svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.rail nav a:hover {
  background: rgba(20, 20, 20, 0.05);
  color: var(--ink);
}
.rail nav a[aria-current] {
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}
.rail nav .n {
  margin-left: auto;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font:
    700 12px / 22px "JetBrains Mono",
    monospace;
  text-align: center;
}
.rail nav .n.hot {
  background: var(--orange);
}

.rail-who {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  row-gap: 6px;
  padding: 14px 10px 0;
  border-top: 1px solid var(--line);
}
.rail-who .av {
  width: 34px;
  height: 34px;
}
.rail-who b {
  display: block;
  font-size: 15.5px;
  line-height: 1.1;
}
.rail-who .vt {
  font-size: 12px;
}
.rail-who .fine {
  grid-column: 2;
  font-size: 13px;
}
.pane {
  min-width: 0;
  min-height: 0;
  padding: 14px 14px 14px 0;
}
.panel {
  position: relative;
  background: #fff;
  border-radius: var(--rad);
  min-height: 0;
}

.sec-t {
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 122%;
  font-size: 22px;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sec-t span {
  font:
    700 13px / 1 "JetBrains Mono",
    monospace;
  font-style: normal;
  padding: 4px 8px;
  border-radius: 99px;
  background: var(--paper);
}
.st {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}
.st i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mute);
}
.st.active i {
  background: var(--green);
}
.st.revoked i,
.st.suspended i {
  background: var(--red);
}
.panel-f {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* errand row */
.rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.erow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 18px;
  transition: background-color 0.15s;
}
.erow:hover {
  background: var(--paper);
}
.erow[aria-current] {
  background: var(--bl);
}
.erow .pt {
  --s: 44px;
  border-radius: 13px;
}
.erow .et {
  min-width: 0;
}
.erow .et b {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.erow .et small {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.erow .et .ls {
  color: var(--soft);
}
.erow .em {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  width: 96px;
}
.erow .em small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mute);
  white-space: nowrap;
}
.erow .em b {
  font-family: "JetBrains Mono", monospace;
  color: var(--ink);
}
.erow.off .pt {
  filter: grayscale(0.7);
  opacity: 0.7;
}
.erow.off .et b {
  color: var(--soft);
}
.meter.sm {
  width: 100%;
  height: 7px;
}
.erow .meter {
  background: rgba(20, 20, 20, 0.08);
}
.where-pill {
  padding: 5px 11px;
  border-radius: 99px;
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--soft);
  white-space: nowrap;
}
.where-pill.on {
  background: #e3f6ec;
  color: var(--green);
}

/* ---- home ---- */

.stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stats li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 11px;
  border-radius: 16px;
  background: #fff;
}
.stats li > i {
  width: 10px;
  height: 10px;
  margin: 0 3px;
  border-radius: 50%;
  background: var(--green);
}
.stats li.todo > i {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--orange);
}
.stats b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
}
.stats small,
.stats .link {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mute);
  line-height: 1.2;
}
.stats .link {
  color: var(--orange);
}

.tile {
  min-height: 0;
}

.switch {
  display: flex;
  align-items: center;
  gap: 6px;
}
.switch a {
  display: block;
  border-radius: 12px;
  padding: 3px;
  transition: box-shadow 0.15s;
}
.switch a[aria-current] {
  box-shadow: 0 0 0 2.5px var(--ink);
}
.switch .pt {
  --s: 34px;
  border-radius: 9px;
}
.switch .add {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px rgba(20, 20, 20, 0.35);
  font-size: 22px;
  font-weight: 500;
}
.switch .add:hover {
  box-shadow: inset 0 0 0 2px var(--ink);
}
.desk-card {
  flex: 1;
  min-height: 0;
  container-type: size;
  display: grid;
  place-items: center;
}
.desk-card .idwrap {
  font-size: min(2.75cqi, 4.2cqh, 15px);
}

/* ---- list + detail ---- */
.split {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 14px;
  height: 100%;
}
.lst {
  display: flex;
  flex-direction: column;
  padding: 24px 16px 16px;
}
.lst-h {
  padding: 0 8px;
}
.lst-h h1 {
  font-size: 44px;
}
.lst-h .fine {
  margin-top: 8px;
}
.seg-tabs {
  display: inline-flex;
  gap: 2px;
  margin-top: 16px;
  padding: 4px;
  border-radius: 99px;
  background: var(--paper);
}
.seg-tabs a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--soft);
}
.seg-tabs a span {
  font:
    700 12px / 1 "JetBrains Mono",
    monospace;
  color: var(--mute);
}
.seg-tabs a[aria-current] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(20, 20, 20, 0.08);
}
.scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.lst .rows {
  margin-top: 16px;
}
.lst .empty {
  margin: 0 6px;
}
.dtl {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.empty-dtl {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
}
.empty-dtl h2 {
  font-size: 40px;
}
.dtl-h {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.dtl-h .pt {
  --s: 52px;
  border-radius: 15px;
}
.dtl-h b {
  display: block;
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 122%;
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1;
}
.dtl-h small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mute);
}
.dtl-a {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.dtl-b {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.dtl-facts {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px;
  min-height: 0;
}
.fact .meter {
  margin-bottom: 10px;
}
.fact.grow {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.fact .feed {
  border-radius: 18px;
}
.fact .feed li {
  padding: 11px 16px;
  font-size: 15px;
}
.fact .feed .k {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 14px;
}
.bought {
  list-style: none;
  display: grid;
  gap: 8px;
}
.bought li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--paper);
}
.bought b {
  font-weight: 700;
}
.bought small {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mute);
  text-align: right;
}
.dtl-c {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 0;
}
.tile.li {
  background: #ece6ff;
}
.cstage .desk-card .idwrap {
  font-size: min(2.4cqi, 4.4cqh, 16px);
}
.lives {
  padding: 20px 22px;
}
.live-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.live-row:first-of-type {
  border-top: 0;
}
.live-row > i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--orange);
}
.live-row.on > i {
  background: var(--green);
  box-shadow: none;
}
.live-row b {
  display: block;
  font-size: 16px;
  font-weight: 700;
}
.live-row small {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--soft);
}

/* ---- connections ---- */
.conn {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.conn-h {
  padding: 12px 8px 4px;
}
.conn-h h1 {
  font-size: clamp(40px, 4vw, 60px);
}
.conn-h .lead {
  margin-top: 8px;
}

.cbox {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.cbox.gone {
  max-width: 620px;
}
.gone-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}
.cbox.gone .acts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- errand room inside the shell ---- */
.pane .room {
  height: 100%;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ---- the app on small screens: one column, the page scrolls ---- */
@media (max-width: 900px) {
  .app {
    display: block;
    height: auto;
  }
  .rail {
    position: sticky;
    top: 0;
    z-index: 10;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--paper);
    overflow-x: auto;
  }
  .rail-logo {
    padding: 0 6px 0 0;
  }
  .rail-logo .logo {
    font-size: 20px;
  }
  .rail nav {
    flex-direction: row;
  }
  .rail nav a {
    height: 38px;
    padding: 0 10px;
    font-size: 14.5px;
    white-space: nowrap;
  }
  .rail-who {
    display: none;
  }
  .pane {
    padding: 0 12px 16px;
  }
  .split,
  .dtl-b,
  .dtl-c {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .lst {
    max-height: none;
  }
  .lst .scroll {
    max-height: none;
  }

  .cstage {
    min-height: 360px;
  }
  .pane .room {
    height: calc(100svh - 72px);
    grid-template-columns: minmax(0, 1fr);
  }
}
.feed.tight {
  border-radius: 18px;
}
.feed.tight li {
  padding: 10px 14px;
  font-size: 14.5px;
  gap: 12px;
}
.feed.tight .k {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 13px;
}
.feed.tight span.d {
  font-size: 13.5px;
}
.dtl-h {
  flex-wrap: nowrap;
}
.dtl-t {
  min-width: 0;
}
.dtl-t b {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dtl-t .st {
  font-family: var(--body), sans-serif;
  font-style: normal;
  letter-spacing: 0;
  height: 26px;
  font-size: 12.5px;
}
.dtl-a {
  flex: none;
}
.dtl-b {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.steps b {
  font-size: 16.5px;
}
.steps code.code {
  min-height: 42px;
  padding: 8px 14px;
}

@media (max-width: 900px) {
  .desk-card {
    flex: none;
    height: min(62vw, 300px);
  }
  .cstage {
    min-height: 0;
  }
}

/* ---------- username fields, onboarding details, receipts ---------- */
.fld .hint {
  font-size: 13px;
  color: var(--soft);
  font-weight: 500;
}
.fld .hint.bad {
  color: #c2410c;
}
.idc .nm {
  max-width: 100%;
}

.erow .et {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* quieter onboarding */
.how {
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 34px;
}
.how li {
  align-items: center;
}
.how b {
  font-size: 21px;
}

.paths {
  gap: 10px;
  margin: 26px 0 14px;
}
.path {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 18px 22px;
}
.path > span:first-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.path > span:first-child > span {
  font-size: 16px;
  font-weight: 500;
  color: var(--soft);
}
.path .tag {
  position: static;
}
.path > .go {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--hivis);
}
.path > .go svg {
  width: 15px;
  height: 15px;
}
.steps {
  gap: 18px;
}
.steps li {
  row-gap: 8px;
}
.steps span {
  font-size: 15px;
}

/* calmer app views */

.dtl-facts .fact:first-child {
  padding-bottom: 4px;
}

.dtl-b {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.dtl-t b {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.dtl-t small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dtl-t .who {
  color: var(--ink);
  font-weight: 700;
}

.dtl-t {
  flex: 1;
}
.dtl-a {
  align-items: center;
}
.dtl-a .st {
  height: 28px;
  font-size: 12.5px;
}
.dtl-t b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 22px;
  padding-right: 0.1em;
}
.dtl-h .pt {
  --s: 44px;
  border-radius: 13px;
}

/* ---------- Juniper Records (the demo shop): shop front + what the shop sees ---------- */
.jr-page {
  background: #f4f1ea;
}
.jr-nav .jr b {
  color: var(--ink);
}
.jr-nav .jr small {
  color: var(--mute);
}

.jr-nav nav > a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.jr-nav .welcome {
  height: 36px;
}
.jr-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gut) 60px;
}

.jr-filters {
  padding: 20px 0 6px;
}
.jr-filters a {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: #fff;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.jr-filters a[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.mdash {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.md-h {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 10px;
}
.md-h h1 {
  font-size: clamp(40px, 4.6vw, 68px);
}
.md-h .lead {
  margin-top: 10px;
}
.md-stats li {
  padding: 12px 18px;
  border-radius: 18px;
}
.md-stats b {
  font:
    700 26px / 1 "JetBrains Mono",
    monospace;
  letter-spacing: -0.04em;
}
.md-stats small {
  margin-top: 4px;
  font-size: 13px;
}
.md-stats li.ok {
  background: #e3f6ec;
}
.md-stats li.bad {
  background: #ffe4e1;
}
.md-stats li.money {
  background: var(--hivis);
}
.md-g {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.md-orders,
.md-log {
  padding: 22px;
}
.mo {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.mo:first-child {
  border-top: 0;
  padding-top: 4px;
}
.mo-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
}
.mo-top .mini {
  font-size: 10px;
}
.mo-what b {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mo-what small {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mo .pr {
  font:
    700 17px / 1 "JetBrains Mono",
    monospace;
  letter-spacing: -0.03em;
}
.st.pending_bond i {
  background: var(--orange);
}
.mo-ev {
  margin-top: 10px;
  border-radius: 14px;
  background: var(--paper);
}
.mo-ev summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.mo-ev summary::-webkit-details-marker {
  display: none;
}
.mo-ev summary .ck {
  width: 16px;
  height: 16px;
}
.mo-ev dl {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 6px 12px;
  padding: 2px 14px 12px;
  font-size: 14px;
}
.mo-ev dt {
  font-weight: 700;
  color: var(--mute);
}
.mo-ev dd {
  font-weight: 500;
  overflow-wrap: anywhere;
}
.mo-ev code {
  font:
    500 12.5px "JetBrains Mono",
    monospace;
}
.mo-ev form {
  padding: 0 14px 14px;
}
.md-log .feed {
  max-height: 70svh;
  overflow: auto;
}
@media (max-width: 900px) {
  .md-g {
    grid-template-columns: minmax(0, 1fr);
  }
  .mo-top {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .mo-top .st {
    grid-column: 2 / -1;
    justify-self: start;
  }
  .jr-nav .jr small {
    display: none;
  }
}
.mo-top {
  grid-template-columns: minmax(0, 170px) minmax(0, 1fr) auto auto;
}
.mo-who {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.mo-who .pt {
  --s: 38px;
  border-radius: 11px;
  flex: none;
}
.mo-who > span {
  min-width: 0;
}
.mo-who b {
  display: block;
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 118%;
  font-size: 17px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mo-who small {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  font-size: 12px;
}
.mo-who small .ck {
  width: 13px;
  height: 13px;
}
.mo-ev {
  background: transparent;
  margin-top: 4px;
}
.mo-ev[open] {
  background: var(--paper);
}
.mo-ev summary {
  padding: 6px 0 0 0;
  font-size: 13px;
  color: var(--soft);
  width: max-content;
}
.mo-ev[open] summary {
  padding: 10px 14px;
}
@media (max-width: 900px) {
  .mo-top {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .mo-what {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* ---------- for shops and install ---------- */
.fs {
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px var(--gut) 72px;
  /* the order card's tilted backing may reach past a phone's edge */
  overflow-x: clip;
}
.fs .big {
  font-size: clamp(44px, 5.4vw, 84px);
}
.fs .lead {
  margin-top: 16px;
  max-width: 34em;
}
.fs .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.fs-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(16px, 4vw, 56px) 0 clamp(40px, 6vw, 88px);
}
/* An order as it lands on the shop's side: the person never appears on it. */
.fs-order {
  position: relative;
  padding: 22px;
  border-radius: var(--rad);
  background: #fff;
  box-shadow: 0 24px 60px rgba(20, 20, 20, 0.14);
  border: 1px solid var(--line);
  rotate: 1.5deg;
}
.fs-ostage {
  position: relative;
  isolation: isolate;
}
.fs-ostage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -28px -24px -28px 36px;
  border-radius: 36px;
  background: var(--cobalt);
  rotate: -3.5deg;
}
.fs-oh {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 18px;
}
.fs-oh small {
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
}
.fs-who {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 8px;
}
.fs-who > span:nth-child(2) b {
  display: block;
  font:
    italic 900 20px / 1 "Archivo",
    sans-serif;
  font-stretch: 118%;
}
.fs-who small {
  font-size: 13px;
  color: var(--mute);
}
.fs-who .vt {
  margin-left: auto;
}
.fs-pt {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cobalt);
  color: #fff;
  font:
    italic 900 20px "Archivo",
    sans-serif;
}
/* label and value, the way a receipt prints them */
.fs-kv {
  display: grid;
  margin: 0;
}
.fs-kv > div {
  display: grid;
  grid-template-columns: 7em minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 40px;
  border-top: 1px solid var(--line);
}
.fs-kv dt {
  font:
    600 11.5px "JetBrains Mono",
    monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.fs-kv dd {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 700;
}
.fs-kv code {
  font:
    600 13.5px "JetBrains Mono",
    monospace;
  white-space: nowrap;
}
.fs-kv dd i {
  display: block;
  width: 70%;
  height: 12px;
  border-radius: 3px;
  background: currentColor;
}
.fs-ok {
  margin-top: 14px;
  padding: 13px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-weight: 700;
}
.fs-g {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.fs-t {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--rad);
  background: var(--t);
  color: var(--tt);
}
.fs-t .sec-t {
  font-size: 24px;
  line-height: 1.02;
}
.fs-t p {
  font-weight: 500;
  line-height: 1.35;
}
.fs-vis {
  display: grid;
  place-items: center;
  height: 150px;
  margin-bottom: 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}
.fs-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 99px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.14);
  font-weight: 700;
  white-space: nowrap;
}
.fs-pill .ck {
  width: 20px;
  height: 20px;
}
.fs-stop {
  flex-direction: column;
  gap: 2px;
  border-radius: 16px;
  font-size: 13px;
  color: var(--mute);
}
.fs-stop b {
  font-size: 16px;
  color: var(--red);
}
.fs-meter {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  width: 84%;
  font:
    700 13px "JetBrains Mono",
    monospace;
}
.fs-meter i {
  position: relative;
  height: 12px;
  border-radius: 99px;
  background: var(--paper);
  overflow: hidden;
}
.fs-meter i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: var(--orange);
}
.fs-mini {
  width: 86%;
}
.fs-mini code {
  font-size: 12px;
}
.fs-mini > div {
  min-height: 34px;
  grid-template-columns: 5.5em minmax(0, 1fr);
}
.fs-mini > div:first-child {
  border-top: 0;
}
.fs-install {
  margin-top: clamp(56px, 8vw, 120px);
}
.fs-ig {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  margin-top: 32px;
}
.fs-install .steps code:not(.code) {
  font:
    600 0.9em "JetBrains Mono",
    monospace;
}
.fs-ih {
  padding: clamp(16px, 4vw, 56px) 0 8px;
}
.fs-ip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.fs-ip .steps {
  margin: 6px 0 14px;
}
.fs-ip .steps span {
  color: inherit;
}
.fs-ip code.copy {
  background: #fff;
}
/* The PayPal wordmark keeps its own colours, so on a bright tile it sits on white to stay readable. */
.fs-ip .pp {
  padding: 0.05em 0.35em;
  border-radius: 0.35em;
  background: #fff;
}
.fs-ip .fs-t > :last-child {
  margin-top: auto;
  align-self: flex-start;
}
.fs-try {
  justify-content: flex-start;
}
.fs-try .sec-t {
  font-size: 30px;
}
@media (max-width: 1000px) {
  .fs-hero,
  .fs-ig,
  .fs-ip {
    grid-template-columns: minmax(0, 1fr);
  }
  .fs-g {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .fs-g {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- release the bots ---------- */
.bots-pg {
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px var(--gut) 60px;
}
.bots-h h1 {
  font-size: clamp(44px, 5vw, 76px);
}
.bots-h .lead {
  margin-top: 12px;
  max-width: 52ch;
}

.eps {
  list-style: none;
  display: grid;
  gap: 10px;
}
.eps span {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mute);
}
.claims {
  margin: 14px 0 12px;
  padding: 16px;
  border-radius: 16px;
  background: var(--ink);
  color: #edeae3;
  font:
    500 12.5px / 1.55 "JetBrains Mono",
    monospace;
  overflow: auto;
  white-space: pre;
}
.bots-h {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.bot-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 18px;
  min-height: 220px;
}
.bot-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  border-radius: var(--rad);
  background: var(--paper);
  font-weight: 700;
  color: var(--mute);
}
.bot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line);
  animation: cardin 0.5s var(--pop) both;
}
.bot .verdict {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 118%;
  font-size: 15px;
  letter-spacing: -0.02em;
  background: #ffd9d5;
  color: #9b1c12;
}
.bot.flagged .verdict {
  background: #ffe2d2;
  color: #9a3a0b;
}
.bot.allowed .verdict {
  background: var(--red);
  color: #fff;
}
.bot b {
  margin-top: 4px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.25;
}
.bot p {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--soft);
  line-height: 1.35;
}
.bot small {
  font:
    500 12px / 1.4 "JetBrains Mono",
    monospace;
  color: var(--mute);
  overflow-wrap: anywhere;
}
.bot .ms {
  margin-top: auto;
  padding-top: 6px;
  font:
    600 12px "JetBrains Mono",
    monospace;
  color: var(--mute);
}
@media (max-width: 1100px) {
  .bot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .bot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* a courier's name inside a headline: one unbroken line, shrunk by fitText if it won't fit */
.hfit {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  vertical-align: bottom;
}

@media (max-width: 900px) {
  .dtl-h {
    flex-wrap: wrap;
  }
  .dtl-t {
    flex: 1 1 calc(100% - 64px);
  }
  .dtl-a {
    margin-left: 0;
    width: 100%;
  }
}
@media (max-width: 900px) {
  .mo-top .st {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
@media (max-width: 560px) {
  .jr-nav {
    gap: 10px;
  }
  .jr-nav .jr b {
    font-size: 19px;
    white-space: nowrap;
  }
  .jr-nav .welcome > span:not(.logo) {
    display: none;
  }
  .jr-nav .welcome {
    padding: 0 10px;
  }
}

/* Receipt */
.rcpt-st {
  margin: 0 0 8px;
  font-weight: 700;
}
.rcpt-st.paid {
  color: #0a7a3e;
}
.rcpt-items {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  text-align: left;
}
.rcpt-items li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}
.rcpt-items .cv {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: hsl(var(--h) 30% 88%);
}
.rcpt-items li > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.rcpt-items small {
  display: block;
  opacity: 0.7;
}
.rcpt-facts {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 18px;
  margin: 0 0 24px;
  padding-top: 16px;
  border-top: 1px solid rgb(0 0 0 / 0.12);
  text-align: left;
}
.rcpt-facts dt {
  opacity: 0.7;
}
.rcpt-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* ---------- inside the app: calm, standard controls. The fancy ones belong to the landing page. ---------- */
.app-page .btn,
.wiz .btn,
.solo .btn,
.ob .btn {
  height: 44px;
  padding: 0 18px;
  gap: 8px;
  border-radius: 10px;
  font-family: "Instrument Sans", sans-serif;
  font-style: normal;
  font-stretch: 100%;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  transition: opacity 0.15s;
}
.app-page .btn:hover,
.wiz .btn:hover,
.solo .btn:hover,
.ob .btn:hover {
  transform: none;
  opacity: 0.85;
}
.app-page .btn .go,
.wiz .btn .go,
.solo .btn .go,
.ob .btn .go {
  display: none;
}
.app-page .btn.ghost,
.wiz .btn.ghost,
.solo .btn.ghost,
.ob .btn.ghost {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.app-page .btn.sm {
  height: 34px;
  padding: 0 12px;
  font-size: 13.5px;
}
.app-page .btn.danger,
.solo .btn.danger {
  box-shadow: inset 0 0 0 1px currentColor;
}

/* Validation screens: a small card with an edge, so there's one place to look. */
.solo:has(.solo-card) {
  background: var(--paper);
}
.solo-card {
  width: min(100%, 420px);
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.solo-card h1,
.solo-card h1.big {
  font-size: 28px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.solo-card .lead {
  margin-top: 12px;
  max-width: none;
  font-size: 15.5px;
}
.solo-card .acts-row {
  align-items: stretch;
  gap: 8px;
  margin-top: 24px;
}
.solo-card .acts-row .btn {
  justify-content: center;
}
.solo-card .pair-ids {
  margin-bottom: 16px;
}
.solo-card .pair-ids .pt {
  --s: 4em;
}
.solo-card.rcpt {
  width: min(100%, 520px);
}

/* The step-by-step card: same height on every step, buttons in the same place. */
.wiz-page {
  min-height: calc(100svh - 90px);
  display: grid;
  place-items: center;
  padding: 24px var(--gut) 56px;
  background: var(--paper);
}
.wiz {
  width: min(100%, 480px);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.wiz .prog {
  margin-bottom: 18px;
}
.wiz-n {
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--mute);
}
.wiz-step {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wiz-step[hidden] {
  display: none;
}
.wiz-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.wiz-body > .btn {
  align-self: flex-start;
}
.wiz h1,
.wiz h1.big {
  font-size: 30px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.wiz .lead {
  margin: 0;
  font-size: 15.5px;
}
.wiz .copy.inp {
  height: auto;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  overflow-wrap: anywhere;
}
.wiz .live {
  margin-top: 4px;
  border-radius: 10px;
}
.wiz-alt summary {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.wiz-alt > *:not(summary) {
  margin-top: 10px;
}
.wiz-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 15.5px;
}
.wiz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
}
.wiz-foot .btn:only-child {
  margin-left: auto;
}
.wiz-foot:has(.try-demo) {
  flex-direction: column;
  align-items: stretch;
}
.wiz-foot:has(.try-demo) > a[href^="/auth/"] {
  flex: none;
}
.try-demo {
  text-align: center;
}
.try-demo button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.wiz-who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.wiz-who .pt {
  --s: 2.6em;
  flex: none;
}
.budget {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.budget:focus-within {
  border-color: var(--ink);
}
.budget i {
  font-style: normal;
  font-size: 34px;
  font-weight: 600;
  color: var(--mute);
}
.budget input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 34px;
  font-weight: 600;
  color: var(--ink);
}
.payo {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.payo:has(input:checked) {
  border-color: var(--ink);
}
.payo input {
  flex: none;
  margin-top: 3px;
  accent-color: var(--ink);
}
.payo b {
  display: block;
}
.payo small {
  display: block;
  margin-top: 3px;
  color: var(--mute);
  font-size: 13.5px;
  line-height: 1.4;
}

/* Home: one column to read, one quiet column of status. */
.sett {
  height: 100%;
  overflow: auto;
  padding: 28px clamp(8px, 3vw, 40px) 40px;
}

.hm2-s {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.hm2-s > .link {
  align-self: flex-start;
}

.hm2-st {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.hm2-st li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  overflow-wrap: anywhere;
}
.hm2-st li > i {
  flex: none;
  width: 8px;
  height: 8px;
  margin: 6px 4px;
  border-radius: 50%;
  background: var(--mute);
}
.hm2-st li.ok > i {
  background: var(--green);
}
.hm2-st small {
  display: block;
  color: var(--mute);
}

/* Settings: rows, not cards. */
.sett > * {
  max-width: 680px;
  margin-inline: auto;
}
.sett h1 {
  font-size: clamp(30px, 3.4vw, 40px);
  margin-bottom: 24px;
}
.sett section {
  margin-bottom: 24px;
}
.sett .sec-t {
  margin-bottom: 8px;
}
.slist {
  border: 1px solid var(--line);
  border-radius: 14px;
}
.srow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
}
.srow + .srow {
  border-top: 1px solid var(--line);
}
.srow.col {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.srow b {
  display: block;
  font-weight: 600;
}
.srow small {
  display: block;
  color: var(--mute);
  font-size: 13.5px;
  overflow-wrap: anywhere;
}
.srow .copy.inp {
  height: auto;
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
@media (max-width: 860px) {
  .wiz {
    min-height: 440px;
    padding: 22px;
  }
  .srow:not(.col) {
    flex-wrap: wrap;
  }
}

/* Errand detail: the facts alone, one column. */
.dtl-b {
  display: block;
}
.dtl-b .fact + .fact {
  margin-top: 16px;
}
.dtl-for {
  margin: 0;
  font-size: 15px;
}

/* Onboarding: one card, the same size on every step, and no page scroll. */
.onb {
  overflow-x: hidden;
}
.wiz-page {
  min-height: calc(100svh - 96px);
  padding: 16px var(--gut);
}
.wiz {
  height: min(600px, calc(100svh - 128px));
  min-height: 0;
  padding: 24px 28px;
}
.wiz-body {
  min-height: 0;
  overflow-y: auto;
  gap: 12px;
}
.wiz-foot {
  flex: none;
  margin-top: 16px;
}
.wiz-foot > a[href^="/auth/"] {
  flex: 1;
}
.wiz-id {
  display: grid;
  place-items: center;
  padding: 4px 0 12px;
  font-size: min(10px, 2.3vw);
}
.wiz-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.wiz .fld > span {
  font-size: 13.5px;
}
.wiz .fld .inp {
  height: 44px;
  font-size: 15px;
  border-radius: 10px;
}
.wiz .hint {
  margin: -4px 0 0;
  font-size: 12.5px;
}
.wiz .fld.wiz-sw {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}
.wiz-sw .sw span {
  width: 28px;
  height: 28px;
}
@media (max-height: 620px), (max-width: 560px) {
  .wiz {
    height: auto;
  }
  .wiz-body {
    overflow: visible;
  }
}

/* Home: the courier's card is the hero, the money beside it, what happened below. */
.hm3 {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4px 8px 24px;
  display: grid;
  gap: 16px;
}
.hm3-top .big {
  font-size: 40px;
}
.hm3-top .lead {
  margin: 4px 0 0;
  font-size: 16px;
}
.hm3-g {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 16px;
}
.hm3-stage {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: 20px;
}
.hm3-stack {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  font-size: min(1.15vw, 15px);
}
.hm3-card {
  position: relative;
  display: block;
  margin-top: -1.6em;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s;
}
.hm3-card:hover {
  transform: translateY(-3px);
}
/* Other couriers peek out behind the card as the tops of their own badges: same width and corners, a little further back. */
.hm3-peek {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8em;
  box-sizing: border-box;
  width: 20em;
  height: 5.4em;
  padding: 1.6em 1.3em 0;
  margin-bottom: 0;
  border-radius: 1.5em 1.5em 0 0;
  background: var(--ac);
  color: var(--at, #fff);
  font-size: 1em;
  text-decoration: none;
  scale: 0.94;
  transform-origin: 50% 100%;
  transition: translate 0.15s;
}
.hm3-peek + .hm3-peek {
  scale: 0.97;
}
.hm3-peek:first-child:not(:last-of-type) {
  scale: 0.9;
}
.hm3-peek:hover {
  translate: 0 -4px;
}
/* the slot a clip goes through */
.hm3-peek::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.65em;
  width: 3.4em;
  height: 0.6em;
  margin-left: -1.7em;
  border-radius: 99px;
  background: rgba(20, 20, 20, 0.22);
}
.hm3-peek b {
  font-size: 1.05em;
}
.hm3-peek small {
  font-size: 0.82em;
  opacity: 0.8;
}
.hm3-peek.ghost {
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
  border: 1.5px dashed rgba(20, 20, 20, 0.28);
  border-bottom: 0;
  color: var(--soft);
}
.hm3-peek.ghost::before {
  background: rgba(20, 20, 20, 0.12);
}
.hm3-peek.ghost:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
}
.hm3-now {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
}
.hm3-fig small {
  display: block;
  font-size: 13.5px;
  color: var(--soft);
}
.hm3-fig b {
  display: block;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hm3-fig span {
  font-size: 13.5px;
  color: var(--soft);
}
.hm3-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.hm3-state p {
  margin: 0;
  font-size: 15px;
}
.hm3-state .rows,
.hm3-state .copy {
  width: 100%;
}
.hm3-state .copy {
  height: auto;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  overflow-wrap: anywhere;
}
.hm3-act-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.hm3-sk {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}
.hm3-sk i {
  display: block;
  height: 38px;
  border-radius: 10px;
  background: var(--paper);
}
.hm3-sk i:nth-child(2) {
  opacity: 0.7;
}
.hm3-sk i:nth-child(3) {
  opacity: 0.4;
}
@media (max-width: 900px) {
  .hm3-g {
    grid-template-columns: minmax(0, 1fr);
  }
  .hm3-stage {
    min-height: 0;
  }
  .hm3-stack {
    font-size: min(2.5vw, 12px);
  }
}

/* A courier's numbers. */
.cstats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 8px;
}
.cstats dt {
  font-size: 13px;
  color: var(--soft);
}
.cstats dd {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}
.lives .live-row:first-of-type {
  border-top: 1px solid var(--line);
}

/* ---------------- shops: a grid of logos ---------------- */

.slogo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 16px;
}
.slogo svg {
  width: 100%;
  height: 100%;
}
.slogo.sm {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.shopg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.shopg-t {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s;
}
.shopg-t:hover {
  border-color: var(--ink, #141414);
}
.shopg-t small {
  color: var(--mute);
  font-size: 12.5px;
  line-height: 1.35;
}
.shopg.shopg-row {
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 12px 8px;
}
@media (min-width: 480px) {
  .shopg.shopg-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.shopg-m {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.shopg-m small {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}
.shopg.shopg-row .slogo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.hm3-shops .shopg {
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
  margin: 0;
}
.hm3-shops .shopg-t {
  align-items: center;
  gap: 8px;
  padding: 10px 6px;
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
}
.hm3-shops .shopg-t small {
  display: none;
}
.shops-main .shopg {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px auto;
}
@media (max-width: 620px) {
  .shops-main .shopg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.capf {
  margin: 12px 0;
}
.capi {
  display: flex;
  align-items: center;
  gap: 6px;
}
.capi i {
  font-style: normal;
  font-weight: 600;
}
.capform {
  gap: 4px;
}

/* ---------- first run: copy on the left, a courier's ID on the right ---------- */
/* On rails: nothing in the header leads away from the next step. */
.onb .cnav nav {
  display: none;
}
.personas {
  grid-template-columns: minmax(0, 1fr);
}
.persona > span:not(.av):not(.tagx) {
  min-width: 0;
}
.wiz.wiz2 {
  width: min(100%, 920px);
  min-height: 500px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 0;
  box-shadow: 0 18px 44px -24px rgba(20, 20, 20, 0.28);
}
.wiz2-l {
  display: flex;
  flex-direction: column;
  padding: 32px;
  min-width: 0;
}
.wiz2-r {
  position: relative;
  display: grid;
  place-items: center;
  padding: 28px;
  background: #e4e3ff;
  color: var(--cobalt);
  overflow: hidden;
}
.wiz2-r .wiz-id {
  position: relative;
  color: var(--ink);
  width: 100%;
  padding: 0;
  font-size: clamp(8px, 1.06vw, 11px);
}
.wiz2 h1.big {
  font-size: 36px;
}
.wiz2 .wiz-foot:has(.btn-pp) {
  flex-direction: column;
  align-items: stretch;
}
.wiz2 .wiz-foot .btn-pp {
  width: 100%;
  height: 52px;
  font-size: 17px;
}
@media (max-width: 760px) {
  .wiz.wiz2 {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 480px);
  }
  .wiz2-r {
    order: -1;
    padding: 20px;
  }
  .wiz2-r .wiz-id {
    font-size: min(10px, 2.3vw);
  }
  .wiz2-l {
    padding: 24px;
  }
  .wiz2 h1.big {
    font-size: clamp(26px, 7.4vw, 36px);
    overflow-wrap: normal;
  }
}

/* ---------- the sidebar: its own coloured column, apart from the content ---------- */
.rail {
  background: var(--cobalt);
  color: #fff;
}
.rail-logo .logo {
  color: #fff;
}
.rail nav a,
.rail nav a:hover {
  color: #fff;
}
.rail nav a:hover {
  background: rgba(255, 255, 255, 0.14);
}
.rail nav a[aria-current] {
  background: #fff;
  color: var(--ink);
}
.rail nav .n {
  background: var(--hivis);
  color: var(--ink);
}
/* A white card, because the PayPal lockup's own blues don't read on cobalt. */
.rail-who {
  padding: 12px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}
.pane {
  padding: 14px;
}
@media (max-width: 900px) {
  .rail {
    background: var(--cobalt);
  }
  .pane {
    padding: 12px 12px 16px;
  }
}

/* ---------- the first look around ---------- */
.tour-hole {
  position: fixed;
  z-index: 90;
  border-radius: 18px;
  box-shadow: 0 0 0 200vmax rgba(20, 20, 20, 0.58);
  pointer-events: none;
  transition:
    top 0.28s var(--ease),
    left 0.28s var(--ease),
    width 0.28s var(--ease),
    height 0.28s var(--ease);
}
.tour-box {
  position: fixed;
  z-index: 91;
  width: min(360px, calc(100vw - 32px));
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(20, 20, 20, 0.28);
  transition:
    top 0.28s var(--ease),
    left 0.28s var(--ease);
}
.tour-box h2 {
  font-family: "Archivo", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-stretch: 112%;
  font-size: 23px;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.tour-box p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--soft);
}
.tour-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.tour-foot .link {
  margin-left: auto;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.tour-foot .btn {
  flex: none;
}
.tour-dots {
  display: flex;
  gap: 5px;
}
.tour-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}
.tour-dots i.on {
  background: var(--cobalt);
}
@media (max-width: 639px) {
  .tour-box {
    left: 16px;
    bottom: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tour-hole,
  .tour-box {
    transition: none;
  }
}

/* ---------- the errand room: the whole window is the chat ---------- */
.rm {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}
.rm-h {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.rm-h > .pt {
  --s: 42px;
  flex: none;
}
.rm-who {
  flex: none;
  white-space: nowrap;
}
.rm-who b {
  display: block;
  font-size: 17px;
  line-height: 1.15;
}
.rm-who small {
  font-size: 13px;
  color: var(--mute);
}
/* Twenty shops don't fit across, so they scroll sideways and fade at the edges. */
.rm-shops {
  display: flex;
  gap: 6px;
  min-width: 0;
  margin-left: auto;
  padding: 4px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask: linear-gradient(90deg, #0000, #000 14px calc(100% - 28px), #0000);
  mask: linear-gradient(90deg, #0000, #000 14px calc(100% - 28px), #0000);
}
.rm-shops::-webkit-scrollbar {
  display: none;
}
.rm-shops button {
  flex: none;
}
.rm-shops button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.15s var(--ease);
}
.rm-shops button:hover {
  transform: translateY(-2px);
}
.rm-shops .slogo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.tk-edit {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 3px 12px 3px 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  font-size: 14px;
}
.tk-edit label {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
}
.tk-edit input {
  width: 64px;
  height: 28px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}
.tk-edit .link {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.tk-err {
  color: var(--red);
  font-weight: 600;
}
.rm-log {
  padding: 24px max(20px, calc(50% - 370px));
}
.rm-log .bub {
  align-self: flex-start;
  max-width: min(88%, 600px);
  font-size: 16px;
}
.rm-log .bub.me {
  align-self: flex-end;
}
.tk-mark {
  align-self: center;
}
.tk-line {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 13.5px;
  color: var(--soft);
  overflow-wrap: anywhere;
}
.tk-line b {
  margin-right: 4px;
  color: var(--ink);
}
.typing-t {
  margin-left: 6px;
  font-size: 13.5px;
  color: var(--soft);
}
.rm-log .typing:has(.typing-t:not(:empty)) {
  width: auto;
}

.items {
  display: grid;
  gap: 8px;
  max-width: 600px;
}
.item-c {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.item-c b {
  display: block;
  font-size: 15px;
}
.item-c small {
  font-size: 13px;
  color: var(--mute);
}
.item-c .pr {
  font-weight: 700;
}
.rm-foot {
  padding: 8px max(20px, calc(50% - 370px)) 14px;
}
.rm-foot .sugs {
  padding: 0 0 10px;
  flex-wrap: wrap;
  overflow: visible;
}
.rm-foot .sugs[hidden] {
  display: none;
}
.rm-foot .compose {
  padding: 0;
}
.rm-foot .demo-tag {
  margin: 8px 0 0;
  padding: 0;
  text-align: center;
}
.rm-end {
  padding: 14px 16px;
  border: 1.5px solid var(--ink, #141414);
  border-radius: 12px;
}
.rm-end[hidden],
.rm-foot .compose[hidden],
.rm.ended .rm-new {
  display: none;
}
.rm-end p {
  margin: 4px 0 12px;
}
.rm.ended [data-say] {
  pointer-events: none;
  opacity: 0.45;
}
.rm .paycard,
.rm .rcpt {
  max-width: 420px;
}
@media (max-width: 900px) {
  .rm {
    height: calc(100svh - 86px);
  }
}
@media (max-width: 560px) {
  .rm-log,
  .rm-foot {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* One swipeable row, so suggestions never push the chat off a phone. */
  .rm-foot .sugs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .rm-foot .sugs button {
    flex: none;
  }
  .item-c {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .item-c .btn {
    grid-column: 1 / -1;
  }
}

/* ---- the rail stays whole, however far the pane scrolls ---- */
@media (min-width: 901px) {
  .app {
    position: fixed;
    inset: 0;
    height: auto;
    min-height: 0;
  }
  .pane {
    overflow-y: auto;
  }
}
/* ---- errand chats ---- */
.tk-busy {
  display: inline-flex;
  gap: 3px;
}
.tk-busy i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mute);
  animation: tk-pulse 1s infinite;
}
.tk-busy i:nth-child(2) {
  animation-delay: 0.15s;
}
.tk-busy i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes tk-pulse {
  50% {
    opacity: 0.25;
  }
}
.rm-budget {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 6px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.rm-budget[hidden] {
  display: none;
}
.rm-budget span {
  color: var(--soft);
  font-weight: 600;
}
.rm-budget button.link {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.rm-foot .sugs .several {
  background: var(--ink);
  color: #fff;
}
/* ---- item pictures ---- */
.thumb {
  flex: none;
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: hsl(var(--h) 52% 42%);
}
.thumb svg {
  display: block;
  width: 100%;
  height: 100%;
}
.item-c {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
}
.paycard .li.li-t {
  align-items: center;
  justify-content: flex-start;
}
.paycard .li-t > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.paycard .li-t small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--mute);
}

.pay-foot {
  margin-top: 10px;
  text-align: center;
}
.pay-foot button {
  border: 0;
  background: none;
  padding: 0;
  margin-bottom: 4px;
  cursor: pointer;
  font-weight: 700;
}

/* a paid purchase in the room: small, and made to stack */
.tick {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  padding: 8px 0 8px 12px;
  background: var(--paper);
  border-radius: 10px;
}
.rm-log .tick + .tick {
  margin-top: -2px;
}
.tick.off {
  grid-template-columns: minmax(0, 1fr);
  padding: 8px 12px;
  opacity: 0.65;
}
.tick-th {
  display: flex;
}
.tick-th .thumb {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  outline: 2px solid var(--paper);
}
.tick-th .thumb + .thumb {
  margin-left: -12px;
}
.tick-b {
  min-width: 0;
  line-height: 1.25;
}
.tick-b b {
  display: block;
  font-size: 14px;
}
.tick-b small {
  display: block;
  overflow: hidden;
  font-size: 12.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 0.7;
}
.tick-r {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: stretch;
  justify-content: center;
  margin: -8px 0;
  padding: 8px 12px 8px 14px;
  border-left: 1.5px dashed rgba(20, 20, 20, 0.25);
  white-space: nowrap;
}
.tick-r b {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
}
.tick-r small {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.tick-r::before,
.tick-r::after {
  content: "";
  position: absolute;
  left: -6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
}
.tick-r::before {
  top: -6px;
}
.tick-r::after {
  bottom: -6px;
}

/* an item split between people: who paid what */
.tick-who {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.tick-who span {
  padding: 2px 8px;
  font-size: 12px;
  background: rgba(20, 20, 20, 0.06);
  border-radius: 99px;
}
.tick-who .no {
  text-decoration: line-through;
  opacity: 0.6;
}
.tick-r small.no {
  color: var(--red, #c2341f);
}

/* people to chip in with */
.folks {
  display: grid;
  gap: 10px;
  max-width: 640px;
}
.folk {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--paper);
  border-radius: 14px;
}
.folk .pt {
  --s: 44px;
  border-radius: 13px;
}
.folks + .fine {
  max-width: 640px;
  margin-top: 18px;
}
.folk .et b {
  display: block;
}
.folk .et small {
  display: block;
  opacity: 0.7;
}

/* asking before something that can't be undone */
.sure {
  width: min(400px, calc(100vw - 32px));
  margin: auto;
  padding: 22px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(20, 20, 20, 0.28);
}
.sure::backdrop {
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(2px);
}
.sure h2 {
  margin: 0 0 6px;
  font-size: 20px;
}
.sure p {
  margin: 0 0 18px;
}
.sure-acts {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ---------- store: item pictures on the shelf, and demo orders apart on the shop dashboard ---------- */
/* One block on purpose, so it merges cleanly. Used by apps/store/src/views.ts and art.ts. */
.shelf-g {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  margin: 18px 0 26px;
  padding: 0;
}
.shelf-i {
  display: flex;
  flex-direction: column;
  padding: 8px 8px 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.shelf-cv {
  display: block;
  aspect-ratio: 1;
  margin-bottom: 10px;
  border-radius: 16px;
  overflow: hidden;
}
.shelf-cv svg,
.rcpt-items .cv svg {
  display: block;
  width: 100%;
  height: 100%;
}
.shelf-i b {
  margin: 0 6px;
  font-size: 16px;
  line-height: 1.2;
}
.shelf-i small {
  flex: 1;
  margin: 3px 6px 0;
  font-size: 13.5px;
  color: var(--mute);
}
.shelf-i .pr {
  margin: 10px 6px 0;
  font:
    700 15px / 1 "JetBrains Mono",
    monospace;
}
@media (max-width: 560px) {
  .shelf-g {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
.md-demo {
  display: inline-block;
  padding: 2px 7px;
  border: 1.5px dashed currentColor;
  border-radius: 99px;
  font:
    700 10.5px / 1.2 "JetBrains Mono",
    monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 1px;
  color: var(--soft);
}
.md-stats li.md-demo-s {
  background: #fff;
  border: 1.5px dashed var(--mute);
}
.md-note {
  max-width: 78ch;
  font-size: 14.5px;
  color: var(--soft);
}
.md-orders .rows + .md-demo-h {
  margin-top: 26px;
}
.mo-demo .pr {
  color: var(--mute);
}
/* ---------- end store block ---------- */

/* Live PayPal: never on the public demo, and impossible to miss when it's on. */
.live-money {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 8px var(--gut);
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.live-money ~ .s-nav {
  top: 37px;
}
/* ---- runs: an errand with other people, and their couriers' thread ---- */
.rm-run {
  flex: none;
  padding: 10px 20px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
}
.rm-run[hidden] {
  display: none;
}
.rm-run header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.rm-run header span {
  color: var(--soft);
  font-weight: 600;
}
.rm-run header button {
  margin-left: auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.run-who {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
  padding: 0;
  list-style: none;
}
.run-who li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
}
.run-who small {
  color: var(--mute);
}
.run-who .st {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--soft);
}
.run-who .st-paid {
  color: var(--green);
}
.run-t {
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}
.run-t li {
  display: flex;
  gap: 8px;
  padding: 3px 0;
  line-height: 1.35;
}
.run-t li b {
  flex: none;
}
.run-t li.you b {
  color: var(--soft);
}
.run-t li.sys {
  color: var(--mute);
  font-size: 13px;
}
.invite {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  max-width: min(88%, 520px);
  padding: 14px 16px;
  border-radius: 20px;
  background: var(--paper);
}
.invite small {
  color: var(--soft);
}
.invite-l {
  display: flex;
  gap: 8px;
  align-items: center;
}
.invite-l code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.invite .fine {
  margin: 0;
}
.run-mark .tk-line {
  background: #fff;
  border: 1px solid var(--line);
}
.run-note {
  margin: 14px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--ac);
  border-radius: 0 14px 14px 0;
  background: var(--paper);
  font-size: 17px;
}
.run-note small {
  display: block;
  margin-top: 4px;
  color: var(--mute);
  font-size: 13px;
}
.run-in {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.run-in li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
}
.run-in small {
  color: var(--mute);
}
.run-foot {
  flex-wrap: wrap;
}
.run-join {
  display: grid;
  gap: 10px;
  width: 100%;
}
.run-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.invite-l code.inp {
  display: block;
  width: auto;
  height: 40px;
  line-height: 40px;
  padding: 0 12px;
  font-size: 13px;
}

/* ---- friends, and invitations from them ---- */
.rm-invites {
  display: grid;
  gap: 6px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--al);
}
.rm-invites[hidden] {
  display: none;
}
.rm-invites .inv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.rm-invites .inv small {
  display: block;
  color: var(--soft);
}
.run-who li.asked {
  background: transparent;
  border: 1px dashed var(--line);
}
.friends {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.friends h2,
.sett > h2 {
  margin-block: 0;
  font-size: 20px;
}
.sett > h2 {
  margin-bottom: 8px;
}
.friends .lead {
  margin: 0;
}
.friends .invite-l code.inp {
  max-width: 460px;
}
.friends .folk {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
}
.friends .folk form button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* ---- the errand room, side by side: the courier and its errands, then the chat. On a phone, tabs. ---- */
.rm {
  position: relative;
}
.rm-side,
.rm-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.rm-side {
  background: var(--paper);
}
.rm-side .rm-h {
  padding: 14px 16px;
}
.rm-side .rm-new {
  margin-left: auto;
}
.rm-tickets {
  display: grid;
  align-content: start;
  gap: 4px;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 8px;
  overflow-y: auto;
  list-style: none;
}
.tk {
  display: flex;
  align-items: center;
  border-radius: 12px;
}
.tk:hover {
  background: #fff;
}
.tk.on {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.tk-go {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.tk-go b {
  overflow: hidden;
  font-size: 14.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tk-go span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--soft);
}
.tk.over b {
  color: var(--soft);
}
.tk-x {
  flex: none;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--mute);
  font: inherit;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
}
.tk:hover .tk-x,
.tk.on .tk-x,
.tk-x:focus-visible {
  opacity: 1;
}
.tk-x:hover {
  color: var(--red);
}
.rm-side .rm-invites {
  padding: 10px 16px;
}
.rm-invites .inv {
  flex-wrap: wrap;
}
/* The run fills what the list leaves, and its thread scrolls on its own. */
.rm-run {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
.rm.has-run .rm-tickets {
  flex: 0 1 auto;
  max-height: 34%;
}
.rm-run .run-who {
  display: grid;
  gap: 4px;
}
.rm-run .run-who li {
  justify-content: space-between;
  border-radius: 10px;
}
.rm-run .run-who li small {
  margin-right: auto;
}
.run-who li.gone {
  opacity: 0.55;
}
.run-t {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.run-t li:not(.sys) {
  flex-direction: column;
  gap: 2px;
  margin: 6px 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
}
.run-t li.you:not(.sys) {
  background: var(--al);
}
.rm-main .rm-budget {
  gap: 10px;
  min-height: 56px;
  padding: 8px 20px;
  flex-wrap: nowrap;
}
.bar-l {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  min-width: 0;
}
.bar-l b {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rm-end-btn {
  flex: none;
}
.over-tag {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 700;
  color: var(--soft);
}
.rm-main .rm-shops {
  flex: none;
  margin-left: 0;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
}
.rm-over {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--paper);
}
.rm-over[hidden] {
  display: none;
}
.rm-over p {
  margin: 4px 0 12px;
}
.rm-over .after {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rm.chat-over .rm-main .rm-shops {
  display: none;
}
.offer {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(88%, 460px);
  padding: 12px 14px 12px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  background: #fff;
}
.offer small {
  display: block;
  color: var(--soft);
}
.offer .btn,
.offer .st {
  flex: none;
  margin-left: auto;
}
.offer .st {
  font-size: 14px;
  font-weight: 700;
  color: var(--soft);
}
.offer.done {
  border-color: var(--line);
}
.rm-tabs {
  display: none;
}
.rm-tabs .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: 2px;
}
.rm-tabs .dot[hidden] {
  display: none;
}
/* Something happened out of sight: a tap goes there. */
.rm-toast {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  width: min(380px, calc(100% - 24px));
  animation: toast-in 0.25s var(--ease);
}
.rm-toast[hidden] {
  display: none;
}
.rm-toast button {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.22);
  cursor: pointer;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@media (min-width: 901px) {
  .rm {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .rm-side {
    border-right: 1px solid var(--line);
  }
}
@media (max-width: 900px) {
  .rm-tabs {
    flex: none;
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 4px;
    padding: 6px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  .rm-tabs button {
    height: 40px;
    padding: 0 8px;
    border: 0;
    border-radius: 10px;
    background: none;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--soft);
    cursor: pointer;
  }
  .rm-tabs button[aria-current] {
    background: #fff;
    color: var(--ink);
    box-shadow: inset 0 0 0 1.5px var(--ink);
  }
  .rm-tabs button[hidden] {
    display: none;
  }
  .rm-side,
  .rm-main {
    flex: 1;
  }
  .rm[data-view="chat"] .rm-side,
  .rm:not([data-view="chat"]) .rm-main,
  .rm[data-view="list"] .rm-run,
  .rm[data-view="run"] .rm-side > :not(.rm-run) {
    display: none;
  }
  .rm[data-view="run"] .rm-run {
    border-top: 0;
  }
  .rm[data-view="list"] .rm-tickets {
    max-height: none;
  }
  .rm-side {
    background: #fff;
  }
  .rm-side .rm-h {
    border-bottom: 1px solid var(--line);
  }
  .rm-tickets {
    padding: 8px 10px;
  }
  .tk {
    background: var(--paper);
  }
  .tk-x {
    opacity: 1;
  }
  .rm-run {
    padding: 12px 14px;
    background: #fff;
  }
  .run-t li:not(.sys) {
    background: var(--paper);
  }
  /* On a phone, the shop row is for starting out: once a chat is going, the chat gets the room. */
  .rm:not(.blank) .rm-main .rm-shops {
    display: none;
  }
  .rm-main .rm-budget {
    min-height: 52px;
    padding: 8px 14px;
  }
  .bar-l .link {
    font-size: 13px;
  }
  .rm-toast {
    top: 58px;
    left: 12px;
    width: auto;
  }
}
.run-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}
.run-t .by {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.run-t .by small {
  color: var(--mute);
  font-size: 12.5px;
}
.rm-run .run-say {
  flex: none;
  padding: 10px 0 0;
}
.rm-run .run-say[hidden] {
  display: none;
}
@media (min-width: 901px) {
  .rm-run .run-say {
    display: none;
  }
}
@media (max-width: 900px) {
  .rm-run .run-who li {
    background: var(--paper);
  }
  .rm-run .run-who .st {
    padding: 3px 9px;
    border-radius: 999px;
    background: #fff;
  }
}
@media (max-width: 560px) {
  .friends .folk {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .friends .folk .btn {
    grid-column: 2 / -1;
    justify-self: start;
  }
  .friends .folk form {
    grid-row: 1;
    grid-column: 3;
  }
}
/* A friend's link: what adding them does, then the one thing to do, right under it. */
.friend-l {
  justify-content: center;
  gap: 18px;
}
.friend-l .wiz-n {
  margin: 0;
}
.perks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--soft);
}
.perks li {
  padding-left: 18px;
  border-left: 3px solid var(--ac);
  line-height: 1.4;
}
.perks b {
  color: var(--ink);
}
.friend-act {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: 6px;
}
.friend-act:has(.try-demo) {
  justify-items: stretch;
}
@media (max-width: 900px) {
  /* On a phone the button comes first; the card is the picture underneath. */
  .wiz2:has(.friend-l, .run-foot) .wiz2-r {
    order: 2;
  }
}
/* ---- the sidebar on a phone: a bar with a menu, not a row that scrolls sideways ---- */
.rail-menu {
  display: none;
}
.rail-drawer {
  display: contents;
}
@media (max-width: 900px) {
  .rail {
    justify-content: space-between;
    overflow: visible;
  }
  .rail-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 12px 0 14px;
    border: 0;
    border-radius: 12px;
    background: rgb(255 255 255 / 0.14);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
  }
  .rail-menu svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
  }
  .rail.open .rail-menu {
    background: #fff;
    color: var(--ink);
  }
  .rail-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--hivis);
    box-shadow: 0 0 0 2px var(--cobalt);
  }
  .rail-drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 8px 12px 16px;
    background: var(--cobalt);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 18px 40px rgb(0 0 0 / 0.25);
  }
  .rail.open .rail-drawer {
    display: flex;
  }
  .rail .rail-drawer nav {
    flex-direction: column;
  }
  .rail .rail-drawer nav a {
    height: 48px;
    padding: 0 14px;
    font-size: 16px;
  }
  .rail .rail-drawer .rail-who {
    display: grid;
  }
}

/* =====================================================================
   One frame for every app page: a title, a line, one action, then cards.
   Type scale: page title, section title (18), row title (16), row note (14).
   ===================================================================== */
.pg {
  height: 100%;
  overflow: auto;
  padding: 34px clamp(16px, 3vw, 44px) 48px;
}
.pg-in {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 26px;
}
.pg-wide .pg-in {
  max-width: 1120px;
}
.pg-narrow .pg-in {
  max-width: 720px;
}
.pg-h {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.pg-h .big {
  font-size: clamp(34px, 3.6vw, 46px);
}
.pg-h p {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--mute);
}
.pg-h > .btn,
.pg-h > a.btn {
  flex: none;
}
.pg-st {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.pg-st h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pg-st .n {
  margin-right: auto;
  font:
    700 13px / 1 "JetBrains Mono",
    monospace;
  color: var(--mute);
}
.pg-st .fine {
  font-size: 13.5px;
}
.pg .shopg {
  margin: 0;
}
.card {
  background: #fff;
  border-radius: 20px;
}
.card.pad {
  padding: 20px 22px;
}
.card + .card {
  margin-top: 12px;
}
.blank-card p {
  color: var(--mute);
  font-size: 15px;
}
.back {
  justify-self: start;
  margin-bottom: -14px;
}
.back:hover {
  color: var(--ink);
}

/* Rows: one look for every list. Only a row with a chevron is a link. */
.li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  color: inherit;
}
.li:not(:has(> .pt, > .dot)) {
  grid-template-columns: minmax(0, 1fr) auto;
}
.li:has(> .dot):not(:has(> .li-m)) {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.li + .li {
  border-top: 1px solid var(--line);
}
a.li {
  transition: background-color 0.15s;
}
a.li:first-child {
  border-radius: 20px 20px 0 0;
}
a.li:last-child {
  border-radius: 0 0 20px 20px;
}
a.li:only-child {
  border-radius: 20px;
}
a.li:hover {
  background: #faf8f4;
}
.li > .pt {
  --s: 42px;
}
.li-t {
  min-width: 0;
}
.li-t b,
.li-m b {
  display: block;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.li-t small,
.li-m small {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--mute);
  overflow-wrap: anywhere;
}
.li-m {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.li.off .li-t b {
  color: var(--soft);
}
.li .chev {
  width: 18px;
  height: 18px;
  color: var(--mute);
}
.li-col {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px;
}
.li-col .wiz-fields {
  margin: 0;
}
.li form {
  display: contents;
}
.li > form > .btn,
.li > .btn {
  justify-self: end;
}
.dot {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border-radius: 50%;
  background: var(--line);
}
.dot.on {
  background: var(--green);
}
.dot.no {
  background: var(--red);
}

/* Tabs above a card. */
.pg-tabs {
  justify-self: start;
  margin-bottom: -12px;
}

/* ---------- errands ---------- */
.ed {
  display: grid;
  gap: 22px;
}
.ed-who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ed-who .pt {
  --s: 44px;
}
.ed-who b {
  display: block;
  font-size: 16px;
}
.ed-who small {
  font-size: 14px;
  color: var(--mute);
}
.ed-who .st {
  margin-left: auto;
}
.ed-end {
  margin-top: 14px;
}
.danger-t {
  color: var(--red);
}
/* A timeline reads as text, not as buttons. */
.tl {
  list-style: none;
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 26px;
}
.tl::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.tl li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
}
.tl li::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2.5px var(--mute);
}
.tl li.buy::before {
  background: var(--hivis);
  box-shadow: inset 0 0 0 2.5px var(--ink);
}
.tl li.no::before {
  box-shadow: inset 0 0 0 2.5px var(--red);
}
.tl li.ask::before,
.tl li.id::before {
  box-shadow: inset 0 0 0 2.5px var(--cobalt);
}
.tl b {
  font-size: 15.5px;
  font-weight: 650;
}
.tl span {
  grid-column: 1;
  font-size: 14px;
  color: var(--mute);
  overflow-wrap: anywhere;
}
.tl time {
  grid-column: 2;
  grid-row: 1;
  font-size: 13px;
  color: var(--mute);
  white-space: nowrap;
}

/* ---------- friends: a grid of people ---------- */
.fgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.fc {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px 18px;
  border-radius: 20px;
  background: #fff;
}
.fc > .pt {
  --s: 64px;
  margin-bottom: 12px;
}
.fc b {
  font-size: 16px;
  font-weight: 700;
}
.fc small {
  margin-top: 2px;
  min-height: 2.6em;
  font-size: 14px;
  color: var(--mute);
}
.fc .btn {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}
.fc-x {
  position: absolute;
  top: 8px;
  right: 8px;
}
.fc-x button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--mute);
  opacity: 0;
  transition:
    opacity 0.15s,
    background-color 0.15s;
}
.fc:hover .fc-x button,
.fc-x button:focus-visible {
  opacity: 1;
}
.fc-x button:hover {
  background: var(--paper);
  color: var(--ink);
}
.fc-x svg {
  width: 16px;
  height: 16px;
}
@media (hover: none) {
  .fc-x button {
    opacity: 1;
  }
}
.pt-empty {
  display: grid;
  place-items: center;
  --s: 64px;
  width: var(--s);
  height: var(--s);
  border-radius: calc(var(--s) * 0.12);
  background: var(--paper);
  color: var(--mute);
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 12px;
}
.fc-add {
  justify-content: center;
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--line);
  border-style: dashed;
  transition: box-shadow 0.15s;
}
.fc-add:hover {
  box-shadow: inset 0 0 0 2px var(--ink);
}
.fc-add small {
  min-height: 0;
}

/* ---------- couriers: the card is the page ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: -10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 6px;
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 650;
}
.chip .pt {
  --s: 28px;
  border-radius: 50%;
}
.chip[aria-current] {
  box-shadow: inset 0 0 0 2px var(--ink);
}
.cedit {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
  overflow: hidden;
}
.cedit-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 28px;
  background: #ece6ff;
  overflow: hidden;
}
.cedit-stage .wiz-id {
  position: relative;
  font-size: min(11px, 2.2vw);
}
.cedit-f {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 28px;
}
.cedit-f .btn {
  align-self: flex-start;
  margin-top: 6px;
}

/* ---------- home ---------- */
.hm3-claude {
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.hm3-claude small {
  font-size: 13.5px;
  color: var(--mute);
}
.hm3-claude .copy {
  height: auto;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  overflow-wrap: anywhere;
}
.link-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  color: inherit;
}
.link-row b {
  display: block;
  font-size: 16px;
}
.link-row:hover b {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-row .chev {
  width: 18px;
  height: 18px;
  color: var(--mute);
}
.hm3-now.card {
  padding: 22px;
}
.shopg.shopg-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.shopg-row .shopg-t small {
  display: none;
}

@media (max-width: 900px) {
  .pg {
    height: auto;
    overflow: visible;
    padding: 22px 16px 40px;
  }
  .pg-h {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .cedit {
    grid-template-columns: minmax(0, 1fr);
  }
  .cedit-stage {
    min-height: 280px;
  }
  .shopg.shopg-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .li {
    padding: 14px 16px;
  }
}
.card.pad > .feed {
  margin: -20px -22px;
  border: 0;
  border-radius: 20px;
}
.card.pad > .feed li {
  padding: 13px 22px;
}

.ed-who {
  padding: 16px 20px;
}
.ed-who .li-t {
  flex: 1;
}
.ed-money {
  display: grid;
  gap: 6px;
  min-width: 160px;
  font-size: 14px;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.ed-money b {
  font-size: 16px;
  color: var(--ink);
}
.ed-who .st {
  margin-left: 0;
}
.cedit-n {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--mute);
}
@media (max-width: 900px) {
  .ed-who {
    flex-wrap: wrap;
  }
  .ed-money {
    order: 3;
    width: 100%;
  }
}

/* White pages: components carry a hairline instead of sitting on grey. */
body.app-page,
html:has(body.app-page),
.jr-page,
html:has(.jr-page) {
  background: #fff;
}
.card,
.fc:not(.fc-add),
.chip,
.pg .shopg-t,
.hm3-stage,
.cedit {
  border: 1px solid var(--line);
}
.pg .shopg-t:hover,
.chip:hover {
  border-color: var(--ink);
}
.chip[aria-current] {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.cedit-stage {
  border-right: 1px solid var(--line);
}
.rail-who {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Settings: everything on one screen. */
.li-cap {
  grid-template-columns: minmax(0, 1fr) auto auto !important;
  align-items: end;
}
.li-cap .wiz-fields {
  margin: 0;
  grid-template-columns: 120px 120px;
  gap: 10px;
}
.li-cap .inp {
  height: 44px;
  font-size: 16px;
}
.li-cap .fld > span:first-child {
  font-size: 13px;
}
.pg-narrow .pg-in {
  gap: 22px;
}
.pg-narrow .pg-st {
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .li-cap {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch;
  }
  .li-cap .wiz-fields {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- a shop front: banner, the shop's card, a menu, the shelves ---------- */
.welcome,
.jr-nav .welcome {
  rotate: none;
  height: 36px;
  padding: 0 14px 0 10px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.welcome .logo {
  --slash: var(--courier);
}
.sf {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px var(--gut) 64px;
}
.sf-hero {
  position: relative;
  margin-bottom: 28px;
}
.sf-banner {
  position: relative;
  height: clamp(150px, 20vw, 230px);
  border-radius: 24px;
  background: var(--tile);
  overflow: hidden;
}
.sf-mark {
  position: absolute;
  left: -2%;
  top: -40%;
  width: 46%;
  opacity: 0.16;
}
.sf-peek {
  position: absolute;
  right: 4%;
  bottom: -18%;
  display: flex;
  gap: 14px;
}
.sf-peek .sf-cv {
  width: clamp(90px, 11vw, 150px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.sf-peek .sf-cv:nth-child(2) {
  translate: 0 -18%;
}
.sf-id {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  margin-top: -44px;
  padding: 0 22px;
  position: relative;
}
.slogo.lg {
  width: 96px;
  height: 96px;
  border-radius: 26px;
  border: 5px solid #fff;
}
.sf-id h1 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.sf-id p {
  font-size: 15px;
  color: var(--soft);
}
.sf-meta {
  margin-top: 4px;
  font-size: 14px !important;
  color: var(--mute) !important;
}
.sf-meta .pp {
  font-size: 14px;
}
.sf-open {
  color: var(--green);
  font-weight: 700;
}
.sf-ask {
  display: grid;
  gap: 2px;
  max-width: 300px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 14.5px !important;
  color: var(--ink) !important;
  font-weight: 600;
}
.sf-ask small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mute);
}
.sf-body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 36px;
}
.sf-menu {
  position: sticky;
  top: 16px;
  align-self: start;
  display: grid;
  gap: 2px;
}
.sf-menu small {
  padding: 0 12px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mute);
}
.sf-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--soft);
}
.sf-menu a:hover {
  background: #f6f4ef;
}
.sf-menu a[aria-current] {
  background: #f6f4ef;
  color: var(--ink);
  box-shadow: inset 3px 0 0 var(--ink);
}
.sf-secs {
  display: grid;
  gap: 34px;
}
.sf-secs h2 {
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sf-pop {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.sf-pop li {
  display: grid;
  gap: 4px;
}
.sf-pop .sf-cv {
  aspect-ratio: 16 / 10;
  margin-bottom: 6px;
}
.sf-pop b {
  font-size: 16px;
}
.sf-pop .pr,
.sf-i .pr {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--soft);
}
.sf-cv {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #f6f4ef;
}
.sf-cv svg {
  display: block;
  width: 100%;
  height: 100%;
}
.sf-g {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.sf-i {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 14px;
  padding: 12px 12px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.sf-i .sf-cv {
  aspect-ratio: 1;
}
.sf-t {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 4px;
  min-width: 0;
}
.sf-t b {
  font-size: 16px;
  line-height: 1.25;
}
.sf-t small {
  font-size: 13.5px;
  color: var(--mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 900px) {
  .sf-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .sf-menu {
    position: static;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .sf-menu small {
    display: none;
  }
  .sf-menu a {
    flex: none;
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 8px 14px;
  }
  .sf-menu a[aria-current] {
    background: var(--ink);
    color: #fff;
    box-shadow: none;
  }
  .sf-id {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0 8px;
  }
  .sf-ask {
    grid-column: 1 / -1;
    max-width: none;
  }
  .slogo.lg {
    width: 76px;
    height: 76px;
  }
  .sf-peek .sf-cv:nth-child(n + 2) {
    display: none;
  }
  .sf-pop {
    grid-template-columns: repeat(3, 70%);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .sf-g {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- what shops see: one line of numbers, the orders, the door ---------- */
.md-h {
  display: block;
  padding: 26px 0 26px;
}
.md-h .big {
  font-size: clamp(36px, 4.6vw, 64px);
}
.md-h .lead {
  margin-top: 8px;
  font-size: 18px;
}
.md-sum {
  margin-top: 16px;
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 14.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.md-g {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
}
.md-t {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
}
.md-list + .fine {
  margin-top: 10px;
}
.mo2 + .mo2 {
  border-top: 1px solid var(--line);
}
.mo2 > summary {
  list-style: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
}
.mo2 > summary::-webkit-details-marker {
  display: none;
}
.mo2 > summary:hover {
  background: #faf8f4;
}
.mo2 > summary .pt {
  --s: 40px;
}
.mo2-t b {
  display: block;
  font-size: 15.5px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mo2-t small,
.mo2-m small {
  display: block;
  font-size: 13.5px;
  color: var(--mute);
}
.mo2-m {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.mo2-m b {
  font-size: 15.5px;
}
.mo2-m .s-paid {
  color: var(--green);
}
.mo2-m .s-cancelled,
.mo2-m .s-failed {
  color: var(--red);
}
.mo2 .mo-ev {
  margin: 0;
  padding: 4px 18px 18px 72px;
  border: 0;
  background: none;
}
.md-door {
  list-style: none;
}
.md-door li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 11px 16px;
}
.md-door li + li {
  border-top: 1px solid var(--line);
}
.md-door i {
  font-style: normal;
  font-weight: 800;
  color: var(--green);
}
.md-door li.no i {
  color: var(--red);
}
.md-door b {
  display: block;
  font-size: 14.5px;
}
.md-door small {
  display: block;
  font-size: 13px;
  color: var(--mute);
  overflow-wrap: anywhere;
}
.md-door time {
  font-size: 12.5px;
  color: var(--mute);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .md-g {
    grid-template-columns: minmax(0, 1fr);
  }
  .mo2 .mo-ev {
    padding-left: 18px;
  }
}
.sf-banner {
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(135deg, var(--tile), color-mix(in srgb, var(--tile), #000 18%));
}
@media (min-width: 901px) {
  .sf-ask {
    margin-top: 56px;
  }
}
.sf-pop .sf-cv {
  aspect-ratio: 4 / 3;
}

/* ---------- site nav: two links, sign in, and the demo as a plain link ---------- */
.cnav nav .signin,
.s-links .signin {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.cnav nav .try,
.s-links .try {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--hivis);
}
.signin-pop {
  inset: 0;
  margin: auto;
  width: min(420px, calc(100vw - 32px));
  height: fit-content;
  padding: 36px 30px 28px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 30px 80px rgba(20, 20, 20, 0.25);
}
.signin-pop::backdrop {
  background: rgba(20, 20, 20, 0.45);
}
.signin-pop .big {
  font-size: 34px;
}
.signin-pop p {
  margin: 10px 0 22px;
  font-size: 16px;
  color: var(--mute);
}
.signin-pop .btn-pp {
  width: 100%;
  justify-content: center;
}
.signin-pop .try-demo,
.signin-pop > .link {
  display: block;
  margin-top: 16px;
}
.signin-pop .x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--mute);
}
.signin-pop .x:hover {
  background: var(--paper);
  color: var(--ink);
}
/* The landing nav always has a backing, so the hanging pass slides behind it. */
.s-nav {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* ---------- for shops: a pitch, not a tutorial ---------- */
.sp {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gut) 80px;
}
.sp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 48px;
  padding: clamp(40px, 7vw, 96px) 0;
}
.sp-hero .big {
  font-size: clamp(44px, 6vw, 88px);
}
.sp-hero .lead {
  margin-top: 22px;
  max-width: 30em;
}
.sp-hero .ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}
.sp-hero .fs-order {
  rotate: 2deg;
}
.sp-why,
.sp-flow {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.sp-why .big,
.sp-flow .big {
  font-size: clamp(30px, 3.6vw, 48px);
  max-width: 14em;
}
.sp-why ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 56px;
  margin-top: 40px;
}
.sp-why li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
}
.sp-n {
  font:
    700 14px / 1.6 "JetBrains Mono",
    monospace;
  color: var(--mute);
}
.sp-why h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sp-why p {
  margin-top: 6px;
  font-size: 17px;
  color: var(--soft);
}
.sp-flow ol {
  list-style: none;
  counter-reset: f;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.sp-flow li {
  counter-increment: f;
  display: grid;
  gap: 8px;
  padding: 28px 26px 30px;
}
.sp-flow li + li {
  border-left: 1px solid var(--line);
}
.sp-flow li::before {
  content: counter(f);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.sp-flow b {
  font-size: 19px;
}
.sp-flow span {
  font-size: 16px;
  color: var(--soft);
}
.sp-dev {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.sp-dev summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}
.sp-dev .fs-ig {
  margin-top: 22px;
}
@media (max-width: 900px) {
  .sp-hero,
  .sp-why ol,
  .sp-flow ol {
    grid-template-columns: minmax(0, 1fr);
  }
  .sp-flow li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- install: pick the agent, then four steps ---------- */
.in {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gut) 80px;
}
.in .big {
  font-size: clamp(40px, 5.4vw, 72px);
}
.in .lead {
  margin-top: 16px;
}
.in-pick {
  display: inline-flex;
  gap: 4px;
  margin: 34px 0 30px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 99px;
}
.in-pick input {
  position: absolute;
  opacity: 0;
}
.in-pick span {
  display: block;
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--soft);
  cursor: pointer;
}
.in-pick input:checked + span {
  background: var(--ink);
  color: #fff;
}
.in-pick input:focus-visible + span {
  outline: 2px solid var(--pp2);
}
.in-steps {
  list-style: none;
  display: none;
}
.in:has(input[value="claude"]:checked) .in-steps[data-for="claude"],
.in:has(input[value="mcp"]:checked) .in-steps[data-for="mcp"] {
  display: grid;
}
.in-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 30px;
}
.in-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 48px;
  bottom: 4px;
  width: 2px;
  background: var(--line);
}
.in-n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  font-weight: 800;
  font-size: 17px;
}
.in-steps h3 {
  margin-top: 9px;
  font-size: 20px;
  font-weight: 700;
}
.in-b {
  margin-top: 6px;
  font-size: 16.5px;
  color: var(--soft);
}
.in-b .copy {
  height: auto;
  margin-top: 4px;
  padding: 12px 14px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.in-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 8px;
  padding-left: 64px;
}
body:has(main.solo),
main.solo {
  background: #fff;
}
.solo-card:has(.btn-pp) {
  padding: 40px 32px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
}
@media (max-width: 900px) {
  .sf-id {
    margin-top: -38px;
    align-items: start;
  }
  .sf-id > div {
    grid-column: 1 / -1;
  }
  .sf-peek {
    display: none;
  }
  .sf-banner {
    height: 120px;
  }
  .pg-st {
    flex-wrap: wrap;
  }
  .pg-st .fine {
    flex-basis: 100%;
    margin-top: -6px;
  }
}

/* ---------- courier portraits ---------- */
.pt img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.avp {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  max-width: 360px;
}
.avp label {
  position: relative;
  cursor: pointer;
}
.avp input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.avp img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22%;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: transform 0.12s;
}
.avp label:hover img {
  transform: scale(1.06);
}
.avp input:checked + img {
  outline-color: var(--ink);
}
.avp input:focus-visible + img {
  outline-color: var(--cobalt);
}
