/* Pourtant: the account pages (the "Final" design). Pine #0D2B1D, lime #C6EE6E, a light
   sage page. Geist for text, Instrument Sans for headings and big numbers.
   Shared pieces first, then each page's own, scoped by the body class (p-orders, ...). */

:root {
  --pine: #0D2B1D;
  --lime: #C6EE6E;
  --page: #F2F4EF;
  --ink2: #33463A;
  --mut: #4D5F54;
  --line: #DDE3DA;
  --rule: #E6EAE3;
  --edge: #C9D2C6;
  --ok-bg: #E3F2D3;
  --ok: #1F5A2E;
  --red: #9B2C2C;
  --display: 'Instrument Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
/* Keep room for the scrollbar, so a page that grows past the window (a drawer opening) never shifts sideways. */
html { scrollbar-gutter: stable; }
body {
  min-height: 100vh;
  background: var(--page);
  color: var(--pine);
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.035em; font-weight: 600; line-height: 1; }
.lbl { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.h1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1.05; letter-spacing: -.03em; }
.h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -.025em; line-height: 1.15; }
.mut { color: var(--mut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the top bar ---------- */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 40px; height: 80px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pine); font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; display: block; }
.nav { display: flex; gap: 28px; height: 100%; }
.nav a { position: relative; display: flex; align-items: center; height: 100%; text-decoration: none; color: var(--mut); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--pine); }
.nav a.on { color: var(--pine); }
.nav a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--pine); transform-origin: left; animation: uline .5s .1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes uline { from { transform: scaleX(0); } to { transform: none; } }
.av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--pine); font-weight: 600; font-size: 14px; box-shadow: inset 0 0 0 1px var(--edge); background: #FFFFFF; }
.av:hover { box-shadow: inset 0 0 0 1px var(--pine); }
.av.on { box-shadow: inset 0 0 0 2px var(--pine); }
.secure { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }

