/* JCCA Platform demo: sign-in overlay and first-run tour extras. All classes prefixed .au- */

.au {
  --au-bg: #F4F5F0;
  --au-glow: rgba(196,255,14,.55);
  --au-glow2: rgba(196,255,14,.34);
  --au-card: #FFFFFF;
  --au-line: #E2E4DC;
  --au-text: #0A0A0A;
  --au-muted: #5F6157;
  --au-field: #F6F7F2;
  --au-tile: #0A0A0A;
  --au-tile-ring: rgba(196,255,14,.35);
  --au-seg: #EEF0E8;
  --au-thumb: #FFFFFF;
  --au-thumb-sh: 0 1px 2px rgba(16,20,10,.12), 0 4px 12px rgba(16,20,10,.08);
  --au-shadow: 0 2px 6px rgba(16,20,10,.06), 0 30px 80px -20px rgba(16,20,10,.25);
  --au-focus: #0A0A0A;
  --au-spring: var(--spring, cubic-bezier(.22,1,.36,1));
  --au-ease: cubic-bezier(.32,.72,0,1);
}
html[data-theme="dark"] .au {
  --au-bg: #0A0A0A;
  --au-glow: rgba(196,255,14,.20);
  --au-glow2: rgba(196,255,14,.12);
  --au-card: #141414;
  --au-line: #262626;
  --au-text: #F5F5F5;
  --au-muted: #9A9A9A;
  --au-field: #1C1C1C;
  --au-tile: #141414;
  --au-tile-ring: rgba(196,255,14,.28);
  --au-seg: #1C1C1C;
  --au-thumb: #C4FF0E;
  --au-thumb-sh: 0 4px 14px -4px rgba(196,255,14,.45);
  --au-shadow: 0 2px 6px rgba(0,0,0,.5), 0 30px 80px -20px rgba(0,0,0,.8);
  --au-focus: #C4FF0E;
}

html.au-on, html.au-on body { overflow: hidden; }
html.au-on #app, html.au-on .tabs, html.au-on .tb { visibility: hidden; }

.au {
  position: fixed; inset: 0; z-index: 10000; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; background: var(--au-bg); color: var(--au-text); font-family: var(--font);
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  transition: opacity .42s ease, transform .42s var(--au-ease);
}
.au *, .au *::before, .au *::after { box-sizing: border-box; }
.au.out { opacity: 0; transform: scale(1.02); pointer-events: none; }

/* background: glows + drifting tiles */
.au-bg { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.au-glow { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(10px); }
.au-glow.a { left: -28vmax; top: -30vmax; background: radial-gradient(circle, var(--au-glow) 0%, transparent 62%); }
.au-glow.b { right: -30vmax; bottom: -32vmax; background: radial-gradient(circle, var(--au-glow2) 0%, transparent 62%); }
.au-tile {
  position: absolute; display: grid; place-items: center; width: var(--s, 60px); height: var(--s, 60px); border-radius: 30%;
  background: var(--au-tile); color: #C4FF0E; box-shadow: inset 0 0 0 1px var(--au-tile-ring), 0 14px 34px -14px rgba(16,20,10,.28);
  transform: rotate(var(--r, 0deg)); animation: au-drift 9s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.au-tile svg { width: 44%; height: 44%; stroke-width: 2.3; filter: none; }
html[data-theme="dark"] .au-tile svg { filter: none; }
.au-tile.t1 { --s: 66px; left: 6%; top: 15%; }
.au-tile.t2 { --s: 52px; left: 10%; top: 72%; }
.au-tile.t3 { --s: 58px; right: 8%; top: 20%; }
.au-tile.t4 { --s: 74px; right: 6%; top: 68%; }
.au-tile.t5 { --s: 44px; left: 64%; top: 7%; }
@keyframes au-drift {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-12px) rotate(calc(var(--r, 0deg) * -0.6)); }
}

/* top bar */
.au-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 14px 20px; }
.au-mk { display: inline-grid; width: 34px; height: 34px; border-radius: 6%; overflow: hidden; background: #C4FF0E; flex: none; }
.au-mk svg { width: 100%; height: 100%; display: block; }
.au-wm { display: flex; flex-direction: column; line-height: 1; flex: 1; min-width: 0; }
.au-wm b { font: 800 17px/1 var(--font-display); letter-spacing: .02em; }
.au-wm small { font: 700 9px/1.2 var(--font-display); letter-spacing: .14em; color: var(--au-muted); margin-top: 3px; white-space: nowrap; }
.au-lang { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--au-muted); white-space: nowrap; }
.au-lang svg { width: 15px; height: 15px; }

