/* The customer sign-up page (join.js): verno.cards/c/<code> */
.join-page{min-height:100dvh;background:#f6f7f9;display:flex;justify-content:center}
.join-page .jp-in{width:100%;max-width:420px;padding:20px 18px 28px;display:flex;flex-direction:column;gap:0}
.join-page h1{font:700 25px/1.15 var(--display);letter-spacing:-.7px;margin:22px 0 8px}
.jp-sub{color:var(--muted);font-size:15px;line-height:1.5;margin:0 0 18px}
.jp-wait{color:var(--muted);margin:auto;text-align:center}
.jp-center{text-align:center;align-items:center;justify-content:center;min-height:80dvh}
.jp-badge{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;margin:0 auto 6px}.jp-badge.warn{background:#fdf2e3;color:#b4660a}
.jp-form{display:flex;flex-direction:column;gap:14px}
.jp-field{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px}.jp-field em{font-style:normal;font-weight:400;color:var(--muted)}
.jp-field input,.jp-field select{width:100%;padding:12px;border:1px solid #ced5de;border-radius:10px;font-size:16px;min-height:50px;background:#fff;color:var(--ink)}
/* iPhone draws a date field with a width of its own and centred: it ran past the screen (owner 2026-11-20) */
.jp-field{min-width:0}
.jp-field input[type=date]{-webkit-appearance:none;appearance:none;display:block;box-sizing:border-box;min-width:0;max-width:100%;text-align:left}
.jp-field input[type=date]::-webkit-date-and-time-value{text-align:left;margin:0}
.jp-field small{font-weight:400;color:var(--muted);font-size:12.5px}
.jp-bday{display:grid;grid-template-columns:1fr 2fr;gap:8px}
.jp-gender{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.jp-gender button{min-height:50px;border:1px solid #ced5de;border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:16px;font-weight:600;white-space:nowrap;cursor:pointer}
.jp-gender button[aria-pressed="true"]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);background:#f4f6f9}
.jp-check{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.45;color:var(--ink)}.jp-check input{width:20px;height:20px;margin:1px 0 0;flex:none;accent-color:var(--blue)}
.jp-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border-radius:12px;font:600 16px var(--body);border:1px solid #cbd1db;background:#fff;color:var(--ink);width:100%;cursor:pointer;margin-top:10px}
.jp-btn.main{background:var(--c,var(--blue));border-color:var(--c,var(--blue));color:var(--fg,#fff)}.jp-btn:disabled{opacity:.6}
.jp-error{background:#fdecec;color:#b42318;border-radius:10px;padding:10px 12px;font-size:14px;margin:0 0 12px}
.jp-note{background:#edf1fe;color:#1d3fa8;border-radius:10px;padding:10px 12px;font-size:13.5px;line-height:1.5;margin:12px 0 0}
.jp-fine{font-size:12.5px;color:var(--muted);text-align:center;margin:12px 0 0;line-height:1.5}
.jp-wallets{display:grid;gap:10px}
.jp-wallet{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;border-radius:12px;font:600 16px var(--body);cursor:pointer;border:1px solid #111;background:#111;color:#fff}
.jp-wallet.google{background:#fff;color:#111;border-color:#cbd1db}
.jp-wallet{-webkit-tap-highlight-color:transparent;transition:transform .12s,opacity .12s;position:relative}
.jp-wallet:active{transform:scale(.97);opacity:.8}
.jp-wallet[aria-disabled=true]{pointer-events:none;opacity:.55}
.jp-wallet[aria-busy=true]{opacity:.8}
.jp-wallet[aria-busy=true]::after{content:"";position:absolute;right:18px;top:50%;width:18px;height:18px;margin-top:-9px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:jp-spin .7s linear infinite}
@keyframes jp-spin{to{transform:rotate(360deg)}}
.jp-topfill{position:fixed;top:0;left:0;right:0;height:64px;z-index:0;pointer-events:none}
.jp-topfill+.jp-cover{position:relative;z-index:1}.jp-wallet svg{width:20px;height:20px;flex:none}
.jp-phone{display:grid;grid-template-columns:auto 1fr;gap:8px}
.jp-cc{position:relative;display:flex;align-items:center;padding:0 12px;border:1px solid #ced5de;border-radius:10px;background:#fff;min-height:50px;font-size:16px;font-weight:500;white-space:nowrap}
.jp-cc select{position:absolute;inset:0;opacity:0;width:100%;font-size:16px;cursor:pointer}
.jp-cc.fixed{cursor:default}
.jp-field>label{font-weight:600}
.jp-btn.ghost{border-color:transparent;background:none;color:var(--muted);min-height:44px}
.jp-btn svg{flex:none}
/* The super card page (join.js cardSuperPage): verno.cards/s/<token>, the card as Business › Super cards draws it */
.jp-badge.no{background:#fdecec;color:#b42318}
.jp-scard{border-radius:18px;color:#fff;padding:16px 16px 18px;background:linear-gradient(150deg,var(--c),color-mix(in srgb,var(--c) 50%,#000));box-shadow:0 14px 34px rgba(16,24,40,.18);display:grid;align-content:start}
.jp-scard-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;letter-spacing:.06em;font-weight:600;opacity:.92}
.jp-scard-top span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jp-scard-top em{font-style:normal;background:#ffffff2e;border-radius:6px;padding:2px 8px;font-weight:700;letter-spacing:.08em;flex:none}
.jp-scard strong{display:block;margin:22px 0 2px;font:700 28px/1.1 var(--display);letter-spacing:-.5px;overflow-wrap:anywhere}
.jp-scard small{font-size:14px;opacity:.9}
.jp-scard-name{margin-top:18px;font-size:10.5px;letter-spacing:.06em;opacity:.85}.jp-scard-name span{display:block}.jp-scard-name b{display:block;font-size:15px;letter-spacing:0;opacity:1}
.jp-push{margin-top:auto;padding-top:8px}
.join-page .jp-in:has(.jp-push){min-height:100dvh}
.jp-qr{width:168px;margin:6px auto 0;background:#fff;border-radius:14px;padding:12px;box-shadow:0 6px 18px rgba(16,24,40,.08)}.jp-qr svg{display:block;width:100%;height:auto}
/* The customer's booking page (book.js): verno.cards/book/<code> */
.bk-place{margin:0;color:var(--muted);font-size:14px}
.bk-was{margin:0 0 4px;font-weight:600}
.bk-back{display:flex;align-items:center;gap:6px;width:fit-content;margin:0 auto 18px 0;padding:8px 14px 8px 10px;border:1px solid #cbd1db;border-radius:999px;background:#fff;color:var(--ink);font:600 14px var(--body);cursor:pointer}
.bk-times{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px}
.bk-times button,.bk-class{min-height:46px;border:1px solid #ced5de;border-radius:10px;background:#fff;color:var(--ink);font:600 15px var(--body);cursor:pointer}
.bk-class{display:grid;gap:2px;width:100%;padding:10px 12px;text-align:left}.bk-class small{font-weight:400;color:var(--muted);font-size:12.5px}
.bk-times button.on,.bk-class.on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.bk-when{font:600 17px/1.45 var(--body);text-align:center;margin:0 0 8px}

/* The menu and location pages behind the links on a card */
.join-page h2{font:600 12px/1.3 var(--body,inherit);letter-spacing:.4px;text-transform:uppercase;color:var(--muted);margin:20px 0 6px}
.lp-row{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #e7e9ee;font-size:16px}
.lp-row b{font-weight:600;white-space:nowrap}
.lp-row.out{color:#a2a7b0;text-decoration:line-through}
.lp-note{color:var(--muted);font-size:14px;line-height:1.45;margin:10px 0 0}
.lp-pages{display:grid;gap:10px}
.lp-pages img{width:100%;border-radius:10px;display:block}
.lp-places{display:grid;gap:10px}
.lp-place{display:flex;align-items:center;gap:12px;padding:14px;border-radius:14px;background:#fff;color:inherit;text-decoration:none}
.lp-place>span{flex:1;min-width:0;display:grid;gap:3px}
.lp-place>svg{width:18px;height:18px;color:#a2a7b0;flex-shrink:0}
.lp-place strong{display:flex;align-items:center;gap:6px;font-size:16px;font-weight:600}
.lp-place strong svg{width:16px;height:16px;color:#007aff;flex-shrink:0}
.lp-place small{font-size:14px;color:var(--muted)}
.lp-place em{font-style:normal;font-size:13px;color:#1a7f4b}
.lp-place em span{color:var(--muted)}
.lp-place em.closed{color:#b42318}
.bk-status{margin:0 0 6px;text-align:center;font-weight:600;color:var(--muted)}
.bk-mine{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 14px;padding:12px 14px;border-radius:12px;border:1px solid #cbd1db;background:#f6f8fb;color:var(--ink);font:500 14px/1.4 var(--body);text-align:left;cursor:pointer}
.bk-mine svg{flex:none}
/* the customer's light page (customer.html) has no dashboard.css, whose body.in-app gives the page this background */
html[data-page=customer] body{background:#f6f7f9}
/* the Apple mark's size from dashboard.css (.d-mark), which the light page doesn't load */
.jp-wallet .d-mark{width:13px;height:13px;flex-shrink:0}
/* the workspace's preview of the booking page (book.js, #/book/<code>?preview=1): the page scrolls inside the phone, no bar shows */
.bk-preview,.bk-preview body{scrollbar-width:none}.bk-preview::-webkit-scrollbar,.bk-preview body::-webkit-scrollbar{display:none}
.jp-cover{margin:-20px -18px 18px;text-align:left;min-height:230px;padding:22px 20px 20px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;gap:16px;background:var(--c);color:var(--fg)}
.jp-cover.photo{background:linear-gradient(180deg,rgba(0,0,0,.28),rgba(0,0,0,.05) 40%,rgba(0,0,0,.55)),var(--img) center/cover,var(--c)}
.jp-cover-name{align-self:flex-start;font:800 17px var(--display);letter-spacing:-.1px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.jp-cover-logo{align-self:flex-start;max-height:44px;max-width:60%;object-fit:contain}
.join-page .jp-cover h1,.jp-cover-h{margin:0;font:800 28px/1.12 var(--display);letter-spacing:-.6px;color:var(--fg)}
.jp-gender{grid-template-columns:repeat(3,1fr)}
.jp-cover-both{display:flex;align-items:center;gap:10px;align-self:flex-start;max-width:100%}.jp-cover-both .jp-cover-logo{max-height:36px;max-width:40%}
.jp-cover-both>*{align-self:center}.jp-cover-both .jp-cover-name{line-height:1}
