/* The sign-in pages: login, reset-password, start (free trial), join and setup.
   Light only (owner, 2026-11-27: "no more dark background"), current blue palette (docs/design-rules.md).
   One type scale (28 / 17 / 15 / 13 / 12, buttons 16) and one spacing scale (4 / 8 / 12 / 16 / 24 / 32),
   from docs/ideas/auth-pages-audit.md. A mistake is said under its own field, in words, never by colour alone.
   Phone width: one column on the app's light grey. Desk (1024px and wider): the form on the left, and on the
   right a panel with a drawn laptop showing the rota (auth.js draws it). */
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
:root{
  --page:#f1f1f3; --card:#fff; --ink:#0b1220; --soft:#475569; --mute:#64748b; --faint:#94a3b8;
  --line:#e2e8f0; --field:#cbd5e1; --label:#334155;
  --blue:#2171b5; --blue-2:#4292c6; --blue-ink:#1a5a91; --wash:#e6eef7; --wash-line:#c6d9ee;
  --good:#0ea472; --bad:#dc2626; --bad-ink:#b91c1c; --bad-wash:#fef2f2; --warn:#b45309;
  color-scheme:light;
}
@view-transition{navigation:auto}
html,body{background:var(--page)}
body{min-height:100vh;min-height:100dvh;color:var(--ink);font-family:'Geist',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px;line-height:1.45;-webkit-font-smoothing:antialiased}
a{color:var(--blue);text-decoration:none}
a:hover{color:var(--blue-ink);text-decoration:underline}
.mh-theme-btn{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[hidden]{display:none!important}

/* ── frame ── */
.auth{min-height:100vh;min-height:100dvh;display:flex}
.auth-main{flex:1;display:flex;flex-direction:column;padding:24px 24px 28px;min-width:0}
.auth-col{width:100%;max-width:400px;margin:0 auto;display:flex;flex-direction:column;gap:24px;flex:1}
.auth-body{display:flex;flex-direction:column;gap:24px;margin:8px 0 0}
.auth-show{display:none}
.auth-body>section{display:flex;flex-direction:column;gap:24px}
.desk-only{display:none!important}
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:17px;font-weight:600}
.brand:hover{color:var(--ink);text-decoration:none}
.brand img{width:36px;height:36px;display:block}
.top-link{font-size:13px;color:var(--soft);text-align:right}
.top-link a{font-weight:600}
@media(min-width:1024px){
  html,body{background:#fff}
  .auth-main{flex:0 0 560px;padding:36px 64px 32px 72px}
  .auth-col{max-width:400px;margin:0}
  .auth-body{margin:auto 0}
  .solo .auth-main{flex:1;padding:36px 32px 32px}
  .solo .auth-col{margin:0 auto}
  .auth-show{display:block;position:relative;flex:1;margin:20px 20px 20px 0;border-radius:28px;overflow:hidden;
    background:radial-gradient(90% 70% at 20% 0%,#fff 0%,var(--wash) 45%,var(--wash-line) 100%);border:1px solid #d6e3f1}
  .top-link{font-size:14px}
  .desk-only{display:flex!important}
  p.desk-only{display:block!important}
  .phone-only{display:none!important}
}

/* iPad landscape and small laptops: a narrower form so the picture keeps room. Upright (iPad portrait) the panel
   would be a tall sliver, so the page is one centred column there, like on a phone. */
@media(min-width:1024px) and (max-width:1279px){.auth-main{flex-basis:480px;padding:32px 40px 28px 48px}}
@media(min-width:1024px) and (orientation:portrait){.auth-show{display:none}.auth-main{flex:1}.auth-col{margin:0 auto}}

/* a wrong try gives the form a short shake */
.shake .auth-col{animation:shake 380ms}
@keyframes shake{10%,90%{transform:translateX(-1px)}20%,80%{transform:translateX(2px)}30%,50%,70%{transform:translateX(-4px)}40%,60%{transform:translateX(4px)}}

/* ── headings ── */
.head{display:flex;flex-direction:column;gap:8px}
h1{font-size:28px;font-weight:600;line-height:1.2;letter-spacing:-.01em;outline:none}
.lead{font-size:15px;color:var(--soft)}
.lead b{color:var(--ink);font-weight:600;overflow-wrap:anywhere}
@media(min-width:1024px){h1{font-size:32px;line-height:1.15;letter-spacing:-.02em}.lead{font-size:17px}}
.ticks{list-style:none;display:flex;flex-direction:column;gap:8px}
.ticks li{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--label)}
.ticks svg{width:16px;height:16px;color:var(--good);flex:none}

/* ── fields ── */
form{display:flex;flex-direction:column;gap:16px}
.field{display:flex;flex-direction:column;gap:8px}
.label-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.field label,.label{font-size:13px;font-weight:500;color:var(--label)}
.label-row a,.label-row button.link{font-size:13px;font-weight:500}
.input-wrap{position:relative}
.field input,.field select{width:100%;height:52px;padding:0 16px;font-size:17px;font-weight:400;font-family:inherit;color:var(--ink);background:#fff;border:1px solid var(--field);border-radius:14px;outline:none;transition:border-color 150ms,box-shadow 150ms}
@media(min-width:1024px){.field input,.field select{height:48px;font-size:16px;border-radius:12px}}
.field input::placeholder{color:var(--faint)}
.field input:focus,.field select:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(33,113,181,.15)}
.field select{appearance:none;-webkit-appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
.field.has-btn input{padding-right:52px}
.field.valid input{border-color:var(--good)}
.field.valid .ok{opacity:1}
.ok{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:var(--good);opacity:0;transition:opacity 150ms;pointer-events:none}
.field.has-btn .ok{display:none}
.field.error input,.field.error select{border:1.5px solid var(--bad);background:var(--bad-wash)}
.field.error input:focus{box-shadow:0 0 0 4px rgba(220,38,38,.14)}
.err{display:none;gap:8px;align-items:flex-start;font-size:13px;line-height:1.4;color:var(--bad-ink)}
.field.error .err,.err.on{display:flex}
.err svg,.note svg,.caps svg{width:16px;height:16px;flex:none;margin-top:1px}
.hint{font-size:13px;line-height:1.4;color:var(--mute)}
.toggle-pw{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;background:none;color:var(--mute);border-radius:10px;cursor:pointer;display:flex;align-items:center;justify-content:center}
@media(min-width:1024px){.toggle-pw{width:40px;height:40px}}
.toggle-pw:hover{background:var(--page);color:var(--ink)}
.toggle-pw svg{width:20px;height:20px}
.caps{display:none;align-items:center;gap:8px;font-size:13px;color:var(--warn)}
.caps.show{display:flex}
.check{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding-top:10px;font-size:15px;color:var(--label);cursor:pointer;line-height:1.4}
.check input{width:20px;height:20px;margin:0;flex:none;accent-color:var(--blue);color-scheme:light}
input[type=checkbox],input[type=date],select{color-scheme:light}
.check.error{color:var(--bad-ink)}
.code-input{letter-spacing:.5em;text-align:center;font-size:26px!important;font-variant-numeric:tabular-nums;padding-left:calc(16px + .5em)!important}
.rules{list-style:none;display:flex;flex-direction:column;gap:6px;margin-top:4px;font-size:13px}
.rules li{display:flex;align-items:center;gap:8px;color:var(--mute)}
.rules li svg{width:16px;height:16px;flex:none}
.rules li .y{display:none}
.rules li.met{color:var(--good)}
.rules li.met .y{display:block}
.rules li.met .n{display:none}

/* ── buttons ── */
.btn{height:52px;width:100%;border-radius:14px;background:var(--blue);border:1px solid var(--blue-ink);color:#fff;font-weight:600;font-size:16px;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;box-shadow:0 1px 2px rgba(15,40,80,.2);transition:background 150ms,transform 120ms}
.btn:hover{background:#1c64a2}
.btn:active{transform:scale(.99)}
.btn:disabled{opacity:.75;cursor:default;transform:none}
.btn-2{height:52px;width:100%;border-radius:14px;background:#fff;border:1px solid var(--field);color:var(--ink);font-weight:500;font-size:15px;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.btn-2:hover{background:var(--page);text-decoration:none;color:var(--ink)}
.btn-2:disabled{color:var(--mute);cursor:default;background:#fff}
@media(min-width:1024px){.btn,.btn-2{height:48px;border-radius:12px}}
.btn .kbd{font-size:12px;font-weight:500;padding:2px 6px;border-radius:6px;background:rgba(255,255,255,.18);display:none}
@media(min-width:1024px) and (hover:hover){.btn .kbd{display:inline}}
.spinner{width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;animation:spin .7s linear infinite;display:none}
.btn.busy .spinner{display:inline-block}
.btn.busy .kbd{display:none}
@keyframes spin{to{transform:rotate(360deg)}}
.link{background:none;border:0;color:var(--blue);font:inherit;font-weight:500;cursor:pointer;padding:0}
.link:hover{color:var(--blue-ink);text-decoration:underline}
.link:disabled{color:var(--mute);cursor:default;text-decoration:none}
.back{display:inline-flex;align-items:center;gap:4px;min-height:44px;align-self:flex-start;font-size:15px;font-weight:500;margin-left:-6px;background:none;border:0;color:var(--blue);cursor:pointer;font-family:inherit}
.back svg{width:22px;height:22px}
.or{display:flex;align-items:center;gap:12px;color:var(--faint);font-size:12px}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--line)}
.social{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.social button{height:48px;border-radius:14px;background:#fff;border:1px solid var(--field);color:var(--ink);font-weight:500;font-size:15px;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}
.social button:hover{background:var(--page)}
.social svg{width:18px;height:18px}
@media(min-width:1024px){.social button{border-radius:12px;height:46px}}

/* ── notices: a whole-form message sits next to the button, never at the top of the screen ── */
.note{display:none;gap:8px;align-items:flex-start;font-size:14px;line-height:1.45;padding:12px 14px;border-radius:12px}
.note.on{display:flex}
.note.bad{color:var(--bad-ink);background:var(--bad-wash);border:1px solid #fecaca}
.note.info{color:#1e3a5f;background:var(--wash);border:1px solid var(--wash-line)}
.note.good{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0}
.cta{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border-radius:14px;background:#f5f9fd;border:1px solid #d6e3f1}
.cta b{display:block;font-size:15px;font-weight:600}
.cta span{display:block;font-size:13px;color:var(--soft)}
.cta a{flex:none;font-size:14px;font-weight:600;padding:10px 14px;border-radius:10px;background:#fff;border:1px solid var(--wash-line)}
.cta a:hover{text-decoration:none;background:var(--wash)}
.foot{display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center;font-size:13px;color:var(--mute);margin-top:auto}
.foot .big{font-size:15px;color:var(--ink)}
.foot .big a{font-weight:600}
.badge{width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,var(--blue-2),var(--blue));box-shadow:0 10px 30px rgba(33,113,181,.3);display:flex;align-items:center;justify-content:center;color:#fff}
.badge svg{width:34px;height:34px}
.fine{font-size:12px;line-height:1.5;color:var(--mute)}

/* button pairs and link rows */
.row-end{display:flex;justify-content:flex-end;gap:12px}
.row-end .btn,.row-end .btn-2{width:auto;padding:0 22px}
.links{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 18px;font-size:14px}
.links .link{min-height:44px}

/* ── saved accounts ── */
.saved{display:flex;flex-direction:column;gap:8px}
.acct-row{position:relative;display:flex;align-items:center}
.acct{display:flex;align-items:center;gap:12px;width:100%;padding:12px 48px 12px 12px;border-radius:14px;background:#fff;border:1px solid var(--field);color:inherit;font:inherit;cursor:pointer;text-align:left;transition:border-color 150ms,background 150ms}
.acct:hover{border-color:var(--blue-2);background:#f8fbfe}
.av{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-weight:600;font-size:14px;border:2px solid var(--c,#2171b5);color:var(--c,#2171b5);background:#fff;flex:none}
.who{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.who b{font-weight:500;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.who span{font-size:13px;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.more{position:absolute;right:6px;width:40px;height:40px;background:none;border:0;color:var(--mute);font-size:18px;letter-spacing:1px;cursor:pointer;border-radius:10px}
.more:hover{background:var(--page)}
.menu{position:absolute;z-index:3;right:6px;top:52px;padding:6px;display:none;flex-direction:column;min-width:200px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 40px -12px rgba(15,40,80,.25)}
.menu.on{display:flex}
.menu button{background:none;border:0;color:var(--ink);font:inherit;font-size:14px;text-align:left;padding:10px 12px;border-radius:10px;cursor:pointer}
.menu button:hover{background:var(--page)}
.menu .del{color:var(--bad)}
.picked{display:flex;align-items:center;gap:12px;padding:12px;border-radius:14px;background:#f5f9fd;border:1px solid #d6e3f1}
.picked .link{font-size:13px}

/* ── setup step bar (start) ── */
.steps{display:flex;align-items:center;gap:10px}
.step{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:var(--mute);white-space:nowrap}
.step .dot{position:relative;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;background:#fff;box-shadow:inset 0 0 0 1.5px var(--field);color:var(--mute)}
.step .dot svg{width:13px;height:13px;display:none}
.step.done{color:var(--ink)}
.step.done .dot{background:var(--good);box-shadow:none;color:#fff}
.step.done .dot svg{display:block}
.step.done .dot .n{display:none}
.step.now{color:var(--ink);font-weight:600}
.step.now .dot{background:var(--blue);box-shadow:none;color:#fff}
.bar{flex:1;height:2px;border-radius:2px;background:var(--line);overflow:hidden;min-width:12px}
.bar i{display:block;height:100%;width:0;background:var(--good);border-radius:2px}
.bar.done i{width:100%}
/* a step just finished: the dot turns green with a pop and the tick draws, the line fills, the next dot pops in blue */
.step.just .dot{animation:stDone 700ms cubic-bezier(.2,.8,.2,1) both}
.step.just .dot svg path{stroke-dasharray:24;stroke-dashoffset:24;animation:stTick 450ms 250ms ease forwards}
.bar.just i{animation:stFill 600ms 450ms cubic-bezier(.4,0,.2,1) both}
.step.arrive .dot{animation:stNow 600ms 950ms cubic-bezier(.2,.8,.2,1) both}
.step.arrive{animation:stLabel 300ms 950ms ease both}
@keyframes stDone{0%{background:var(--blue);transform:scale(1)}40%{background:var(--good);transform:scale(1.2)}100%{background:var(--good);transform:scale(1)}}
@keyframes stTick{to{stroke-dashoffset:0}}
@keyframes stFill{from{width:0}to{width:100%}}
@keyframes stNow{0%{background:#fff;color:var(--mute);box-shadow:inset 0 0 0 1.5px var(--field),0 0 0 0 rgba(33,113,181,.45);transform:scale(1)}40%{background:var(--blue);color:#fff;box-shadow:inset 0 0 0 0 transparent,0 0 0 0 rgba(33,113,181,.45);transform:scale(1.2)}70%{transform:scale(1)}100%{background:var(--blue);color:#fff;box-shadow:0 0 0 9px rgba(33,113,181,0)}}
@keyframes stLabel{from{color:var(--mute)}to{color:var(--ink)}}

/* ── invite (start, last step) ── */
.share-card{display:flex;gap:14px;align-items:center;padding:14px;border-radius:14px;border:1px solid var(--line);background:#fafbfc}
.share-card .qr{width:84px;height:84px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:8px;flex:none}
.share-card .qr img,.share-card .qr canvas,.share-card .qr svg{width:100%;height:100%;display:block}
.share-card .txt{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.share-card .txt b{font-size:14px}
.share-card .txt span{font-size:12px;color:var(--mute)}
.share-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:2px}
.pill{height:36px;padding:0 12px;border-radius:9px;font-weight:600;font-size:13px;font-family:inherit;display:inline-flex;align-items:center;gap:6px;cursor:pointer;background:#fff;border:1px solid var(--field);color:var(--ink)}
.pill.blue{background:var(--blue);border-color:var(--blue-ink);color:#fff}
.pill svg{width:15px;height:15px}
.link-box{display:flex;gap:8px;align-items:center;font-size:13px;padding:10px 12px;border-radius:10px;background:#fff;border:1px dashed var(--field);color:var(--soft);overflow-wrap:anywhere}

/* ── printed poster (start, "Print poster"): only on paper ── */
.poster{display:none}
@media print{
  @page{size:A4;margin:0}
  html,body{background:#fff}
  body>*:not(.poster){display:none!important}
  .poster{display:flex!important;flex-direction:column;align-items:center;width:210mm;height:297mm;padding:22mm 20mm 16mm;color:var(--ink);font-family:'Geist',-apple-system,'Segoe UI',sans-serif}
  .poster .p-brand{display:flex;align-items:center;gap:12px;font-size:20pt;font-weight:600}
  .poster .p-brand img{width:14mm;height:14mm}
  .poster h2{margin-top:14mm;font-size:40pt;font-weight:600;line-height:1.08;letter-spacing:-.02em;text-align:center}
  .poster .p-lead{margin-top:5mm;font-size:16pt;color:var(--soft);text-align:center;max-width:150mm}
  .poster .p-qr{margin-top:14mm;padding:7mm;border:2px solid var(--line);border-radius:8mm;width:96mm;height:96mm;position:relative}
  .poster .p-qr img,.poster .p-qr canvas,.poster .p-qr svg{width:100%;height:100%;display:block}
  .poster .p-scan{margin-top:6mm;font-size:12pt;color:var(--mute)}
  .poster .p-steps{margin-top:14mm;display:flex;gap:9mm;width:100%}
  .poster .p-steps div{flex:1;display:flex;flex-direction:column;align-items:center;gap:3mm;text-align:center}
  .poster .p-steps i{width:13mm;height:13mm;border-radius:50%;background:var(--wash);color:var(--blue);font-style:normal;font-size:15pt;font-weight:600;display:flex;align-items:center;justify-content:center;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .poster .p-steps b{font-size:14pt}
  .poster .p-steps span{font-size:11pt;color:var(--soft)}
  .poster .p-foot{margin-top:auto;width:100%;padding-top:6mm;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:10pt;color:var(--mute)}
  .poster .p-foot b{color:var(--ink)}
}

/* ── the desk panel: a drawn laptop showing the rota, and cards that fly out of its screen ── */
.show-stage{position:absolute;left:var(--sx,0px);top:var(--sy,0px);width:860px;height:880px;transform-origin:0 0;transform:scale(var(--k,1))}
.show-cap{position:absolute;left:40px;top:40px;max-width:380px;display:flex;flex-direction:column;gap:6px;z-index:2}
.show-cap b{font-size:22px;font-weight:600;line-height:1.25;letter-spacing:-.01em}
.show-cap span{font-size:14px;line-height:1.5;color:var(--soft)}
.show-dots{position:absolute;inset:0;background-image:radial-gradient(rgba(33,113,181,.12) 1px,transparent 1px);background-size:22px 22px;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 60%);mask-image:linear-gradient(to bottom,transparent,#000 60%)}
.laptop{position:absolute;left:70px;top:var(--lt,150px);width:1000px;animation:bob 6s ease-in-out infinite}
.laptop .tilt{transform:perspective(2400px) rotateY(-16deg) rotateX(4deg);transform-origin:left center}
.laptop .lid{background:linear-gradient(180deg,#2a313c,#151a22);border-radius:24px;padding:14px 14px 18px;box-shadow:0 50px 90px -20px rgba(15,40,80,.45),inset 0 0 0 1px rgba(255,255,255,.08)}
.laptop .scr{position:relative;height:610px;border-radius:10px;overflow:hidden;background:var(--page)}
.laptop .notch{position:absolute;top:0;left:50%;width:120px;height:14px;margin-left:-60px;background:#151a22;border-radius:0 0 8px 8px}
.laptop .base{height:16px;margin:0 -46px;background:linear-gradient(180deg,#e3e7ec,#b4bcc7);border-radius:2px 2px 22px 22px;box-shadow:0 20px 30px -10px rgba(15,40,80,.35)}
.laptop .base i{display:block;width:160px;height:6px;margin:0 auto;background:#c9d0d9;border-radius:0 0 8px 8px}
.app{display:flex;height:100%;font-size:12px;color:var(--ink)}
.app-side{width:150px;flex:none;background:#fff;border-right:1px solid var(--line);padding:14px 10px;display:flex;flex-direction:column;gap:4px}
.app-side .nm{display:flex;align-items:center;gap:8px;padding:0 4px 12px;font-weight:600}
.app-side .nm img{width:22px;height:22px}
.app-side .nm span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-side .it{padding:7px 10px;border-radius:8px;color:var(--soft)}
.app-side .it.on{background:var(--wash);color:var(--blue);font-weight:600}
.app-main{flex:1;min-width:0;padding:16px 18px;display:flex;flex-direction:column;gap:12px}
.app-head{display:flex;align-items:center;justify-content:space-between}
.app-head .t{font-size:16px;font-weight:600}
.app-head .d{font-size:11px;color:var(--mute)}
.app-head .acts{display:flex;gap:6px}
.app-head .acts span{font-size:11px;padding:6px 10px;border-radius:8px;border:1px solid var(--field)}
.app-head .acts .pub{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:600;animation:pub 10s ease infinite}
.kpis{display:flex;gap:10px}
.kpi{flex:1;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.kpi .k{font-size:10px;color:var(--mute)}
.kpi .v{font-size:17px;font-weight:600;margin-top:2px}
.kpi .s{font-size:10px;color:var(--mute)}
.kpi .v.good{color:var(--good)}
.grid{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px;display:grid;grid-template-columns:110px repeat(7,minmax(0,1fr));gap:6px;align-items:center}
.grid .dh{font-size:10px;font-weight:600;color:var(--mute);padding:0 4px}
.grid .grp{grid-column:1/-1;font-size:10px;font-weight:600;color:var(--blue);padding-top:6px}
.grid .pp{display:flex;align-items:center;gap:6px;font-size:11px}
.grid .pp i{width:20px;height:20px;border-radius:50%;border:1.5px solid var(--c);color:var(--c);font-size:8px;font-style:normal;font-weight:600;display:flex;align-items:center;justify-content:center}
.grid .sh{height:26px;border-radius:6px;background:#fff;border-left:3px solid var(--c);box-shadow:0 0 0 1px var(--line);font-size:10px;font-weight:500;display:flex;align-items:center;padding-left:6px;animation:shiftIn 10s cubic-bezier(.2,.9,.3,1.2) infinite both}
.grid .off{height:26px;border-radius:6px;background:repeating-linear-gradient(135deg,transparent 0 5px,rgba(15,23,42,.03) 5px 10px)}
.saved-n::after{content:"£" counter(s)}
@property --save{syntax:'<integer>';inherits:false;initial-value:0}
.saved-n{--save:312;counter-reset:s var(--save);animation:saveUp 10s cubic-bezier(.2,.7,.2,1) infinite both}
.fly{position:absolute;display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fff;border:1px solid rgba(15,40,80,.06);border-radius:16px;box-shadow:0 20px 40px -12px rgba(15,40,80,.28);animation:popOut 10s cubic-bezier(.2,.9,.25,1.15) infinite both;z-index:2}
.fly .ic{width:36px;height:36px;border-radius:10px;color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.fly .ic svg{width:18px;height:18px}
.fly .tx{display:flex;flex-direction:column;gap:2px}
.fly .tx b{font-size:14px;font-weight:600}
.fly .tx span{font-size:12px;color:var(--mute)}
.fly .go{margin-left:8px;font-size:12px;font-weight:600;padding:6px 10px;border-radius:8px;background:var(--blue);color:#fff}
@keyframes popOut{0%{opacity:0;transform:translate(var(--fx),var(--fy)) scale(.25);filter:blur(8px)}7%{opacity:1;transform:translate(0,0) scale(1.05);filter:blur(0)}10%{opacity:1;transform:translate(0,0) scale(1);filter:none}50%{opacity:1;transform:translate(0,-6px) scale(1);filter:none}86%{opacity:1;transform:translate(0,0) scale(1);filter:none}88%{opacity:1;transform:translate(0,0) scale(1);filter:blur(0)}94%,100%{opacity:0;transform:translate(var(--fx),var(--fy)) scale(.25);filter:blur(8px)}}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes shiftIn{0%{opacity:0;transform:translateY(-8px) scale(.7)}5%{opacity:1;transform:none}92%{opacity:1;transform:none}98%,100%{opacity:0;transform:none}}
@keyframes saveUp{0%,24%{--save:0}40%,100%{--save:312}}
@keyframes pub{0%,13%,19%,100%{box-shadow:0 0 0 0 rgba(33,113,181,0);transform:none}15%{box-shadow:0 0 0 6px rgba(33,113,181,.35);transform:scale(.94)}}

.btn:focus-visible,.btn-2:focus-visible,.link:focus-visible,.back:focus-visible,.acct:focus-visible,.more:focus-visible,.menu button:focus-visible,.social button:focus-visible,.toggle-pw:focus-visible,.pill:focus-visible,.check input:focus-visible,a:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
@media(prefers-reduced-motion:reduce){
  .shake .auth-col{animation:none}
  .spinner{animation:none;border-top-color:rgba(255,255,255,.4)}
  .laptop,.fly,.grid .sh,.saved-n,.app-head .acts .pub,.step.just .dot,.step.just .dot svg path,.bar.just i,.step.arrive .dot,.step.arrive{animation:none}
  .fly{opacity:1}.saved-n{--save:312}.step.just .dot svg path{stroke-dashoffset:0}.bar.just i{width:100%}
}