/* card */
.au-main { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 16px 28px; }
.au-card {
  position: relative; width: 100%; max-width: 420px; padding: 22px; border-radius: 22px; background: var(--au-card);
  box-shadow: inset 0 0 0 1px var(--au-line), var(--au-shadow); overflow: hidden;
  animation: au-land .7s var(--au-spring) both;
}
@keyframes au-land { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.au-hint { margin-top: 14px; max-width: 420px; text-align: center; font-size: 12.5px; color: var(--au-muted); animation: au-land .7s var(--au-spring) .12s both; }

/* segmented */
.au-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 13px; background: var(--au-seg); box-shadow: inset 0 0 0 1px var(--au-line); margin-bottom: 20px; }
.au-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px; background: var(--au-thumb); box-shadow: var(--au-thumb-sh); transition: transform 587ms var(--au-spring); }
.au.up .au-thumb { transform: translateX(100%); }
.au-seg button { position: relative; z-index: 1; height: 38px; border-radius: 10px; font-size: 14px; font-weight: 650; color: var(--au-muted); transition: color .3s ease; }
.au-seg button.on { color: #0A0A0A; }
html[data-theme="dark"] .au-seg button.on { color: #0A0A0A; }

.au-head.swap { animation: au-swap .45s var(--au-spring) both; }
@keyframes au-swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.au-title { font: 800 28px/1.05 var(--font-display); letter-spacing: .01em; text-transform: none; margin: 0; }
.au-lead { margin: 6px 0 0; color: var(--au-muted); font-size: 14.5px; line-height: 1.45; }

/* quick buttons */
.au-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.au-qb { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 58px; padding: 8px 4px; border-radius: 13px; background: transparent; box-shadow: inset 0 0 0 1px var(--au-line); color: var(--au-text); font-size: 12.5px; font-weight: 650; transition: background-color .2s ease, transform 90ms ease-out; }
.au-qb:hover { background: var(--au-field); }
.au-qb:active { transform: scale(.96); }
.au-qb svg { width: 20px; height: 20px; }
.au-or { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; color: var(--au-muted); font-size: 12px; font-weight: 600; }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--au-line); }

