/* The sign-in page: everything centred on the dark stage (two still glows; a site adds its own art in .wl__backdrop): brand, claim, lead, the white card, the facts. The colours are variables set by colors.css (the site's theme, default Musketier);
   the library's cards, buttons and tokens come from its pages.css. No inline style anywhere: this file is all the styling. */
.wl { margin: 0; --wl-stage: #081423; --wl-glow: #3b5b8c; --wl-accent: #40c59b; --wl-stage-ink: #b3bbc4; }
.wl *, .wl *::before, .wl *::after { box-sizing: border-box; }
.wl__page { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 48px 24px; overflow: hidden; font-family: var(--font-sans, "IBM Plex Sans", Aptos, ui-sans-serif, system-ui, sans-serif); font-size: 16px; line-height: 24px; color: var(--ink); -webkit-font-smoothing: antialiased; background: var(--wl-stage); }
.wl--plain .wl__page { background: var(--surface, #f7f5f0); }
.wl__art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wl__g1 { stop-color: var(--wl-accent); }
.wl__g2 { stop-color: var(--wl-glow); }
/* Empty: for the site's own art (its `script` and `stylesheet`), between the stage and the column. */
.wl__backdrop { position: absolute; inset: 0; pointer-events: none; }

/* Everything in one centred column: brand, claim, lead, the white card, the facts. */
.wl__col { position: relative; z-index: 1; width: min(440px, 100%); display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; color: #fff; }
.wl--plain .wl__col { color: var(--ink); }
.wl__brand { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; margin-bottom: 6px; }
.wl--plain .wl__brand.ms-on-navy { color: var(--ink); }
/* The wordmark reads from the left, like the logo everywhere else: the column is centred, its text is not. */
.wl__brand .ms-logo__text { text-align: left; }
.wl__mark, .wl__logo { max-height: 44px; max-width: 100%; object-fit: contain; }
.wl__product { font: 600 15px/20px var(--font-display, Sora, Aptos Display, ui-sans-serif, system-ui, sans-serif); letter-spacing: .02em; }
.wl__headline { margin: 0; font: 600 clamp(30px, 3.2vw, 40px)/1.1 var(--font-display, Sora, Aptos Display, ui-sans-serif, system-ui, sans-serif); letter-spacing: -.01em; text-wrap: balance; }
.wl__headline em { font-style: normal; color: var(--wl-accent); }
.wl--plain .wl__headline em { color: var(--accent-ink); }
.wl__lead { margin: 0 0 8px; font-size: 16px; line-height: 1.55; color: var(--wl-stage-ink); }
.wl--plain .wl__lead { color: var(--ink-muted); }
.wl__card { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 24px; padding: 28px; background: var(--surface-raised, #fff); color: var(--ink); border-radius: 14px; box-shadow: 0 2px 4px rgba(8, 20, 35, .08), 0 24px 60px rgba(8, 20, 35, .28); }
.wl--plain .wl__card { box-shadow: 0 1px 2px rgba(8, 20, 35, .06), 0 8px 24px rgba(8, 20, 35, .08); }
.wl__owner { margin: 0; padding-top: 16px; border-top: 1px solid var(--hairline, #dad5ca); color: var(--ink-muted); font-size: 12px; line-height: 18px; }
.wl__facts { width: max-content; max-width: calc(100vw - 32px); list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; font-size: 13.5px; line-height: 20px; color: var(--wl-stage-ink); }
.wl--plain .wl__facts { color: var(--ink-muted); }
.wl__facts li { display: inline-flex; align-items: center; gap: 8px; }
.wl__fact-icon { width: 18px; height: 18px; flex: none; color: var(--wl-accent); }
.wl--plain .wl__fact-icon { color: var(--accent-ink); }

/* The waiting line, the notice when forgetting an account failed and the card's own column. */
.ms-login__wait { display: flex; align-items: center; gap: 10px; min-height: 72px; color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.ms-login__dots { display: inline-flex; gap: 4px; }
.ms-login__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-muted); opacity: .35; animation: ms-login-pulse 1.2s ease-in-out infinite; }
.ms-login__dots i:nth-child(2) { animation-delay: .2s; }
.ms-login__dots i:nth-child(3) { animation-delay: .4s; }
@keyframes ms-login-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ms-login__dots i { animation: none; opacity: .6; } }
.ms-login__alert { color: var(--ink-muted); font-size: 13px; line-height: 18px; }
#login { display: flex; flex-direction: column; gap: 20px; }
.wl__card .ms-panel__head { display: flex; flex-direction: column; gap: 8px; }
.wl__card .ms-panel__title { margin: 0; }
.wl__card .ms-panel__lead { margin: 0; }

/* Phone: the same stack on the dark background, without the glows; the card runs the full width. */
@media (max-width: 900px) {
  .wl__page { padding: 32px 16px; align-items: start; }
  .wl__art { display: none; }
  .wl__headline { font-size: 30px; }
  .wl__lead { font-size: 15px; }
  .wl__card { padding: 22px 20px; border-radius: 12px; }
}