/* ---------- the profile menu: the avatar opens Profile · Admin mode (staff) · Sign out ---------- */
.acct { position: relative; margin-left: auto; }
.acct .av { position: relative; border: 0; padding: 0; font-family: inherit; cursor: pointer; transition: box-shadow .25s, transform .3s cubic-bezier(.34,1.56,.64,1); }
.acct .av::before { content: ''; position: absolute; inset: -2px; border-radius: 50%; }
.acct .av:active { transform: scale(.94); }
.acct .av[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--pine), 0 0 0 4px rgba(198,238,110,.6); }
.av.staff { background: var(--pine); color: var(--lime); box-shadow: none; }
.av.staff:hover { box-shadow: 0 0 0 3px rgba(198,238,110,.45); }
.acct .av.staff[aria-expanded="true"] { box-shadow: 0 0 0 4px rgba(198,238,110,.6); }
.menu { position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; width: 256px; padding: 6px; border-radius: 18px; background: #FFFFFF; box-shadow: 0 0 0 1px #E1E6DE, 0 24px 48px -18px rgba(13,43,29,.35); transform-origin: calc(100% - 20px) -8px; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.94); transition: opacity .18s, transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s .3s; }
.menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .5s cubic-bezier(.34,1.56,.64,1), visibility 0s; }
.menu::before { content: ''; position: absolute; right: 15px; top: -6px; width: 12px; height: 12px; background: #FFFFFF; transform: rotate(45deg); box-shadow: -1px -1px 0 #E1E6DE; border-radius: 2px; }
.menu .mwho { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 10px 12px; margin: 0 0 6px; border-bottom: 1px solid #EEF1EC; }
.menu .mav { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--edge); color: var(--pine); font-size: 13px; font-weight: 600; line-height: 1; }
.menu .mav.staff { background: var(--pine); color: var(--lime); box-shadow: none; }
.menu .mwho b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu .mwho span span { display: block; font-size: 13px; line-height: 1.35; color: var(--mut); }
.menu form { margin: 0; }
.menu .mi { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: transparent; text-align: left; text-decoration: none; color: var(--pine); font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1.2; cursor: pointer; opacity: 0; transform: translateY(-6px); transition: background .2s, opacity .25s, transform .45s cubic-bezier(.2,.8,.2,1); }
.menu.open .mi { opacity: 1; transform: none; }
.menu.open .m1 { transition-delay: 0s, .05s, .05s; } .menu.open .m2 { transition-delay: 0s, .1s, .1s; } .menu.open .m3 { transition-delay: 0s, .15s, .15s; }
.menu .mi svg { width: 18px; height: 18px; flex: none; color: var(--mut); }
.menu .mi:hover, .menu .mi:focus-visible { background: #F2F5EF; }
.menu .mi:focus-visible { outline: 2px solid var(--pine); outline-offset: -2px; }
.menu .mi.on { background: #F2F5EF; }
.menu .mi.adm-mode { margin: 2px 0; background: var(--pine); color: #EEF4EA; }
.menu .mi.adm-mode:hover, .menu .mi.adm-mode:focus-visible { background: #163D2A; }
.menu .mi.adm-mode:focus-visible { outline-color: var(--lime); }
.menu .mi.adm-mode svg { margin-left: auto; color: var(--lime); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.menu .mi.adm-mode:hover svg { transform: translateX(4px); }
.menu .mi .ldot { position: relative; width: 8px; height: 8px; margin: 0 5px; border-radius: 50%; background: var(--lime); flex: none; }
.menu .mi .ldot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--lime); animation: ping 2.4s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.acct .av .chev, .menu .pgl, .mdim { display: none; } /* phones only: the pages in the menu, as a sheet over a dimmed page */

/* ---------- surfaces ---------- */
.paper { background: #FFFFFF; border-radius: 20px; box-shadow: 0 0 0 1px #E1E6DE, 0 1px 2px rgba(13,43,29,.04), 0 12px 32px -16px rgba(13,43,29,.14); }
.island { position: relative; overflow: hidden; background: var(--pine); color: #EEF4EA; border-radius: 24px; box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 48px -24px rgba(13,43,29,.6); }
.island .lbl, .island .mut { color: #A9BFB1; }
.grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .09; mix-blend-mode: overlay; pointer-events: none; }
.in { position: relative; }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 14px; border: 0; background: var(--pine); color: #FFFFFF; font-family: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s, box-shadow .2s; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 18px -10px rgba(13,43,29,.6); }
.btn:hover { background: #163D2A; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn.sm { height: 40px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
.btn.lime { background: var(--lime); color: var(--pine); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 8px 18px -10px rgba(0,0,0,.5); }
.btn.lime:hover { background: #D3F38A; }
.btn.line { background: #FFFFFF; color: var(--pine); box-shadow: inset 0 0 0 1px var(--edge); }
.btn.line:hover { box-shadow: inset 0 0 0 1px var(--pine); }
.btn.line svg { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.btn.line.open svg { transform: rotate(45deg); }
.btn.line-d { background: transparent; color: #EEF4EA; box-shadow: inset 0 0 0 1px rgba(238,244,234,.3); }
.btn.line-d:hover { box-shadow: inset 0 0 0 1px rgba(238,244,234,.7); }
.btn.done { background: var(--lime); color: var(--pine); }
.btn.sheen::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 22%; background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0)); transform: translateX(-120%); animation: sheen 4.5s 1.4s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { 0% { transform: translateX(-120%); } 50%, 100% { transform: translateX(560%); } }
.quiet { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; background: none; border: 0; font-family: inherit; font-size: 15px; font-weight: 500; color: var(--pine); text-decoration: underline; text-decoration-color: #B5C1B3; text-decoration-thickness: 1px; text-underline-offset: 5px; cursor: pointer; }
.quiet:hover { text-decoration-color: var(--pine); }
.quiet.red { color: var(--red); text-decoration-color: #E2B7B7; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }
.island a:focus-visible, .island button:focus-visible { outline-color: var(--lime); }
.ic { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
form.inline { display: contents; }

/* ---------- small pieces ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.tag.dim { background: #ECEFEA; color: var(--mut); }
.tag.warn { background: #FFF4CF; color: #5A4A00; }
.island .tag.ok { background: rgba(198,238,110,.16); color: var(--lime); }
.plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--edge); color: var(--pine); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .2s; }
.plus::before { content: ''; position: absolute; inset: -8px; }
.plus svg { width: 14px; height: 14px; }
.plus.open { transform: rotate(45deg); background: var(--pine); color: var(--lime); box-shadow: none; }
.dr { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2,.8,.2,1); }
.dr.open { grid-template-rows: 1fr; }
.dr > div { overflow: hidden; min-height: 0; }
.drin { margin: 10px 0 2px; padding: 12px 16px; border-radius: 12px; background: #F4F8EC; box-shadow: inset 0 0 0 1px #DFE9CF; font-size: 15px; line-height: 1.45; opacity: 0; transform: translateY(-4px); transition: opacity .25s .06s, transform .3s .06s; }
.dr.open .drin { opacity: 1; transform: none; }
.fl { display: block; font-size: 14px; font-weight: 500; margin: 0 0 8px; color: var(--pine); transition: transform .25s cubic-bezier(.2,.8,.2,1), color .2s; }
.fl .opt { font-weight: 400; color: var(--mut); }
.in-f { display: block; width: 100%; height: 52px; border-radius: 12px; border: 0; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--edge); padding: 0 16px; font-family: inherit; font-size: 16px; color: var(--pine); transition: box-shadow .2s, background .2s; }
.in-f:focus, .in-f.focus { outline: none; background: #FBFDF7; box-shadow: inset 0 0 0 1.5px var(--pine), 0 0 0 4px rgba(198,238,110,.55); }
.in-f::placeholder { color: #6A7A70; }
div.in-f { padding-top: 16px; }  /* the card fields' secure frames sit in these */
.err { margin: 12px 0 0; font-size: 15px; font-weight: 500; color: var(--red); }
.island .err { color: #FFB4A8; }

/* the toggle: a springy knob that draws a check when on */
.tg { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 7px 0; cursor: pointer; font-family: inherit; color: var(--pine); flex: none; }
.tg .tr { position: relative; display: block; width: 50px; height: 30px; border-radius: 999px; background: #E4E9E1; box-shadow: inset 0 0 0 1px #CDD6CA, inset 0 2px 4px rgba(13,43,29,.08); transition: background .3s, box-shadow .3s; }
.tg .kn { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 1px rgba(13,43,29,.12), 0 4px 10px -2px rgba(13,43,29,.3); display: flex; align-items: center; justify-content: center; transition: transform .5s cubic-bezier(.34,1.4,.64,1), width .25s ease, background .3s; }
.tg .kn svg { width: 13px; height: 13px; fill: none; stroke: var(--pine); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .35s .15s ease; }
.tg:active .kn { width: 28px; }
.tg.on:active .kn { transform: translateX(16px); }
.tg .st { font-size: 13px; font-weight: 600; min-width: 24px; text-align: left; color: var(--mut); }
.tg.on .tr { background: var(--pine); box-shadow: inset 0 0 0 1px var(--pine); }
.tg.on .kn { transform: translateX(20px); background: var(--lime); }
.tg.on .kn svg { stroke-dashoffset: 0; }
.tg.on .st { color: var(--pine); }
.tg:disabled { cursor: not-allowed; }
.tg:disabled .tr { background: #EEF1EC; box-shadow: inset 0 0 0 1px var(--line); }
.tg:disabled .kn { box-shadow: 0 1px 2px rgba(13,43,29,.1); }

/* segmented, with an indicator that slides to the choice */
.seg { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 4px; border-radius: 14px; background: #ECF0E9; box-shadow: inset 0 0 0 1px var(--line); max-width: 460px; }
.seg .ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 5); border-radius: 10px; background: var(--pine); box-shadow: 0 4px 10px -4px rgba(13,43,29,.5); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .5s cubic-bezier(.34,1.3,.64,1); }
.seg button { position: relative; z-index: 1; height: 40px; padding: 0 6px; border: 0; border-radius: 10px; background: transparent; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--mut); cursor: pointer; white-space: nowrap; transition: color .3s; }
.seg button:hover { color: var(--pine); }
.seg button.on { color: var(--lime); }
.limit-custom { display: flex; align-items: center; gap: 10px; margin-top: 12px; max-width: 280px; }
.limit-custom label { margin: 0; font-size: 18px; }

/* entrances */
.hdin { animation: hdin .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes hdin { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.up { animation: up .6s cubic-bezier(.2,.8,.2,1) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; }
@keyframes glint { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(700%); } }

/* "Copied" toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border-radius: 14px; background: var(--pine); color: #EEF4EA; font-size: 15px; font-weight: 500; box-shadow: 0 18px 40px -16px rgba(13,43,29,.7); opacity: 0; pointer-events: none; transition: opacity .3s, transform .45s cubic-bezier(.34,1.56,.64,1); z-index: 20; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast svg { color: var(--lime); }
/* phones: the full width less 16px each side, as tall as its words need */
@media (max-width: 600px) { .toast { left: 16px; right: 16px; bottom: 20px; justify-content: center; height: auto; min-height: 52px; padding: 12px 18px; transform: translateY(20px); } .toast.on { transform: none; } }

/* the cards, drawn: brand, number, expiry (Payments, Add a card) */
.slot { perspective: 1100px; min-width: 0; }
.pc { position: relative; aspect-ratio: 1.586; border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transform: rotateX(14deg) rotateY(-12deg) rotateZ(1deg); transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s, background .4s, color .4s; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.12), 0 2px 0 rgba(13,43,29,.25), 0 36px 40px -22px rgba(13,43,29,.55), 0 10px 18px -8px rgba(13,43,29,.2); }
.slot:hover .pc { transform: rotateX(0) rotateY(0) rotateZ(0) translateY(-10px); }
/* the flash on hover: a diagonal band that sweeps across the whole card, corners included */
.pc-sheen { position: absolute; inset: 0; z-index: 3; background: linear-gradient(110deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.3) 50%, rgba(255,255,255,0) 60%) no-repeat; background-size: 300% 100%; background-position: 100% 0; transition: background-position .9s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.slot:hover .pc-sheen { background-position: 0% 0; }
.c-0 { background: var(--pine); color: var(--lime); }
.c-1 { background: var(--lime); color: var(--pine); }
.c-2 { background: #B7CDB3; color: var(--pine); }
.c-new { background: #E4E9E1; color: var(--ink2); }
.chipm { width: 44px; height: 32px; border-radius: 7px; background: rgba(255,255,255,.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); position: relative; }
.chipm::before { content: ''; position: absolute; left: 8px; right: 8px; top: 50%; height: 1px; background: rgba(0,0,0,.18); }
.chipm::after { content: ''; position: absolute; top: 6px; bottom: 6px; left: 50%; width: 1px; background: rgba(0,0,0,.18); }
.c-0 .chipm { background: rgba(198,238,110,.25); }
.mark { font-size: 24px; font-weight: 800; font-style: italic; letter-spacing: -.02em; }
.mark.word { font-size: 18px; font-style: normal; letter-spacing: .02em; }
.amex { font-size: 14px; font-weight: 800; letter-spacing: .12em; padding: 4px 8px; border-radius: 6px; box-shadow: inset 0 0 0 2px currentColor; }
.pan { margin: 0; font-family: 'Geist Mono', monospace; font-size: 21px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; }
.cfoot { display: flex; justify-content: space-between; gap: 12px; font-family: 'Geist Mono', monospace; font-size: 13px; letter-spacing: .06em; opacity: .85; }
.cfoot span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .top .wrap { flex-wrap: wrap; height: auto; padding-top: 14px; gap: 0 18px; }
  .nav { order: 3; width: 100%; height: 48px; gap: 20px; }
  /* the account pages' bar: one row; the pages move into the account menu, which opens as a
     sheet over the dimmed page. The button reads as a menu: initials and a chevron. */
  .top:has(> .wrap > .acct) { --bar: 64px; }
  .top:has(> .wrap > .acct) .wrap { position: relative; flex-wrap: nowrap; height: var(--bar); padding-top: 0; }
  .top:has(> .wrap > .acct) .brand { font-size: 20px; }
  .top:has(> .wrap > .acct) .brand img { width: 28px; height: 28px; }
  .top:has(> .wrap > .acct) .nav { display: none; }
  .top > .wrap > .acct { position: static; }
  .top > .wrap > .acct .av { width: auto; height: 44px; gap: 6px; padding: 0 12px 0 4px; border-radius: 999px; }
  .top > .wrap > .acct .av::before { border-radius: 999px; }
  .top > .wrap > .acct .ini { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #ECF0E9; font-size: 13px; }
  .top > .wrap > .acct .chev { display: block; width: 16px; height: 16px; color: var(--mut); stroke-width: 2.2; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
  .top > .wrap > .acct .av[aria-expanded="true"] .chev { transform: rotate(180deg); color: var(--pine); }
  .top > .wrap > .acct .menu { left: 12px; right: 12px; top: calc(100% + 8px); width: auto; padding: 6px; border-radius: 20px; transform-origin: top right; }
  .top > .wrap > .acct .menu::before { display: none; }
  .top > .wrap > .acct .menu .pgl { display: flex; }
  .top > .wrap > .acct .menu .msep { display: block; height: 1px; margin: 6px 10px; background: #EEF1EC; }
  .top > .wrap > .acct .menu .mi { min-height: 50px; gap: 14px; font-size: 17px; }
  .top > .wrap > .acct .menu .mi svg { width: 20px; height: 20px; }
  .top > .wrap > .acct .mdim { display: block; position: fixed; inset: var(--bar) 0 0; z-index: 50; background: rgba(13,43,29,.3); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
  .top > .wrap > .acct .av[aria-expanded="true"] ~ .mdim { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }
  .h1 { font-size: 34px; }
  .seg { max-width: none; }
}

/* ================= Orders ================= */
.p-orders .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 48px 0 28px; }
.p-orders .search { position: relative; display: flex; align-items: center; width: 340px; max-width: 100%; }
.p-orders .search svg { position: absolute; left: 16px; width: 18px; height: 18px; color: var(--mut); }
.p-orders .search input { width: 100%; height: 48px; padding: 0 16px 0 46px; border-radius: 12px; border: 0; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--edge); font-family: inherit; font-size: 15px; color: var(--pine); transition: box-shadow .2s; }
.p-orders .search input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--pine), 0 0 0 4px rgba(198,238,110,.55); }
.p-orders .search input::placeholder { color: #6A7A70; }
.p-orders .search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.p-orders .when { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.p-orders .when .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--pine); }
/* "Now": ordered orders on the left, ones waiting for payment on the right, each side a deck.
   The front card is whole; the next two peek out behind it to the right, a little smaller.
   Moving on, the front card slides off to the left and the next one comes forward (orders.js
   sets each card's translate/scale). The two sides share rows: decks, then their controls. */
.p-orders .row1 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; column-gap: 24px; }
.p-orders .side { --peek: 28px; grid-row: span 2; display: grid; grid-template-rows: subgrid; min-width: 0; }
.p-orders .deckwin { display: grid; margin: -24px -24px -64px; padding: 24px 24px 64px; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px); mask-image: linear-gradient(90deg, transparent, #000 24px); }
.p-orders .deck { display: grid; padding-right: calc(var(--peek) * var(--behind, 0)); border-radius: 24px; pointer-events: auto; }
.p-orders .deck.many { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.p-orders .deck.drag { cursor: grabbing; }
.p-orders .deck:focus { outline: none; }
.p-orders .deck:focus-visible { outline: 2px solid var(--pine); outline-offset: 6px; }
.p-orders .card { grid-area: 1 / 1; min-width: 0; transform-origin: 100% 50%; transition: translate .6s cubic-bezier(.2,.8,.2,1), scale .6s cubic-bezier(.34,1.56,.64,1), rotate .6s cubic-bezier(.2,.8,.2,1), opacity .45s; }
.p-orders .deck.drag .card { transition: none; }
.p-orders .deck.many .card::after { content: ''; position: absolute; inset: 0; z-index: 5; border-radius: inherit; background: var(--page); opacity: var(--fade, 0); transition: opacity .5s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.p-orders .deck.drag .card::after { transition: none; }
.p-orders .deck.many .card.back { cursor: pointer; }
.p-orders .card.island { display: flex; flex-direction: column; padding: 32px 36px; }
.p-orders .nx { flex: 1; display: flex; flex-direction: column; }
.p-orders .card .hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.p-orders .nx .mid { display: grid; grid-template-columns: 176px minmax(0, 1fr); grid-template-areas: "ring who" "ring rd"; align-content: center; gap: 22px 36px; margin: 24px 0 28px; }
.p-orders .nx .ring { grid-area: ring; align-self: center; }
.p-orders .nx .who { grid-area: who; align-self: end; min-width: 0; }
.p-orders .nx .rd { grid-area: rd; align-self: start; }
.p-orders .cnum { font-size: 64px; color: #C6EE6E; }
.p-orders .cunit { font-size: 14px; margin-top: 4px; }
.p-orders .rname { margin: 0; font-family: var(--display); font-weight: 600; font-size: 32px; line-height: 1.15; letter-spacing: -.025em; overflow-wrap: anywhere; }
.p-orders .rtime { margin: 6px 0 0; font-size: 56px; }
.p-orders .rtime span { font-size: 24px; letter-spacing: 0; }
.p-orders .nx .ft { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(238,244,234,.14); flex-wrap: wrap; }
.p-orders .nx .acts { display: flex; gap: 10px; }
.p-orders .nx .acts .btn { height: 46px; padding: 0 18px; font-size: 15px; }
.p-orders .waiting .rname { margin-top: 18px; font-size: 28px; }
.p-orders .waiting .price { margin: 22px 0 0; font-size: clamp(44px, 5vw, 64px); }
.p-orders .dctl { grid-row: 2; display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.p-orders .dots { display: flex; flex-wrap: wrap; margin: 0 auto 0 -10px; min-width: 0; }
.p-orders .dt { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.p-orders .dt i { display: block; width: 8px; height: 8px; border-radius: 999px; background: #C9D3C6; transition: width .45s cubic-bezier(.34,1.56,.64,1), background .3s; }
.p-orders .dt:hover i { background: #9DB09A; }
.p-orders .dt.on i { width: 24px; background: var(--pine); }
.p-orders .pos { margin-right: 6px; font-size: 14px; font-weight: 500; color: var(--mut); font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-orders .cbtn { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 1px #D5DDD2; color: var(--pine); cursor: pointer; transition: box-shadow .2s, opacity .2s, transform .2s cubic-bezier(.34,1.56,.64,1); }
.p-orders .cbtn:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--pine); }
.p-orders .cbtn:active:not(:disabled) { transform: scale(.92); }
.p-orders .cbtn:disabled { opacity: .4; cursor: default; }
.p-orders .ring { position: relative; width: 176px; height: 176px; flex: none; }
.p-orders .ring svg { width: 176px; height: 176px; transform: rotate(-90deg); animation: glow 3.6s 1.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(198,238,110,0)); } 50% { filter: drop-shadow(0 0 10px rgba(198,238,110,.45)); } }
.p-orders .ring .bg { fill: none; stroke: rgba(238,244,234,.12); stroke-width: 8; }
.p-orders .ring .fg { fill: none; stroke: var(--lime); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 490; stroke-dashoffset: var(--off, 140); animation: ring 1.4s .2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes ring { from { stroke-dashoffset: 490; } }
.p-orders .ring .c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.p-orders .waiting { position: relative; background: var(--lime); color: var(--pine); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; box-shadow: 0 24px 48px -28px rgba(70,110,20,.7); }
.p-orders .waiting .lbl { color: #2E4426; }
.p-orders .waiting .plus { box-shadow: inset 0 0 0 1px rgba(13,43,29,.35); }
.p-orders .waiting .drin { margin: 12px 0 0; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(13,43,29,.12); }
.p-orders .bar { position: relative; height: 6px; border-radius: 999px; background: rgba(13,43,29,.14); overflow: hidden; margin: 20px 0 10px; }
.p-orders .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 58%); border-radius: 999px; background: var(--pine); transform-origin: left; animation: bar 1.2s .3s cubic-bezier(.2,.8,.2,1) both; overflow: hidden; }
.p-orders .bar i::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 22%; background: linear-gradient(90deg, rgba(198,238,110,0), rgba(198,238,110,.85), rgba(198,238,110,0)); transform: translateX(-100%); animation: glint 3.4s 1.6s ease-in-out infinite; }
@keyframes bar { from { transform: scaleX(1.7); } to { transform: scaleX(1); } }
.p-orders .was { text-decoration: line-through; text-decoration-thickness: 1.5px; font-weight: 500; font-size: .42em; letter-spacing: 0; margin-right: 10px; opacity: .7; }
.p-orders .past { margin-top: 56px; }
.p-orders .cols { display: grid; grid-template-columns: 136px minmax(0, 1.25fr) minmax(0, 1.5fr) 96px 124px 168px; gap: 16px; align-items: center; }
.p-orders .thead { padding: 0 22px 10px; border-bottom: 1px solid var(--line); margin-top: 18px; }
.p-orders .thead span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.p-orders .grp { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.p-orders .grp em { font-style: normal; font-weight: 500; color: var(--mut); }
.p-orders .prow { position: relative; margin-top: 10px; opacity: 0; animation: rowin .6s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(.32s + var(--n, 0) * .08s); }
@keyframes rowin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.p-orders .pmain { min-height: 78px; padding: 12px 22px; border-radius: 20px; background: #FFFFFF; box-shadow: 0 0 0 1px #E1E6DE, 0 1px 2px rgba(13,43,29,.04); text-decoration: none; color: var(--pine); transition: background .25s, box-shadow .25s, transform .3s cubic-bezier(.2,.8,.2,1); }
.p-orders .pmain:hover { background: #F8FBF1; box-shadow: 0 0 0 1px #CFE3AC, 0 14px 28px -20px rgba(13,43,29,.35); transform: translateX(3px); }
.p-orders .prow.faded .pmain { background: #F7F9F5; box-shadow: 0 0 0 1px #E6EAE3; }
.p-orders .day b { display: block; font-weight: 600; font-size: 16px; }
.p-orders .day span { font-size: 13px; color: var(--mut); }
.p-orders .rest { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tile { width: 42px; height: 42px; flex: none; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.t-pine { background: var(--pine); color: var(--lime); }
.t-lime { background: var(--lime); color: var(--pine); }
.t-sage { background: #D5E3D1; color: var(--pine); }
.p-orders .rest b { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.015em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-orders .had { font-size: 15px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-orders .amt { font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; text-align: right; }
.p-orders .amt.dim { color: var(--mut); font-weight: 500; text-decoration: line-through; text-decoration-color: rgba(77,95,84,.45); }
.p-orders .reo { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 0; border-radius: 12px; background: #EEF2EB; color: var(--pine); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s; }
.p-orders .reo:hover { background: #E1E9DC; }
.p-orders .reo.done { background: var(--pine); color: var(--lime); }
.p-orders .reo svg { width: 15px; height: 15px; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.p-orders .reo:hover svg { transform: rotate(-60deg); }
.p-orders .reo.pay { background: var(--pine); color: #FFFFFF; text-decoration: none; }
.p-orders .empty { padding: 40px 0; font-size: 16px; color: var(--mut); }
.p-orders .none { padding: 56px 40px; display: flex; flex-direction: column; align-items: flex-start; }
@media (prefers-reduced-motion: reduce) { .p-orders .prow { opacity: 1; } }
@media (max-width: 900px) {
  .p-orders .row1 { grid-template-columns: minmax(0, 1fr); }
  .p-orders .side { --peek: 12px; }
  .p-orders .side + .side { margin-top: 28px; }
  .p-orders .deckwin { margin: -20px -20px -56px; padding: 20px 20px 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px); mask-image: linear-gradient(90deg, transparent, #000 20px); }
  .p-orders .card.island, .p-orders .card.waiting { padding: 24px 22px; }
  .p-orders .nx .mid { grid-template-columns: 104px minmax(0, 1fr); grid-template-areas: "who who" "ring rd"; gap: 18px 20px; margin: 18px 0 22px; }
  .p-orders .nx .ring, .p-orders .nx .ring svg { width: 104px; height: 104px; }
  .p-orders .nx .rd { align-self: center; }
  .p-orders .cnum { font-size: 40px; }
  .p-orders .cunit { font-size: 12px; margin-top: 2px; }
  .p-orders .rname { font-size: 28px; }
  .p-orders .rtime { font-size: 44px; }
  .p-orders .rtime span { font-size: 20px; }
  .p-orders .nx .ft { gap: 14px; }
  .p-orders .nx .acts { width: 100%; }
  .p-orders .nx .acts .btn { flex: 1; padding: 0 12px; }
  .p-orders .waiting .price { font-size: 48px; }
  .p-orders .dots { margin-left: -3px; }
  .p-orders .dt { width: 14px; pointer-events: none; } /* small: the arrows and a swipe move it */
  .p-orders .dt.on { width: 30px; }
  .p-orders .thead { display: none; }
  /* past orders, a card each: tile, restaurant and status; the items; the day and total;
     Reorder (or Pay) along the card's foot */
  .p-orders .prow { margin-top: 12px; overflow: hidden; border-radius: 18px; background: #FFFFFF; box-shadow: 0 0 0 1px #E1E6DE, 0 1px 2px rgba(13,43,29,.04); }
  .p-orders .prow.faded { background: #F7F9F5; box-shadow: 0 0 0 1px #E6EAE3; }
  .p-orders .pmain, .p-orders .prow.faded .pmain { grid-template-columns: 48px auto minmax(0, 1fr) auto; grid-template-areas: "tile name name stat" ". had had had" ". day amt amt"; gap: 4px 0; min-height: 0; padding: 14px 16px 12px; border-radius: 0; background: none; box-shadow: none; }
  .p-orders .pmain:hover { transform: none; }
  .p-orders .rest { display: contents; }
  .p-orders .rest .tile { grid-area: tile; width: 36px; height: 36px; border-radius: 11px; font-size: 16px; }
  .p-orders .prow.faded .tile { opacity: .55; }
  .p-orders .rest b { grid-area: name; font-size: 17px; white-space: normal; overflow-wrap: anywhere; }
  .p-orders .stat { grid-area: stat; padding-left: 12px; }
  .p-orders .stat .tag { height: 24px; padding: 0 10px; font-size: 12px; }
  .p-orders .had { grid-area: had; margin-top: 4px; white-space: normal; }
  .p-orders .day, .p-orders .day b, .p-orders .day span { font-size: 14px; font-weight: 500; color: var(--mut); }
  .p-orders .day { grid-area: day; }
  .p-orders .day b { display: inline; margin-right: 4px; }
  .p-orders .amt { grid-area: amt; font-size: 14px; text-align: left; }
  .p-orders .amt::before { content: '·'; display: inline-block; margin: 0 6px; color: var(--mut); }
  .p-orders .pmain > .gap { display: none; }
  .p-orders .reo { position: static; transform: none; width: 100%; height: 44px; justify-content: center; border-radius: 0; border-top: 1px solid #EEF1EC; background: none; }
  .p-orders .reo.done, .p-orders .reo.pay { background: var(--pine); }
}

/* ================= Order ================= */
.p-order .back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 28px; color: var(--mut); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.p-order .back svg { transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.p-order .back:hover { color: var(--pine); }
.p-order .back:hover svg { transform: translateX(-3px); }
.p-order .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 8px 0 32px; }
.p-order .grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.p-order .track { padding: 32px 40px 28px; }
.p-order .rail { position: relative; height: 4px; margin: 10px 10px 0; border-radius: 999px; background: var(--line); }
.p-order .rail .fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--fill, 72%); border-radius: 999px; background: var(--pine); transform-origin: left; animation: fillr 1.6s .3s cubic-bezier(.45,0,.2,1) both; overflow: hidden; }
.p-order .rail .fill::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 18%; background: linear-gradient(90deg, rgba(198,238,110,0), rgba(198,238,110,.9), rgba(198,238,110,0)); transform: translateX(-100%); animation: glint 3.6s 2.2s ease-in-out infinite; }
@keyframes fillr { from { transform: scaleX(0); } to { transform: none; } }
.p-order .tip { position: absolute; left: var(--fill, 72%); top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--pine); animation: tipin .4s 1.8s cubic-bezier(.34,1.56,.64,1) both, breathe 2.4s 2.3s ease-in-out infinite; }
@keyframes tipin { from { transform: scale(0); } to { transform: none; } }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 2px var(--pine), 0 0 0 0 rgba(198,238,110,.6); } 50% { box-shadow: 0 0 0 2px var(--pine), 0 0 0 8px rgba(198,238,110,0); } }
.p-order .dot { position: absolute; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--edge); }
.p-order .dot.done { background: var(--pine); color: var(--lime); box-shadow: none; animation: pop .45s cubic-bezier(.34,1.56,.64,1) both; }
.p-order .dot.d-a { animation-delay: .3s; } .p-order .dot.d-b { animation-delay: 1.05s; } .p-order .dot.d-c { animation-delay: 1.8s; }
@keyframes pop { from { transform: scale(.3); } to { transform: none; } }
.p-order .steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
.p-order .steps3 div { opacity: 0; animation: up .5s cubic-bezier(.2,.8,.2,1) forwards; }
.p-order .steps3 div:nth-child(1) { animation-delay: .35s; }
.p-order .steps3 div:nth-child(2) { text-align: center; animation-delay: 1.1s; }
.p-order .steps3 div:nth-child(3) { text-align: right; animation-delay: 1.8s; }
.p-order .steps3 b { display: block; font-size: 16px; font-weight: 600; }
.p-order .steps3 span { font-size: 14px; color: var(--mut); font-variant-numeric: tabular-nums; }
.p-order .line { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.p-order .line .opt { display: block; font-size: 14px; color: var(--mut); }
.p-order .r { font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-order .sum { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; font-size: 15px; }
.p-order .save { color: var(--ok); font-weight: 600; }
.cardglyph { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 26px; border-radius: 5px; background: var(--pine); color: var(--lime); font-size: 10px; font-weight: 800; font-style: italic; letter-spacing: .02em; box-shadow: 0 4px 8px -4px rgba(13,43,29,.6); }
.p-order .state { padding: 28px 32px; }
.p-order .waiting { background: var(--lime); border-radius: 24px; padding: 28px 32px; box-shadow: 0 24px 48px -28px rgba(70,110,20,.7); }
/* refunds, and "Report a problem": a quiet link that opens a small form in place */
.p-order .refund-line { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-size: 15px; color: var(--ok); font-weight: 500; }
.p-order .refund-line svg, .p-order .reported svg { flex: none; width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.p-order .report { margin-top: 18px; padding-top: 6px; border-top: 1px solid var(--rule); }
.p-order .rp-open { font-size: 14px; color: var(--mut); }
.p-order .rp-open[aria-expanded="true"] { color: var(--pine); }
.p-order .rp-form { padding: 6px 0 6px; }
.p-order .rp-reasons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.p-order .rp-reasons legend { padding: 0; margin: 0 0 10px; }
.p-order .rp-chip { position: relative; }
.p-order .rp-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.p-order .rp-chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--edge); font-size: 15px; font-weight: 500; transition: background .2s, color .2s, box-shadow .2s, transform .25s cubic-bezier(.34,1.56,.64,1); }
.p-order .rp-chip:hover span { box-shadow: inset 0 0 0 1px var(--pine); }
.p-order .rp-chip input:checked + span { background: var(--pine); color: var(--lime); box-shadow: none; transform: scale(1.03); }
.p-order .rp-chip input:focus-visible + span { outline: 2px solid var(--pine); outline-offset: 3px; }
.p-order .rp-note { height: auto; min-height: 92px; padding: 12px 16px; resize: vertical; line-height: 1.45; }
.p-order .rp-acts { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.p-order .reported { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 15px; font-weight: 500; color: var(--ok); animation: up .45s cubic-bezier(.2,.8,.2,1) both; }
@media (prefers-reduced-motion: reduce) { .p-order .steps3 div { opacity: 1; } }
@media (max-width: 900px) { .p-order .grid { grid-template-columns: minmax(0, 1fr); } .p-order .track { padding: 24px 20px; } }

/* ================= Checkout ================= */
.p-checkout .wrap { max-width: 1080px; }
/* the top bar: the way back to the account (where the tabs usually are), and "Secure checkout" */
.p-checkout .exit { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--mut); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s; }
.p-checkout .exit svg { transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.p-checkout .exit:hover { color: var(--pine); }
.p-checkout .exit:hover svg { transform: translateX(-3px); }
/* Two columns that end together: the order's totals sit at the foot of its card, the Total
   panel at the foot of the right column, however long the order. */
.p-checkout .cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: stretch; padding: 48px 0 72px; }
.p-checkout .order { display: flex; flex-direction: column; padding: 28px 32px; }
.p-checkout .order .rest { margin: 10px 0 0; font-family: var(--display); font-weight: 600; font-size: 32px; letter-spacing: -.025em; line-height: 1.1; }
.p-checkout .lines { margin-top: 18px; border-top: 1px solid var(--line); }
.p-checkout .lines .line:last-child { border-bottom: 0; }
.p-checkout .order .note { margin: 4px 0 0; padding-bottom: 16px; font-size: 15px; }
.p-checkout .nw { white-space: nowrap; }
.p-checkout .sumry { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.p-checkout .sumry .line { border: 0; padding: 4px 0; }
.p-checkout .sumry .off { color: var(--ok); font-weight: 600; }
.p-checkout .sumry .tot { margin-top: 8px; padding-top: 12px; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.p-checkout .sumry .line:first-child { margin-top: 0; padding-top: 0; }
.p-checkout .sumry .line + .tot { border-top: 1px dashed var(--edge); }
.p-checkout .paycol { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.p-checkout .paycol .total { margin-top: auto; padding: 28px 32px; }
.p-checkout .big { margin: 10px 0 0; font-size: 64px; }
.p-checkout .line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.p-checkout .line .opts { display: block; font-size: 14px; color: var(--mut); }
.p-checkout .r { font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-checkout .methods { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.p-checkout .pick { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 14px; box-shadow: 0 0 0 2px var(--page), 0 0 0 4px var(--pine); pointer-events: none; z-index: 2; opacity: 0; transition: transform .55s cubic-bezier(.34,1.3,.64,1), opacity .2s; }
.p-checkout .pick.ready { opacity: 1; }
.p-checkout .pick .ck { position: absolute; top: -10px; right: -10px; width: 24px; height: 24px; border-radius: 50%; background: var(--pine); color: var(--lime); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px var(--page); }
.p-checkout .m { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; background: none; text-align: left; font-family: inherit; color: var(--pine); cursor: pointer; }
.p-checkout .mini { position: relative; aspect-ratio: 1.586; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .3s; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 18px -12px rgba(13,43,29,.6); }
.p-checkout .m:hover .mini { transform: translateY(-3px); }
.p-checkout .m.sel .mini { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 18px 26px -14px rgba(13,43,29,.7); }
.p-checkout .mini.new { background: #F7F9F5; box-shadow: inset 0 0 0 1.5px var(--edge); align-items: center; justify-content: center; color: var(--ink2); }
.p-checkout .mini .bm { align-self: flex-end; font-size: 13px; font-weight: 800; font-style: italic; }
.p-checkout .mini .bm.word { font-style: normal; font-size: 11px; letter-spacing: .04em; }
.p-checkout .mini .pan { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .06em; }
.p-checkout .m .ml { font-size: 14px; font-weight: 600; line-height: 1.3; }
.p-checkout .m .ml span { display: block; font-weight: 400; color: var(--mut); font-size: 13px; }
.p-checkout .wallets { margin-top: 18px; }
.fields { margin-top: 18px; border-radius: 14px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--edge); overflow: hidden; }
.fields .f { display: block; width: 100%; height: 52px; border: 0; background: transparent; padding: 0 16px; font-family: inherit; font-size: 16px; color: var(--pine); transition: background .2s; }
.fields div.f { padding-top: 17px; }
.fields .f::placeholder { color: #6A7A70; }
.fields .f:focus, .fields .f.focus { outline: none; background: #F7FBEF; }
.fields .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fields .row .f + .f { border-left: 1px solid var(--line); }
.p-checkout .testcard { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: #F7F9F5; box-shadow: inset 0 0 0 1px var(--edge); font-size: 14px; color: var(--ink2); }
/* "Faster next time": Save this card (a new card only), then the agent choice, as it stands */
.p-checkout .faster { padding: 18px 28px 6px; }
.p-checkout .opt { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; }
.p-checkout .opt.save { border-bottom: 1px solid var(--rule); }
.p-checkout .opt .tx { flex: 1; min-width: 0; }
.p-checkout .opt b { display: block; font-weight: 600; font-size: 16px; }
.p-checkout .opt .s { display: block; font-size: 14px; color: var(--mut); margin-top: 2px; }
.p-checkout .hint { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 500; color: #5A4A00; background: #FFF4CF; padding: 3px 10px; border-radius: 999px; animation: up .35s cubic-bezier(.2,.8,.2,1) both; }
.p-checkout .lim { padding: 2px 0 18px; }
.p-checkout .seg button { height: 44px; }
.p-checkout .brand { min-height: 44px; }
.p-checkout .faster .err { margin: 0 0 14px; font-size: 14px; }
.p-checkout .kept { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--ok); animation: up .35s cubic-bezier(.2,.8,.2,1) both; }
/* the toggles line up with the first line of their panel's text */
.p-checkout .tg { margin-top: -10px; }
.p-checkout .was { text-decoration: line-through; text-decoration-thickness: 1.5px; font-weight: 500; font-size: .4em; letter-spacing: 0; margin-right: 10px; color: #A9BFB1; }
@media (max-width: 900px) {
  .p-checkout .top .wrap { flex-wrap: nowrap; height: 64px; padding-top: 0; gap: 20px; }
  .p-checkout .cols { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px 0 48px; }
}
@media (max-width: 600px) {
  .p-checkout .order, .p-checkout .paycol .total { padding: 24px 22px; }
  .p-checkout .faster { padding: 16px 22px 4px; }
  .p-checkout .order .rest { font-size: 28px; }
  .p-checkout .big { font-size: 52px; }
  /* each choice's title shares its row with the toggle; the words below get the full width */
  .p-checkout .opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; }
  .p-checkout .opt .tx { display: contents; }
  .p-checkout .opt .tx > * { grid-column: 1 / -1; }
  .p-checkout .opt .tx > b { grid-column: 1; grid-row: 1; align-self: center; }
  .p-checkout .opt > .tg { grid-column: 2; grid-row: 1; align-self: center; margin: -7px 0; }
  .p-checkout .opt .hint { justify-self: start; }
}
/* Narrow phones: the lock says "Secure checkout" to screen readers only. */
@media (max-width: 480px) { .p-checkout .secure .say { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

/* ================= Paid ================= */
.p-paid .wrap { max-width: 1080px; }
.p-paid main.wrap { max-width: 800px; padding-top: 72px; padding-bottom: 72px; }
.p-paid .island { border-radius: 28px; box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 32px 64px -32px rgba(13,43,29,.7); }
.p-paid .seal { display: block; width: 96px; height: 96px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.p-paid .seal svg { width: 96px; height: 96px; }
.p-paid .seal .o { fill: none; stroke: var(--lime); stroke-width: 3; stroke-dasharray: 283; stroke-dashoffset: 283; transform: rotate(-90deg); transform-origin: center; }
.p-paid .seal .f { fill: var(--lime); transform-origin: center; transform: scale(0); }
.p-paid .seal .k { fill: none; stroke: var(--pine); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.p-paid .go .seal .o { animation: dash .8s .1s cubic-bezier(.6,0,.2,1) forwards; }
.p-paid .go .seal .f { animation: fill .4s .75s cubic-bezier(.34,1.56,.64,1) forwards; }
.p-paid .go .seal .k { animation: dash .4s 1s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes fill { to { transform: scale(1); } }
.p-paid .rise { opacity: 0; }
.p-paid .go .rise { animation: up .6s cubic-bezier(.2,.8,.2,1) forwards; }
.p-paid .go .r1 { animation-delay: .9s; } .p-paid .go .r2 { animation-delay: 1s; }
.p-paid .drop { display: grid; grid-template-rows: 0fr; }
.p-paid .drop > div { overflow: hidden; min-height: 0; }
.p-paid .go .drop { animation: dropdown .7s 1.25s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes dropdown { to { grid-template-rows: 1fr; } }
.p-paid .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid rgba(238,244,234,.14); transform: translateY(-14px); opacity: 0; }
.p-paid .go .facts { animation: fin .6s 1.35s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes fin { to { transform: none; opacity: 1; } }
.p-paid .facts div { padding: 20px 20px 0 0; }
.p-paid .facts div + div { padding-left: 20px; border-left: 1px solid rgba(238,244,234,.14); }
.p-paid .facts p { margin: 0; }
.p-paid .acts { opacity: 0; }
.p-paid .go .acts { animation: up .6s 1.75s cubic-bezier(.2,.8,.2,1) forwards; }
.p-paid .bagwrap { position: absolute; right: 44px; top: 44px; width: 150px; height: 180px; opacity: 0; transform: translateX(60px); }
.p-paid .go .bagwrap { animation: bagin .8s 1.2s cubic-bezier(.34,1.3,.64,1) forwards; }
@keyframes bagin { to { opacity: 1; transform: none; } }
.p-paid .bagwrap svg { width: 150px; height: 180px; display: block; }
.p-paid .agentnote { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px 18px; border-radius: 14px; background: #FFFFFF; box-shadow: 0 0 0 1px #E1E6DE; font-size: 15px; opacity: 0; }
.p-paid .go .agentnote { animation: up .6s 2s cubic-bezier(.2,.8,.2,1) forwards; }
.p-paid .agentnote .ico { width: 30px; height: 30px; border-radius: 9px; background: #EEF4E6; display: flex; align-items: center; justify-content: center; color: var(--pine); }
@media (prefers-reduced-motion: reduce) { .p-paid .seal .o, .p-paid .seal .k { stroke-dashoffset: 0; } .p-paid .seal .f { transform: none; } .p-paid .rise, .p-paid .facts, .p-paid .acts, .p-paid .bagwrap, .p-paid .agentnote { opacity: 1; transform: none; } .p-paid .drop { grid-template-rows: 1fr; } }
@media (max-width: 900px) { .p-paid .facts { grid-template-columns: minmax(0, 1fr); } .p-paid .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(238,244,234,.14); } .p-paid .bagwrap { display: none; } }

/* ================= Payments ================= */
.p-payments .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 48px 0 8px; }
.p-payments .slot.i0 { animation: up .8s .05s cubic-bezier(.2,.8,.2,1) both; }
.p-payments .slot.i1 { animation: fan1 1s .05s cubic-bezier(.2,.8,.2,1) both; }
.p-payments .slot.i2 { animation: fan2 1.1s .05s cubic-bezier(.2,.8,.2,1) both; }
.p-payments .slot.i3 { animation: up .8s .2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes fan1 { from { opacity: 0; transform: translateX(calc(-100% - 36px)) rotate(-5deg); } to { opacity: 1; transform: none; } }
@keyframes fan2 { from { opacity: 0; transform: translateX(calc(-200% - 72px)) rotate(-9deg); } to { opacity: 1; transform: none; } }
/* the Default notch: it travels card to card */
.p-payments .notch { position: absolute; top: 0; right: 26px; padding: 7px 12px 8px; border-radius: 0 0 12px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; background: var(--lime); color: var(--pine); box-shadow: 0 6px 12px -6px rgba(0,0,0,.35); z-index: 2; animation: notchdrop .55s 1s cubic-bezier(.34,1.56,.64,1) both; }
.p-payments .c-1 .notch { background: var(--pine); color: var(--lime); }
@keyframes notchdrop { from { transform: translateY(-110%); } to { transform: none; } }
.p-payments .slot:not(.is-default) .notch { display: none; }
.p-payments .slot.leaving .notch { display: block; }
.p-payments .notch.still { animation: none; }
.p-payments .notch.in-l { animation: inl .55s .22s cubic-bezier(.2,.9,.3,1.1) both; }
.p-payments .notch.in-r { animation: inr .55s .22s cubic-bezier(.2,.9,.3,1.1) both; }
.p-payments .notch.out-r { animation: outr .32s cubic-bezier(.6,0,.9,.4) both; }
.p-payments .notch.out-l { animation: outl .32s cubic-bezier(.6,0,.9,.4) both; }
@keyframes inl { from { transform: translateX(-380px); } to { transform: none; } }
@keyframes inr { from { transform: translateX(160px); } to { transform: none; } }
@keyframes outr { from { transform: none; } to { transform: translateX(160px); } }
@keyframes outl { from { transform: none; } to { transform: translateX(-380px); } }
.p-payments .wallet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding: 32px 0 0; }
.p-payments .acts { display: flex; align-items: center; gap: 12px; margin-top: 20px; min-height: 44px; }
.p-payments .slot:not(.is-default) .when-def, .p-payments .slot.is-default .when-not { display: none; }
.p-payments .defl { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; animation: up .4s .3s both; }
.p-payments .add { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; align-items: center; padding: 32px; margin-top: 24px; }
.p-payments .add .fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.p-payments .add .pc .ok { position: absolute; right: 22px; bottom: 54px; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--pine); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.5); transition: opacity .3s, transform .45s cubic-bezier(.34,1.56,.64,1); }
.p-payments .add .pc.complete .ok { opacity: 1; transform: none; }
.p-payments .layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; margin-top: 56px; align-items: start; }
.p-payments .layout.solo { margin-top: 32px; }
.p-payments .empty { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 32px; }
.p-payments .rc { width: 56px; height: 56px; border-radius: 16px; background: #EEF2EB; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink2); }
.p-payments .rc path { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 1s 1s ease forwards; }
.p-payments .rc path + path { animation-delay: 1.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.p-payments .owe { padding: 28px 32px; }
.p-payments .withmore .plus { vertical-align: middle; margin-left: 6px; }
.p-payments .owe-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.p-payments .owe-row:first-of-type { margin-top: 12px; }
.p-payments .owe-row b { display: block; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.015em; }
.p-payments .aplim { margin-top: 24px; padding-top: 22px; border-top: 1px solid #E6EAE3; }
.p-payments .slot > .mini, .p-payments .cline, .p-payments .ctag, .p-payments .apcard, .p-payments .paidup { display: none; } /* phones (below) */
@media (prefers-reduced-motion: reduce) { .p-payments .rc path { stroke-dashoffset: 0; } }
@media (max-width: 900px) { .p-payments .wallet, .p-payments .add, .p-payments .layout { grid-template-columns: minmax(0, 1fr); } .p-payments .slot.i1, .p-payments .slot.i2 { animation: up .7s both; } }
/* Phones: the agent-pay title shares its row with the toggle, the words below get the full width. */
@media (max-width: 600px) {
  .p-payments #agent-pay { padding: 24px 18px !important; }
  .p-payments .ap-head { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px !important; }
  .p-payments .ap-head > div { display: contents; }
  .p-payments .ap-head > div > * { grid-column: 1 / -1; }
  .p-payments .ap-head > div > .h2 { grid-column: 1; grid-row: 1; align-self: center; }
  .p-payments .ap-head > .tg { grid-column: 2; grid-row: 1; align-self: center; }
  .p-payments .ap-head .h2 { font-size: 19px; letter-spacing: -.015em; }
  .p-payments .ap-head > .tg .st { display: none; } /* the switch says it; its label is read out */
  .p-payments .owe { padding: 24px 22px; }
  .p-payments .owe-row { flex-wrap: wrap; }
  .p-payments .owe-row .btn { width: 100%; }
  .p-payments .layout, .p-payments .layout.solo { gap: 14px; margin-top: 20px; }
  /* the saved cards as a list: a small card, its number and expiry, Default; then its actions */
  .p-payments .wallet { gap: 0; margin-top: 20px; padding: 0 18px; border-radius: 20px; background: #FFFFFF; box-shadow: 0 0 0 1px #E1E6DE, 0 1px 2px rgba(13,43,29,.04), 0 12px 32px -16px rgba(13,43,29,.14); }
  .p-payments .slot { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 0 14px; padding-top: 14px; perspective: none; }
  .p-payments .slot + .slot { border-top: 1px solid #EEF1EC; }
  .p-payments .slot > .pc, .p-payments .slot > div.when-def, .p-payments .acts > .when-def { display: none; }
  .p-payments .slot > .mini { display: flex; }
  .p-payments .cline { display: block; min-width: 0; }
  .p-payments .cline b { display: block; font-weight: 600; }
  .p-payments .cline span { display: block; font-size: 13px; color: var(--mut); }
  .p-payments .slot.is-default .ctag { display: inline-flex; height: 24px; padding: 0 10px; font-size: 12px; }
  .p-payments .acts { grid-column: 1 / -1; margin-top: 4px; }
  /* letting the agent pay: the limit and the card are that setting's own rows, under the
     switch; greyed while it's off */
  .p-payments #agent-pay:has(.apcard) #uses-line { display: none; }
  .p-payments #agent-limit { grid-template-rows: 1fr; }
  .p-payments #agent-limit:not(.open) .aplim { opacity: .4; pointer-events: none; }
  .p-payments .aplim { margin: 18px 0 0 6px; padding: 2px 0 2px 16px; border-top: 0; border-left: 2px solid #DDE3DA; transition: opacity .3s; }
  .p-payments .apcard { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #EEF1EC; font-size: 15px; }
  .p-payments .apcard b { font-weight: 600; }
  .p-payments .apcard span b, .p-payments .apcard span span { display: block; }
  .p-payments .apcard span span { font-size: 13.5px; }
  /* nothing waiting for payment: one quiet line instead of the box */
  .p-payments .empty { display: none; }
  .p-payments .paidup { display: flex; align-items: center; gap: 8px; margin: 0 4px; font-size: 14px; }
}
/* Narrow phones: five limit choices still fit on one row. */
@media (max-width: 420px) { .seg button { padding: 0 2px; font-size: 12.5px; } }

/* ================= Account ================= */
.p-account .cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; align-items: start; margin-top: 36px; }
.p-account .form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 32px; }
.p-account .fld:focus-within .fl { transform: translateX(3px); color: var(--ok); }
.p-account .saved { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ok); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .35s cubic-bezier(.34,1.56,.64,1); }
.p-account .saved.show { opacity: 1; transform: none; }
.p-account .btn:disabled { opacity: .35; box-shadow: none; }
.p-account .in-f.bad { box-shadow: inset 0 0 0 1.5px var(--red); }
.p-account .fld .err { margin: 8px 0 0; font-size: 14px; }
.p-account .sum { display: grid; gap: 20px; }
.p-account .sum .paper { padding: 24px 28px; }
.p-account .sum-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.p-account .sum-h .btn.sm { height: 34px; padding: 0 14px; border-radius: 10px; font-size: 14px; }
.p-account .sum-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; }
.p-account .sum-row + .sum-row { border-top: 1px solid #EEF1EC; }
.p-account .sum-row .tx { min-width: 0; }
.p-account .sum-row .nm { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; }
.p-account .sum-row .sub { display: block; font-size: 13px; color: var(--mut); }
:is(.p-account, .p-payments) .mini { flex: none; width: 64px; aspect-ratio: 1.586; border-radius: 8px; padding: 6px 8px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 14px -10px rgba(13,43,29,.6); }
:is(.p-account, .p-payments) .mini .bm { align-self: flex-end; font-size: 10px; font-weight: 800; font-style: italic; line-height: 1; }
:is(.p-account, .p-payments) .mini .bm.word { font-style: normal; font-size: 8px; letter-spacing: .04em; }
:is(.p-account, .p-payments) .mini .pan { font-family: 'Geist Mono', monospace; font-size: 8px; letter-spacing: .04em; line-height: 1; }
.p-account .ai { width: 40px; height: 40px; flex: none; border-radius: 12px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; }
.p-account .ai svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .p-account .cols, .p-account .form { grid-template-columns: minmax(0, 1fr); } }

/* ================= Connect ================= */
.p-connect .board { position: relative; margin-top: 36px; height: 380px; border-radius: 24px; background: #FFFFFF; box-shadow: 0 0 0 1px #E1E6DE, 0 12px 32px -18px rgba(13,43,29,.18); }
.p-connect .board svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.p-connect .ln { fill: none; stroke: var(--pine); stroke-opacity: .2; stroke-width: 1.25; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.1s cubic-bezier(.6,0,.2,1) forwards; }
.p-connect .ln.o { animation-delay: .55s; stroke-opacity: .4; }
.p-connect .hl { fill: none; stroke-linecap: round; opacity: 0; transition: opacity .35s; }
.p-connect .hl.on { opacity: 1; }
.p-connect .hl.case { stroke: var(--pine); stroke-width: 5; }
.p-connect .hl.fill { stroke: var(--lime); stroke-width: 2.5; }
.p-connect .mote { fill: var(--pine); opacity: .22; transition: opacity .4s; }
.p-connect .mote.sel { fill: var(--lime); stroke: var(--pine); stroke-width: 1.5; opacity: 1; }
.p-connect .colh { position: absolute; top: 22px; transform: translateX(-50%); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); white-space: nowrap; }
.p-connect .agring { position: absolute; left: 12.5%; width: 196px; height: 56px; border-radius: 16px; transform: translate(-50%, -50%); box-shadow: 0 0 0 2px var(--pine), 0 14px 26px -14px rgba(13,43,29,.5); pointer-events: none; z-index: 2; transition: top .55s cubic-bezier(.34,1.3,.64,1); }
.p-connect .agb { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; width: 196px; height: 56px; padding: 0 16px; border: 0; border-radius: 16px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--line), 0 8px 18px -14px rgba(13,43,29,.4); font-family: inherit; font-size: 16px; font-weight: 600; color: var(--pine); cursor: pointer; transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.p-connect .agb:hover { transform: translate(-50%, -50%) translateX(3px); }
.p-connect .agb.on:hover { transform: translate(-50%, -50%); } /* the selected one stays inside its outline */
.p-connect .agb svg { width: 26px; height: 26px; flex: none; }
.p-connect .agb .ck { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s cubic-bezier(.34,1.56,.64,1); }
.p-connect .agb.on .ck { opacity: 1; transform: none; transition-delay: .2s; }
.p-connect .hub { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 30px; background: var(--pine); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px #FFFFFF, 0 0 0 11px #E1E6DE, 0 24px 40px -18px rgba(13,43,29,.6); z-index: 1; }
.p-connect .hub::after { content: ''; position: absolute; inset: -11px; border-radius: 40px; animation: halo 3.6s ease-out infinite; }
@keyframes halo { 0% { box-shadow: 0 0 0 0 rgba(198,238,110,.45); } 70%, 100% { box-shadow: 0 0 0 22px rgba(198,238,110,0); } }
.p-connect .hub img { width: 64px; height: 64px; display: block; }
.p-connect .cluster { position: absolute; left: 87.5%; top: 50%; transform: translate(-50%, -50%); display: grid; grid-template-columns: repeat(3, 44px); gap: 10px; }
.p-connect .cluster span { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #F7F9F5; box-shadow: inset 0 0 0 1px #E1E6DE; color: var(--mut); opacity: 0; animation: popin .45s cubic-bezier(.34,1.56,.64,1) forwards; animation-delay: calc(.9s + var(--n) * .05s); }
.p-connect .cluster span:nth-child(2n) { background: #EEF4E6; }
.p-connect .cluster span:nth-child(5) { background: var(--pine); color: var(--lime); box-shadow: none; }
.p-connect .cluster svg { width: 20px; height: 20px; }
@keyframes popin { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.p-connect .cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; margin-top: 24px; }
.p-connect .url { display: flex; gap: 10px; align-items: center; }
.p-connect .url code { flex: 1; min-width: 0; display: flex; align-items: center; height: 52px; padding: 0 16px; border-radius: 12px; background: #F7F9F5; box-shadow: inset 0 0 0 1px var(--edge); font-family: 'Geist Mono', monospace; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-connect .steps { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: s; }
.p-connect .steps li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 16px; }
.p-connect .steps li::before { content: counter(s); font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--mut); padding-top: 1px; }
.p-connect .sw { animation: swa .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes swa { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.p-connect .sw.off, .p-connect .arow, .p-connect .sw > .purl, .p-connect .sw > .try { display: none; } /* the rows and the cards' URL: phones (below) */
.p-connect .try { margin-top: 24px; padding: 20px 24px; border-radius: 16px; background: #ECF0E9; }
.p-connect .panel-h { display: flex; align-items: center; gap: 12px; }
.p-connect .panel-h svg { width: 28px; height: 28px; }
.p-connect .cmsg { display: inline-flex; align-items: center; gap: 7px; height: 34px; margin: -4px 3px; padding: 0 14px 0 11px; border: 0; border-radius: 11px; background: var(--pine); color: #FFFFFF; font-family: inherit; font-size: 15px; font-weight: 600; vertical-align: middle; cursor: pointer; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 16px -10px rgba(13,43,29,.7); transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s; }
.p-connect .cmsg:hover { background: #163D2A; transform: translateY(-1px); }
.p-connect .cmsg:active { transform: scale(.96); }
.p-connect .cmsg .ic { stroke-width: 2; }
.p-connect .cmsg.done { background: var(--lime); color: var(--pine); }
/* connected agents: a flag on the tile (tiles sit above the moving outline, which is drawn
   outside the tile, so it never crosses the flag), and the list in the steps card */
.p-connect .agb { z-index: 3; }
.p-connect .agb .flag { position: absolute; top: -10px; right: 14px; display: flex; align-items: center; gap: 5px; height: 20px; padding: 0 9px 0 7px; border-radius: 999px; background: var(--lime); color: var(--pine); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1; box-shadow: 0 0 0 2px #FFFFFF; animation: flagin .45s .5s cubic-bezier(.34,1.56,.64,1) both; }
.p-connect .agb .flag i { width: 6px; height: 6px; border-radius: 50%; background: var(--pine); }
.p-connect .agb .flag.out { animation: flagout .3s cubic-bezier(.4,0,1,1) forwards; }
.p-connect .agb .rec-flag { background: var(--pine); color: var(--lime); }
.p-connect .agb .rec-flag svg { width: 10px; height: 10px; fill: var(--lime); }
@keyframes flagin { from { opacity: 0; transform: translateY(4px) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes flagout { to { opacity: 0; transform: translateY(4px) scale(.7); } }
.p-connect .apps { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--rule); }
.p-connect .apps-h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.p-connect .live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); flex: none; }
.p-connect .app { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #EEF1EC; }
.p-connect .app.first { border-top: 0; }
.p-connect .app .ai { width: 36px; height: 36px; flex: none; border-radius: 10px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; }
.p-connect .app .ai svg { width: 20px; height: 20px; }
.p-connect .app .tx { flex: 1; min-width: 0; }
.p-connect .app .nm { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.p-connect .app .lu { display: block; font-size: 13px; color: var(--mut); }
.p-connect .btn.danger { background: #FFFFFF; color: var(--red); box-shadow: inset 0 0 0 1px #E2C2C2; }
.p-connect .btn.danger:hover { background: #FBF1F0; }
.p-connect .btn.danger.solid { background: var(--red); color: #FFFFFF; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 18px -10px rgba(155,44,44,.7); }
.p-connect .btn.danger.solid:hover { background: #862424; }
.p-connect .btn.line:hover { background: #F7F9F5; }
.p-connect .confirm { margin: 6px 0; padding: 18px 20px; border-radius: 16px; background: #FBF3F2; box-shadow: inset 0 0 0 1px #F0D8D5; animation: up .35s cubic-bezier(.2,.8,.2,1) both; }
.p-connect .confirm p { margin: 0; font-size: 15px; }
.p-connect .confirm p b { font-weight: 600; }
.p-connect .confirm .err { margin-top: 8px; font-size: 14px; }
.p-connect .confirm .acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.p-connect .gone { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-size: 14px; color: var(--mut); animation: up .35s cubic-bezier(.2,.8,.2,1) both; }
.p-connect .gone[hidden] { display: none; }
.p-connect .gone .ok { width: 20px; height: 20px; border-radius: 50%; background: #ECF0E9; display: flex; align-items: center; justify-content: center; color: var(--pine); flex: none; }
@media (prefers-reduced-motion: reduce) { .p-connect .ln { stroke-dashoffset: 0; } .p-connect .cluster span { opacity: 1; } .p-connect .mote { display: none; } }
@media (max-width: 900px) {
  .p-connect .cols { grid-template-columns: minmax(0, 1fr); }
  .p-connect .board { height: auto; padding: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
  .p-connect .board svg.lines, .p-connect .cluster, .p-connect .colh, .p-connect .hub, .p-connect .agring { display: none; }
  .p-connect .agb { position: relative; left: auto !important; top: auto !important; transform: none; width: auto; flex: 1 1 140px; }
  .p-connect .agb:hover { transform: none; }
  .p-connect .agb.on { box-shadow: 0 0 0 2px var(--pine); }
}
/* Phones: an accordion, no drawing. Each agent is a row that opens its card in place: its steps,
   then (if it uses the URL) the URL in full with Copy URL, then "Then try". One open at a time. */
@media (max-width: 600px) {
  .p-connect .board, .p-connect .cols > :first-child, .p-connect .panel-h { display: none; }
  .p-connect .cols { gap: 10px; margin: 22px 0 28px; }
  .p-connect #steps { display: flex; flex-direction: column; gap: 10px; padding: 0 !important; background: none; box-shadow: none; }
  .p-connect .sw, .p-connect .sw.off { display: block; padding: 0 16px; border-radius: 18px; background: #FFFFFF; box-shadow: 0 0 0 1px #E1E6DE, 0 8px 18px -14px rgba(13,43,29,.4); }
  .p-connect .sw:not(.off):not(.shut) { padding-bottom: 16px; box-shadow: 0 0 0 2px var(--pine), 0 14px 26px -14px rgba(13,43,29,.5); }
  .p-connect .sw.off > :not(.arow), .p-connect .sw.shut > :not(.arow) { display: none; }
  .p-connect .arow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 0; border: 0; background: none; font-family: inherit; font-size: 17px; font-weight: 600; color: var(--pine); text-align: left; cursor: pointer; }
  .p-connect .arow svg { width: 26px; height: 26px; flex: none; }
  .p-connect .arow .nm { flex: 1; min-width: 0; }
  .p-connect .arow .tag { height: 24px; padding: 0 10px; font-size: 12px; }
  .p-connect .arow .tag.rec { background: var(--pine); color: var(--lime); }
  .p-connect .arow .chev { width: 16px; height: 16px; color: var(--mut); stroke-width: 2.2; transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
  .p-connect .arow[aria-expanded="true"] .chev { transform: rotate(180deg); color: var(--pine); }
  .p-connect .steps { margin-top: 0; }
  .p-connect .steps li { padding: 12px 0; font-size: 15px; }
  .p-connect .sw > .purl { display: block; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--rule); }
  .p-connect .purl code { display: block; margin-top: 10px; padding: 14px 16px; border-radius: 12px; background: #F7F9F5; box-shadow: inset 0 0 0 1px var(--edge); font-family: 'Geist Mono', monospace; font-size: 15px; overflow-wrap: anywhere; }
  .p-connect .purl .btn { width: 100%; height: 48px; margin-top: 10px; }
  .p-connect .purl .mut { margin: 10px 0 0; font-size: 14px; }
  .p-connect .sw > .try { display: block; margin-top: 18px; padding: 16px 18px; }
}

/* ================= a message (nothing to pay, sign-in) ================= */
.p-message main.wrap { max-width: 640px; padding-top: 72px; padding-bottom: 72px; }
.p-message .box { padding: 40px; }

/* ================= Sign in (our own pages; WorkOS behind them) ================= */
.p-auth .card { width: 100%; max-width: 440px; margin: 72px auto 0; padding: 40px; background: #FFFFFF; border-radius: 24px; box-shadow: 0 0 0 1px #E1E6DE, 0 1px 2px rgba(13,43,29,.04), 0 24px 48px -24px rgba(13,43,29,.18); animation: up .6s cubic-bezier(.2,.8,.2,1) both; }
.p-auth .card.tall { margin-top: 56px; }
.p-auth .ah1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.1; letter-spacing: -.03em; }
.p-auth .ah1.sm { font-size: 30px; line-height: 1.15; }
.p-auth .sub { margin: 8px 0 0; color: var(--mut); }
.p-auth .sub b { color: var(--pine); font-weight: 600; }
.p-auth .btn.full { display: flex; width: 100%; margin-top: 20px; }
.p-auth .btn.full.line { margin-top: 12px; }
.p-auth .err { margin: 10px 0 0; font-size: 14px; animation: up .3s both; }
.p-auth .in-f.bad { box-shadow: inset 0 0 0 1.5px var(--red); }
.p-auth .first { margin-top: 28px; }
.p-auth .who { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 6px 0 14px; margin-top: 14px; border-radius: 999px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; max-width: 100%; }
.p-auth .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-auth .who a { flex: none; font-size: 13px; font-weight: 600; color: var(--pine); padding: 4px 10px; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.p-auth .row { display: flex; justify-content: space-between; align-items: baseline; margin: 28px 0 8px; }
.p-auth .row .fl { margin: 0; }
.p-auth .alink { font-size: 14px; color: var(--pine); font-weight: 600; text-decoration: underline; text-decoration-color: #B5C1B3; text-underline-offset: 4px; }
.p-auth .pw { position: relative; }
.p-auth .pw .in-f { padding-right: 72px; }
.p-auth .show { position: absolute; right: 8px; top: 8px; height: 36px; padding: 0 10px; border: 0; border-radius: 10px; background: var(--page); font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink2); cursor: pointer; }
.p-auth .or { display: flex; align-items: center; gap: 14px; margin: 24px 0 0; font-size: 13px; color: var(--mut); }
.p-auth .or::before, .p-auth .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.p-auth .env { width: 56px; height: 56px; border-radius: 16px; background: #EEF4E6; box-shadow: inset 0 0 0 1px #DFE9CF; display: flex; align-items: center; justify-content: center; color: var(--pine); margin-bottom: 22px; }
.p-auth .boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 28px; }
.p-auth .boxes input { width: 100%; min-width: 0; height: 60px; border-radius: 12px; border: 0; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--edge); text-align: center; font-family: 'Geist Mono', monospace; font-size: 24px; font-weight: 500; color: var(--pine); transition: box-shadow .2s, transform .25s cubic-bezier(.34,1.56,.64,1); }
.p-auth .boxes input:focus { outline: none; background: #FBFDF7; box-shadow: inset 0 0 0 1.5px var(--pine), 0 0 0 4px rgba(198,238,110,.55); transform: translateY(-2px); }
.p-auth .boxes input.on { box-shadow: inset 0 0 0 1.5px var(--pine); }
.p-auth .again { margin: 18px 0 0; font-size: 14px; color: var(--mut); text-align: center; }
.p-auth .again b { color: var(--pine); font-weight: 600; font-variant-numeric: tabular-nums; }
.p-auth .again button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--pine); text-decoration: underline; text-decoration-color: #B5C1B3; text-underline-offset: 4px; cursor: pointer; }
.p-auth .foot { max-width: 440px; margin: 24px auto 48px; text-align: center; font-size: 15px; color: var(--mut); }
.p-auth .foot a, .p-auth .foot button { color: var(--pine); font-weight: 600; text-decoration: underline; text-decoration-color: #B5C1B3; text-underline-offset: 4px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.p-auth .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.p-auth .fld { margin-top: 16px; }
.p-auth .meter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.p-auth .meter i { height: 4px; border-radius: 999px; background: var(--line); transition: background .3s; }
.p-auth .meter i.on { background: var(--pine); }
.p-auth .hint { display: block; margin-top: 8px; font-size: 13px; color: var(--mut); }
.p-auth .hint.bad { color: var(--red); font-weight: 500; }
.p-auth .match { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--ok); }
.p-auth .note { margin: 18px 0 0; font-size: 14px; color: var(--mut); }
.p-auth .pair { display: flex; align-items: center; margin-bottom: 26px; }
.p-auth .agents { display: grid; grid-template-columns: repeat(2, 26px); gap: 4px; }
.p-auth .atile { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); }
.p-auth .atile svg { width: 16px; height: 16px; }
.p-auth .alink-line { position: relative; width: 56px; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, var(--edge) 0 6px, transparent 6px 11px); }
.p-auth .alink-line i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1.5px var(--pine); animation: hop 2.4s ease-in-out infinite; }
@keyframes hop { 0% { left: 0; } 50% { left: calc(100% - 8px); } 100% { left: 0; } }
.p-auth .us { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--pine); }
.p-auth .us img { width: 34px; height: 34px; }
.p-auth .can { list-style: none; margin: 20px 0 0; padding: 14px 16px; border-radius: 14px; background: #F4F8EC; box-shadow: inset 0 0 0 1px #DFE9CF; font-size: 14px; }
.p-auth .can li { display: flex; gap: 10px; padding: 3px 0; }
.p-auth .can svg { flex: none; margin-top: 3px; }
.p-auth .dev { margin-top: -32px; text-align: center; font-size: 13px; color: var(--mut); }
@media (max-width: 520px) { .p-auth .card { margin-top: 32px; padding: 28px 22px; } .p-auth .boxes { gap: 6px; } .p-auth .boxes input { height: 52px; font-size: 20px; } }
.p-auth .dev a { color: var(--ink2); text-underline-offset: 3px; }

/* ================= Waitlist (invite-only: no account yet, in line) ================= */
/* A storefront drawn in fine line (the strokes draw themselves), the awning fills lime, four
   people pop in at the door; then the card, and "line" gets its lime highlight. */
.p-wait main.wrap { overflow-x: clip; }
.p-wait .scene { position: relative; width: 100%; max-width: 480px; aspect-ratio: 480 / 190; margin: 48px auto 0; }
.p-wait .scene svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.p-wait .ink { fill: none; stroke: var(--pine); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.p-wait .dw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.p-wait .aw { fill: var(--lime); opacity: 0; animation: wfade .6s 1.3s forwards; }
@keyframes wfade { to { opacity: 1; } }
.p-wait .p { opacity: 0; animation: wpop .5s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes wpop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.p-wait .p1 { animation-delay: 1.7s; } .p-wait .p2 { animation-delay: 1.85s; } .p-wait .p3 { animation-delay: 2s; } .p-wait .p4 { animation-delay: 2.15s; }
.p-wait .card { max-width: 480px; margin-top: 24px; animation: up .7s .5s cubic-bezier(.2,.8,.2,1) both; }
.p-wait .up { animation: up .7s cubic-bezier(.2,.8,.2,1) both; }
.p-wait .d1 { animation-delay: .7s; } .p-wait .d2 { animation-delay: .85s; } .p-wait .d3 { animation-delay: 1s; }
.p-wait .wh1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 38px; line-height: 1.05; letter-spacing: -.035em; }
.p-wait .wh1 span { background: linear-gradient(180deg, transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%) no-repeat; background-size: 0 100%; animation: whl .8s 2.6s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes whl { to { background-size: 100% 100%; } }
.p-wait .body { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink2); }
.p-wait .body b { color: var(--pine); font-weight: 600; overflow-wrap: anywhere; }
.p-wait .foot { max-width: 480px; margin-top: 36px; }
@media (prefers-reduced-motion: reduce) { .p-wait .dw { stroke-dashoffset: 0; } .p-wait .aw, .p-wait .p { opacity: 1; } .p-wait .wh1 span { background-size: 100% 100%; } }
@media (max-width: 600px) { .p-wait .scene { margin-top: 32px; } .p-wait .wh1 { font-size: 32px; } }

/* ---------- Pickup places: Profile's card and the share-location page (/here) ---------- */
.p-account .lcol { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.p-account .pl { padding: 28px 32px; }
.p-account .pl-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.p-account .pl-h .sub { margin: 6px 0 0; font-size: 15px; color: var(--mut); }
.p-account .pl-h .btn { flex: none; white-space: nowrap; gap: 6px; }
.p-account .pl-h .btn .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.p-account .pl-list { list-style: none; margin: 18px 0 0; padding: 0; }
.p-account .pl-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid #EEF1EC; transition: opacity .25s, transform .25s; }
.p-account .pl-row:first-child { border-top: 0; }
.p-account .pl-row.out { opacity: 0; transform: translateX(12px); }
.p-account .pl-row .tx { display: flex; flex-direction: column; min-width: 0; }
.p-account .pl-row .nm { font-weight: 600; font-size: 16px; }
.p-account .pl-row .at { font-size: 14px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-account .pl-row .acts { display: flex; align-items: center; gap: 14px; }
.p-account .pl-row .acts .quiet { min-height: 36px; font-size: 14px; }
.p-account .pl-note { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid #EEF1EC; font-size: 14px; color: var(--mut); }
.p-account .pl-empty { margin-top: 18px; display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 16px; background: #F7F9F5; box-shadow: inset 0 0 0 1px #E6EAE3; color: var(--ink2); font-size: 15px; }
:is(.p-here, .p-account) .pin { width: 40px; height: 40px; flex: none; border-radius: 12px; background: #F4F8EC; box-shadow: inset 0 0 0 1px #DFE9CF; display: flex; align-items: center; justify-content: center; color: #1F5A2E; }
:is(.p-here, .p-account) .pin.now { background: var(--pine); color: var(--lime); box-shadow: none; }
.p-account .ed { margin: 16px 0 4px; padding: 22px; border-radius: 16px; background: #FBFDF7; box-shadow: inset 0 0 0 1.5px var(--pine), 0 0 0 4px rgba(198,238,110,.35); animation: up .4s cubic-bezier(.2,.8,.2,1) both; }
.p-account .ed .row2 { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: end; }
.p-account .ed .keep { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 14px; color: var(--ink2); }
.p-account .ed .foot2 { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.p-account .ed .fld0 + .fld0 { margin-top: 16px; }
.p-account .ed .conf { margin: 0 0 12px; font-size: 15px; color: var(--ink2); }
.p-account .ed .conf b { font-weight: 600; color: var(--pine); }
.p-account .ed [data-code-in] { margin-top: 14px; }
.p-account .ed [data-code-in] .in-f { max-width: 200px; letter-spacing: .12em; }
.p-account .ed .hint { display: block; margin-top: 8px; font-size: 13px; color: var(--mut); }
.p-account .ed .err { margin: 12px 0 0; font-size: 14px; }
.p-account .pw-done { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid #EEF1EC; font-size: 14px; color: var(--ok, var(--pine)); }
:is(.p-here, .p-account) .find .or { display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; font-size: 13px; color: #6A7A70; }
:is(.p-here, .p-account) .find .or::before, :is(.p-here, .p-account) .find .or::after { content: ''; flex: 1; height: 1px; background: #E1E6DE; }
:is(.p-here, .p-account) .findrow { display: flex; gap: 10px; }
:is(.p-here, .p-account) .findrow .in-f { flex: 1; min-width: 0; }
:is(.p-here, .p-account) .findrow .btn { flex: none; height: 52px; }
:is(.p-here, .p-account) .results { display: grid; gap: 6px; margin-top: 8px; }
:is(.p-here, .p-account) .results:empty { display: none; }
:is(.p-here, .p-account) .res { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E1E6DE; font-family: inherit; font-size: 15px; color: var(--pine); text-align: left; cursor: pointer; animation: up .35s calc(var(--i, 0) * 50ms) cubic-bezier(.2,.8,.2,1) both; }
:is(.p-here, .p-account) .res:hover { background: #F4F8EC; box-shadow: inset 0 0 0 1px #C9D9B4; }
:is(.p-here, .p-account) .btn.busy { opacity: .7; pointer-events: none; }
.p-here .card { text-align: left; }
.p-here .st.in { animation: up .45s cubic-bezier(.2,.8,.2,1) both; }
.p-here .badge { width: 56px; height: 56px; border-radius: 18px; background: var(--pine); color: var(--lime); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; box-shadow: 0 12px 24px -14px rgba(13,43,29,.7); }
.p-here .badge.ok { background: var(--lime); color: var(--pine); animation: pop .5s .1s cubic-bezier(.34,1.56,.64,1) both; }
.p-here .asker { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--mut); }
.p-here .fine { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: #6A7A70; }
.p-here .fine a { color: var(--pine); font-weight: 600; }
.p-here .spot { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: #F4F8EC; box-shadow: inset 0 0 0 1px #DFE9CF; }
.p-here .spot .tx { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.p-here .spot b { font-weight: 600; }
.p-here .spot .tx span { font-size: 13px; color: var(--mut); }
.p-here .spot .quiet { min-height: 36px; font-size: 14px; }
.p-here .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.p-here .chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #D5DDD2; font-family: inherit; font-size: 15px; font-weight: 500; color: var(--pine); cursor: pointer; transition: background .2s, color .2s, transform .2s cubic-bezier(.34,1.56,.64,1); }
.p-here .chip:active { transform: scale(.96); }
.p-here .chip small { font-size: 12px; color: #6A7A70; font-weight: 400; }
.p-here .chip .ic { width: 16px; height: 16px; }
.p-here .chip.on { background: var(--pine); color: var(--lime); box-shadow: none; }
.p-here .chip.on small { color: rgba(198,238,110,.7); }
.p-here .chip:disabled { opacity: .45; cursor: default; }
.p-here .newname { margin-top: 10px; }
.p-here .hint { margin: 8px 0 0; font-size: 13px; color: var(--mut); }
.p-here .once { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 16px; padding: 14px 16px; border: 0; border-radius: 14px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E1E6DE; font-family: inherit; font-size: 15px; color: var(--pine); text-align: left; cursor: pointer; }
.p-here .once i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #B5C1B3; flex: none; transition: box-shadow .2s; }
.p-here .once span span { display: block; font-size: 13px; color: #6A7A70; }
.p-here .once.on { box-shadow: inset 0 0 0 1.5px var(--pine); }
.p-here .once.on i { box-shadow: inset 0 0 0 6px var(--pine); }
@media (max-width: 600px) {
  .p-account .pl { padding: 22px; }
  .p-account .pl-h { flex-direction: column; }
  .p-account .pl-row { grid-template-columns: 40px minmax(0, 1fr); }
  .p-account .pl-row .acts { grid-column: 2; }
  .p-account .ed .row2 { grid-template-columns: minmax(0, 1fr); }
}