/* fields */
.au-form { display: grid; gap: 12px; margin: 0; }
.au-unf { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--au-spring), margin .45s var(--au-spring); margin-bottom: -12px; }
.au.up .au-unf { grid-template-rows: 1fr; margin-bottom: 0; }
.au-unf-in { min-height: 0; overflow: hidden; }
.au-field { min-width: 0; }
.au-lrow { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.au-lbl { font-size: 13px; font-weight: 650; }
.au-forgot { font-size: 13px; font-weight: 650; color: var(--au-text); text-decoration: underline; text-underline-offset: 3px; transition: opacity .2s ease; }
.au.up .au-forgot { opacity: 0; pointer-events: none; }
.au-inp { position: relative; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 6px 0 14px; border-radius: 13px; background: var(--au-field); box-shadow: inset 0 0 0 1px var(--au-line); color: var(--au-muted); transition: box-shadow .2s ease, background-color .2s ease; }
.au-inp > svg { flex: none; }
.au-inp:focus-within, .au-inp.focus { background: var(--au-card); box-shadow: inset 0 0 0 1.5px var(--au-focus), 0 0 0 4px rgba(196,255,14,.35); }
.au-inp input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--au-text); font: 500 16px var(--font); }
.au-inp input::placeholder { color: var(--au-muted); opacity: .8; }
.au-eye { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--au-muted); flex: none; }
.au-eye span { position: absolute; display: grid; place-items: center; transition: opacity .25s ease, transform .3s var(--au-spring); }
.au-eye .e2 { opacity: 0; transform: scale(.6); }
.au-eye.on .e1 { opacity: 0; transform: scale(.6); }
.au-eye.on .e2 { opacity: 1; transform: none; }
.au-ew { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--au-spring); }
.au-err { min-height: 0; overflow: hidden; margin: 0; color: #DC2626; font-size: 12.5px; font-weight: 600; }
.au-field.bad .au-ew { grid-template-rows: 1fr; }
.au-field.bad .au-err { padding-top: 6px; }
.au-field.bad .au-inp { box-shadow: inset 0 0 0 1.5px #EF4444, 0 0 0 4px rgba(239,68,68,.14); }
.au-field.shake .au-inp { animation: au-shake 380ms cubic-bezier(.36,.07,.19,.97) both; }
@keyframes au-shake { 15%, 85% { transform: translateX(-2px); } 30%, 70% { transform: translateX(5px); } 45% { transform: translateX(-7px); } 60% { transform: translateX(7px); } }
html[data-theme="dark"] .au-err { color: #F87171; }

/* submit */
.au-submit { position: relative; overflow: hidden; display: grid; place-items: center; height: 52px; margin-top: 4px; border-radius: 14px; background: #C4FF0E; color: #0A0A0A; font-size: 16px; font-weight: 750; box-shadow: 0 10px 24px -12px rgba(150,190,0,.8); transition: transform .2s var(--au-spring), background-color .3s ease, color .3s ease; }
.au-submit:active, .au-submit.press { transform: scale(.97); }
.au-submit > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; transition: opacity .25s ease, transform .35s var(--au-spring); }
.au-sub-ok { opacity: 0; transform: translateY(10px); }
.au-sub-ok svg { width: 18px; height: 18px; stroke-width: 2.6; }
.au-submit.ok { background: #16A34A; color: #FFFFFF; }
.au-submit.ok .au-sub-t { opacity: 0; transform: translateY(-10px); }
.au-submit.ok .au-sub-ok { opacity: 1; transform: none; }
.au-sheen { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%); transform: translateX(-120%); opacity: 0; pointer-events: none; }
.au-submit.loading .au-sheen { opacity: 1; animation: au-sheen 1s ease-in-out infinite; }
.au-submit.press .au-sheen { opacity: 1; animation: au-sheen .5s ease-out 1; }
@keyframes au-sheen { to { transform: translateX(120%); } }
.au.busy .au-qb, .au.busy .au-seg { pointer-events: none; }
.au-inp input.typing { caret-color: var(--au-text); }

/* face id / passkey scan */
.au-scan { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--au-card); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.au-scan.on { opacity: 1; pointer-events: auto; }
.au-scan-ic { position: relative; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 28px; background: #0A0A0A; color: #C4FF0E; overflow: hidden; }
.au-scan-ic svg { width: 52px; height: 52px; }
.au-scan.on .au-scan-ic::after { content: ""; position: absolute; left: 10%; right: 10%; height: 3px; border-radius: 2px; background: #C4FF0E; box-shadow: 0 0 14px 3px rgba(196,255,14,.7); animation: au-scanline 1.1s ease-in-out infinite; }
.au-scan.done .au-scan-ic { background: #16A34A; color: #FFFFFF; animation: au-pop .45s var(--bounce, cubic-bezier(.34,1.56,.64,1)) both; }
.au-scan.done .au-scan-ic::after { display: none; }
.au-scan-t { font: 800 18px/1 var(--font-display); }
@keyframes au-scanline { 0% { top: 12%; } 50% { top: 84%; } 100% { top: 12%; } }
@keyframes au-pop { from { transform: scale(.7); } to { transform: none; } }

/* success panel */
.au-dp { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 6px 10px; }
.au-tick circle, .au-tick path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.au-tick circle { stroke: #16A34A; stroke-width: 3.5; }
.au-tick path { stroke: #16A34A; stroke-width: 4.5; }
.au-dp.in .au-tick circle { stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--au-ease); }
.au-dp.in .au-tick path { stroke-dashoffset: 0; transition: stroke-dashoffset .4s var(--au-ease) .45s; }
.au-dh { margin: 14px 0 0; font: 800 26px/1.1 var(--font-display); text-transform: none; }
.au-dl { margin: 6px 0 18px; color: var(--au-muted); font-size: 14.5px; }
.au-dp > * { opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .5s var(--au-spring); }
.au-dp.in > * { opacity: 1; transform: none; }
.au-dp.in > .au-dh { transition-delay: .15s; }
.au-dp.in > .au-dl { transition-delay: .25s; }
.au-dp.in > .au-bar { transition-delay: .3s; }
.au-bar { width: 100%; max-width: 280px; height: 6px; border-radius: 3px; background: var(--au-seg); box-shadow: inset 0 0 0 1px var(--au-line); overflow: hidden; }
.au-bar i { display: block; width: 0; height: 100%; border-radius: 3px; background: #C4FF0E; box-shadow: inset 0 0 0 1px rgba(10,10,10,.12); }
.au-dp.in .au-bar i { width: 100%; transition: width 2.6s cubic-bezier(.4,.1,.3,1) .35s; }

/* ---------- onboarding extras (pages use the ai.css tour) ---------- */
.au-tip { display: flex; align-items: center; gap: 8px; max-width: 420px; margin: 2px 0 0; padding: 10px 14px; border-radius: 14px; background: var(--panel, #fff); box-shadow: inset 0 0 0 1px var(--line, #E2E4DC); color: var(--text, #0A0A0A); font-size: 13.5px; font-weight: 600; text-align: left; }
.au-tip svg { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 6px; background: #C4FF0E; color: #0A0A0A; box-sizing: content-box; }
.au-ill-pipe { gap: 14px; }
.au-pipe { display: flex; align-items: flex-end; gap: 10px; width: min(64vw, 240px); height: min(26vh, 170px); padding: 18px; border-radius: 26px; background: #C4FF0E; box-shadow: 0 24px 60px -18px rgba(150,190,0,.6); }
.au-pipe span { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.au-pipe i { display: block; width: 100%; height: var(--h); border-radius: 6px 6px 3px 3px; background: #0A0A0A; transform-origin: bottom; animation: au-grow .8s var(--au-spring) both; animation-delay: calc(var(--i) * 80ms); }
.au-pipe span:last-child i { background: transparent; box-shadow: inset 0 0 0 3px #0A0A0A; }
@keyframes au-grow { from { transform: scaleY(0); } to { transform: none; } }
.au-ill-stack { position: relative; }
.au-sc { position: absolute; width: min(44vw, 160px); aspect-ratio: 3 / 4; border-radius: 20px; background: var(--panel, #fff); box-shadow: inset 0 0 0 1px var(--line, #E2E4DC), 0 18px 40px -16px rgba(16,20,10,.35); }
.au-sc.s3 { transform: translateY(16px) scale(.88); opacity: .6; }
.au-sc.s2 { transform: translateY(8px) scale(.94); }
.au-sc.s1 { display: flex; flex-direction: column; gap: 9px; padding: 44px 16px 16px; background: #C4FF0E; box-shadow: 0 24px 60px -18px rgba(150,190,0,.6); animation: au-swipe 2.8s var(--au-ease) .4s infinite; }
.au-sc.s1 b { position: absolute; top: 14px; left: 12px; padding: 3px 7px; border: 2.5px solid #0A0A0A; border-radius: 7px; font: 800 13px/1 var(--font-display); color: #0A0A0A; transform: rotate(-14deg); }
.au-sc.s1 i { display: block; height: 9px; border-radius: 5px; background: rgba(10,10,10,.75); }
.au-sc.s1 i.w { width: 60%; background: rgba(10,10,10,.35); }
@keyframes au-swipe { 0%, 30% { transform: none; } 55% { transform: translateX(26px) rotate(6deg); } 80%, 100% { transform: none; } }
.au-ill-calls { display: grid; gap: 8px; width: min(64vw, 240px); height: auto; padding: 16px; border-radius: 26px; background: #C4FF0E; box-shadow: 0 24px 60px -18px rgba(150,190,0,.6); }
.au-call { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; border-radius: 10px; background: #0A0A0A; color: #C4FF0E; animation: ai-rise .5s var(--au-spring) both; animation-delay: calc(var(--i) * 90ms); }
.au-call b { font: 800 14px/1 var(--font-display); }
.au-call i { flex: 1; height: 6px; border-radius: 3px; background: rgba(196,255,14,.35); }

/* ---------- mobile ---------- */
@media (max-width: 640px) {
  .au-top { padding: 10px 16px; }
  .au-main { justify-content: flex-start; padding: 6px 16px 22px; }
  .au-card { padding: 18px; }
  .au-title { font-size: 25px; }
  .au-tile.t2, .au-tile.t3, .au-tile.t5 { display: none; }
  .au-tile.t1 { --s: 48px; left: -10px; top: 9%; }
  .au-tile.t4 { --s: 56px; right: -12px; top: auto; bottom: 7%; }
}
@media (max-width: 360px) {
  .au-lang { display: none; }
  .au-qb { font-size: 11.5px; }
}
@media (min-height: 760px) and (max-width: 640px) {
  .au-main { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .au, .au *, .au *::before, .au *::after { animation: none !important; transition: none !important; }
  .au-dp > * { opacity: 1; transform: none; }
}

/* ---------- install gate ---------- */
.au-gmain { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; max-width: 440px; margin: 0 auto; padding: 28px 22px 120px; text-align: center; }
.au-gi { display: grid; width: 112px; height: 112px; border-radius: 22%; overflow: hidden; background: #C4FF0E; box-shadow: 0 0 0 1px rgba(10,10,10,.06), 0 26px 60px -16px rgba(150,190,0,.75), 0 0 80px rgba(196,255,14,.45); animation: au-float 4.5s ease-in-out infinite; margin-bottom: 6px; }
.au-gi svg { width: 100%; height: 100%; display: block; }
@keyframes au-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.au-gh { margin: 0; font: 800 28px/1.1 var(--font-display); text-transform: none; letter-spacing: .01em; }
.au-gp { margin: 0; color: var(--au-muted); font-size: 15px; line-height: 1.5; }
.au-gbody { width: 100%; margin-top: 8px; }
.au-gsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.au-gsteps li { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; border-radius: 16px; background: var(--au-card); box-shadow: inset 0 0 0 1px var(--au-line), 0 10px 26px -18px rgba(16,20,10,.35); transition: transform .45s var(--au-spring), box-shadow .3s ease; }
.au-gsteps li.on { transform: scale(1.03); box-shadow: inset 0 0 0 2px #C4FF0E, 0 0 0 4px rgba(196,255,14,.28), 0 16px 34px -18px rgba(16,20,10,.45); }
html[data-theme="light"] .au-gsteps li.on, html:not([data-theme="dark"]) .au-gsteps li.on { box-shadow: inset 0 0 0 2px #0A0A0A, 0 0 0 4px rgba(196,255,14,.55), 0 16px 34px -18px rgba(16,20,10,.45); }
.au-gn { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: #C4FF0E; color: #0A0A0A; }
.au-gn svg { width: 22px; height: 22px; }
.au-gt { font-size: 15px; font-weight: 650; line-height: 1.3; }
.au-gt small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--au-muted); margin-bottom: 2px; }
.au-gcard { padding: 16px; border-radius: 16px; background: var(--au-card); box-shadow: inset 0 0 0 1px var(--au-line); }
.au-gmsg { margin: 0 0 12px; font-size: 15px; line-height: 1.45; }
.au-gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; border-radius: 14px; background: #C4FF0E; color: #0A0A0A; font-size: 16px; font-weight: 750; box-shadow: 0 10px 24px -12px rgba(150,190,0,.8); }
.au-gbtn.big { height: 58px; font-size: 17px; margin-bottom: 12px; }
.au-gbtn:active { transform: scale(.97); }
.au-gdone { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--au-card); box-shadow: inset 0 0 0 2px #16A34A; text-align: left; font-size: 15px; }
.au-gdone svg { flex: none; width: 26px; height: 26px; color: #16A34A; }
.au-gdone p { margin: 0; }
.au-gskip { margin-top: 6px; min-height: 44px; padding: 0 12px; color: var(--au-muted); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.au-garrow { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 4px; transform: translateX(-50%); pointer-events: none; }
.au-garrow span { padding: 6px 12px; border-radius: 999px; background: #0A0A0A; color: #C4FF0E; font-size: 13px; font-weight: 700; white-space: nowrap; }
.au-garrow i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #C4FF0E; color: #0A0A0A; box-shadow: 0 10px 24px -10px rgba(150,190,0,.9); animation: au-bounce 1.3s ease-in-out infinite; }
@keyframes au-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  .au-gate *, .au-gate *::before { animation: none !important; transition: none !important; }
}
/* prefilled login: gently pulse the Sign in button so Joe knows to tap it */
.au-submit.ready { animation: au-ready 1.8s ease-in-out infinite; }
@keyframes au-ready { 0%, 100% { box-shadow: 0 0 0 0 rgba(196,255,14,.65); } 50% { box-shadow: 0 0 0 10px rgba(196,255,14,0); } }
@media (prefers-reduced-motion: reduce) { .au-submit.ready { animation: none; } }
/* install gate always fills the whole screen */
.au-gate { position: fixed !important; inset: 0 !important; width: 100vw; height: 100vh; height: 100dvh; z-index: 2147483000; }
/* iOS 26 Safari: the ••• button sits at the bottom right of the toolbar */
.au-garrow.au-garrow-r { left: auto; right: calc(env(safe-area-inset-right, 0px) + 14px); transform: none; align-items: flex-end; }
.au-garrow.au-garrow-r i { margin-right: 10px; }
.au-gsteps li { min-height: 0; }
