/* Signing in, in a browser (`signIn` in app.js).
   The launch screen's blue and the launch screen's mark, so the loading
   screen lifts away onto the same colour rather than onto a white page; then
   a card that carries the one decision on the page. Brand colours are fixed
   here on purpose, like the loading screen's: they are the logo's, not a
   look's. The card follows the light and dark tokens. */
.signin{position:fixed;inset:0;z-index:5;overflow-y:auto;background:#0D3F67;color:#FFFFFF;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;
  padding:calc(28px + env(safe-area-inset-top)) 18px calc(24px + env(safe-area-inset-bottom));
  background-image:radial-gradient(120% 70% at 50% 0%, #1A5A8C 0%, #0D3F67 60%)}
.signin-brand{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;
  animation:signin-rise .6s cubic-bezier(.2,.8,.2,1) both}
.signin-mark{width:132px;height:auto;display:block;filter:drop-shadow(0 8px 24px #00000033)}
.signin-word{font-family:var(--display);font-size:34px;font-weight:850;letter-spacing:.01em;line-height:1;margin:6px 0 0}
.signin-tag{font-size:15px;color:#FFFFFFD9;margin:0}

.signin-card{width:min(400px,100%);background:var(--surface);color:var(--ink);border-radius:24px;
  padding:24px 22px 20px;display:flex;flex-direction:column;gap:12px;text-align:center;
  box-shadow:0 24px 60px #0000004D;animation:signin-rise .6s cubic-bezier(.2,.8,.2,1) .12s both}
.signin-card h2{font-family:var(--display);font-size:22px;font-weight:800;margin:0}
.signin-lead{margin:0;color:var(--ink-2);font-size:15px;line-height:1.5;text-wrap:balance}
.signin-note{margin:0;padding:10px 12px;border-radius:12px;background:var(--surface-2);color:var(--ink);font-size:14px}

.signin-google{min-height:44px;display:grid;place-items:center;margin-top:6px}
.signin-google .gsi{width:100%;display:flex;justify-content:center;min-height:44px}
.signin-google .gsi[aria-busy="true"]{border-radius:999px;background:var(--surface-2);
  animation:signin-wait 1.2s ease-in-out infinite alternate}
.signin-busy{display:flex;align-items:center;justify-content:center;gap:10px;height:44px;
  font-weight:700;color:var(--ink-2)}
.signin-busy[hidden]{display:none}
.signin-busy i{width:18px;height:18px;border-radius:50%;border:2px solid var(--line);border-top-color:var(--ink);
  animation:signin-spin .8s linear infinite}
.signin-say{margin:0;min-height:0;color:var(--ember);font-size:14px;font-weight:650}
.signin-say:empty{display:none}
.signin-legal{margin:2px 0 0;font-size:12.5px;color:var(--muted);line-height:1.5;text-wrap:balance}
.signin-legal a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.signin-more{color:#FFFFFF;opacity:.8;font-size:14px;font-weight:650;text-decoration:underline;
  text-underline-offset:4px;animation:signin-rise .6s ease .24s both}

@keyframes signin-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes signin-spin{to{transform:rotate(360deg)}}
@keyframes signin-wait{from{opacity:.55}to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  .signin-brand,.signin-card,.signin-more{animation:none}
  .signin-busy i,.signin-google .gsi[aria-busy="true"]{animation:none}
}
