/* Public account pages (sign in, sign up, verify, forgot, reset): the small card (user's pick, 29 Nov
   2026, demos/ux/signin.html option 3). The wordmark sits top-left as inside the app; the form is one
   small card with a hairline edge and no shadow; one flat coral button. Sign-in is one page: "/" for a
   visitor and /login are the same screen. Standalone: no app chrome; tokens come from style.css. */
body.au1{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:var(--font);
  display:flex;align-items:center;justify-content:center;padding:84px 20px 64px;box-sizing:border-box;position:relative;
  --au-r:#c0392b;--au-o:#ef7d31;--au-y:#d9a70a;--au-g:#1f9d60}
html[data-theme="dark"] body.au1{--au-r:#e0705f;--au-o:#cc6a2b;--au-y:#b08a0d;--au-g:#3fb27f}
.au1 *{box-sizing:border-box}
.au1-top{position:absolute;top:24px;left:28px}
.au1-pagefoot{position:absolute;bottom:22px;left:0;right:0;text-align:center;font-size:11.5px;color:var(--muted)}
.au1-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:30px 30px 26px;width:380px;max-width:100%}
.au1-card h1{font-size:22px;font-weight:600;letter-spacing:-.01em;margin:0 0 4px;color:var(--text)}
.au1-sub{font-size:13.5px;color:var(--muted);margin:0 0 22px;line-height:1.5}
.au1-sub b{font-weight:500;color:var(--text)}
.au1-wm{display:inline-flex;align-items:center;gap:9px;font-weight:600;font-size:15px;color:var(--text)}
.au1-wm img{width:24px;height:26px}
/* the island's mark (30 Nov 2026): the coral shield, AIO over a small spaced MDM */
.au1-wm-st{display:flex;flex-direction:column;line-height:1.05}
.au1-wm-st b{font-size:14.5px;font-weight:600;letter-spacing:.01em}
.au1-wm-st small{font-size:10px;font-weight:500;letter-spacing:.2em;color:var(--muted);margin-top:1px}
/* form */
.au1-f{display:flex;flex-direction:column;gap:5px;margin-bottom:12px;position:relative}
.au1-f label{font-size:12.5px;font-weight:400;color:var(--text-2)}
.au1-in{width:100%;height:40px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);padding:0 12px;font:inherit;font-size:14px}
.au1-in::placeholder{color:var(--text-faint,var(--muted))}
.au1-in:focus{outline:2px solid color-mix(in srgb,var(--accent-fill) 35%,transparent);outline-offset:0;border-color:var(--accent-fill)}
.au1-pw .au1-in{padding-right:58px}
.au1-eye{position:absolute;right:4px;top:29px;height:30px;padding:0 10px;border:0;background:none;color:var(--muted);cursor:pointer;border-radius:6px;font-size:12px;font-weight:400;font-family:inherit}
.au1-eye:hover{color:var(--text)}
.au1-row2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.au1-forgot{display:flex;justify-content:flex-end;margin:-4px 0 14px}
.au1-forgot a,.au1-alt a{color:var(--text-2);font-size:12.5px;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--border)}
.au1-forgot a:hover,.au1-alt a:hover{color:var(--text);text-decoration-color:currentColor}
.au1-alt{text-align:center;font-size:12.5px;color:var(--muted);margin-top:18px}
.au1-foot{display:none} /* the © line lives under the page now (.au1-pagefoot) */
/* alerts: a dot and a line on a faint tint */
.au1-al{border-radius:8px;padding:9px 12px;font-size:13px;margin-bottom:14px;display:flex;gap:9px;align-items:flex-start;line-height:1.45}
.au1-al::before{content:"";width:6px;height:6px;border-radius:50%;flex:none;margin-top:7px;background:currentColor}
.au1-al span{color:var(--text)}
.au1-al.err{background:color-mix(in srgb,var(--au-r) 8%,var(--surface));color:var(--au-r)}
.au1-al.ok{background:color-mix(in srgb,var(--au-g) 9%,var(--surface));color:var(--au-g)}
.au1-al.info{background:var(--surface2);color:var(--text-2)}
/* buttons: one flat coral button; Microsoft is the plain one above it */
.au1-btn{border:0;border-radius:8px;font:inherit;font-size:14px;font-weight:500;cursor:pointer;background:var(--accent-fill);color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;width:100%;height:40px;padding:0 16px}
.au1-btn:hover{background:var(--accent-fill-h)}
.au1-ms{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:40px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-size:14px;font-weight:500;text-decoration:none}
.au1-ms:hover{background:var(--surface2)}
a.au1-ms,a.au1-ms:hover,a.au1-ms:visited{color:var(--text)} /* a global a:hover turned it coral */
.au1-or{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin:16px 0}
.au1-or::before,.au1-or::after{content:"";flex:1;height:1px;background:var(--border-soft,var(--border))}
/* stepper (sign up): words, the current one in the text colour */
.au1-stp{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin-bottom:18px;flex-wrap:wrap}
.au1-stp span{display:inline-flex;align-items:center;gap:6px}
.au1-stp span b{width:18px;height:18px;border-radius:50%;border:1px solid var(--border);display:inline-grid;place-items:center;font-size:10.5px;font-weight:500;color:var(--muted)}
.au1-stp span.on{color:var(--text);font-weight:500}
.au1-stp span.on b{border-color:var(--text-2);color:var(--text)}
.au1-stp em{width:14px;height:1px;background:var(--border)}
/* password meter */
.au1-pwm{display:flex;gap:4px;margin-top:6px}
.au1-pwm i{flex:1;height:4px;border-radius:99px;background:var(--border-soft,var(--border))}
.au1-pwm i.r{background:var(--au-r)}.au1-pwm i.o{background:var(--au-o)}.au1-pwm i.y{background:var(--au-y)}.au1-pwm i.g{background:var(--au-g)}
.au1-pwl{font-size:11.5px;color:var(--muted);margin-top:5px;display:flex;justify-content:space-between;gap:8px}
.au1-pwr{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:11.5px;color:var(--muted)}
.au1-pwr li::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;border:1.5px solid currentColor;margin-right:6px;opacity:.7}
.au1-pwr li.ok{color:var(--text)}
.au1-pwr li.ok::before{background:var(--au-g);border-color:var(--au-g);opacity:1}
.au1-pwr li.hard::after{content:" · required";font-size:10.5px}
/* status icons: small and quiet */
.au1-ic{width:44px;height:44px;display:grid;place-items:center;margin-bottom:14px;border-radius:10px;background:var(--surface2)}
.au1-ic svg{width:22px;height:22px;fill:none;stroke-width:1.8;stroke:var(--text-2)}
.au1-ic.warn svg{stroke:var(--au-r)}.au1-ic.tick svg{stroke:var(--au-g)}
/* phones: the wordmark and the footer join the column */
@media (max-width:480px){
  body.au1{flex-direction:column;justify-content:flex-start;padding:20px 16px}
  .au1-top{position:static;align-self:flex-start;margin:0 0 22px}
  .au1-card{padding:24px 18px}
  .au1-pagefoot{position:static;margin-top:20px}
  .au1-stp em{display:none}.au1-stp{gap:6px}
  .au1-row2{grid-template-columns:minmax(0,1fr)}
}
/* busy (auth-bento.js): the Microsoft logo turns into a ring; a form button gets one before its label */
@keyframes au1-ring{to{transform:rotate(360deg)}}
.au1-ms.is-busy,.au1-btn.is-busy{cursor:progress}
.au1-ms.is-busy>svg{display:none}
.au1-ms.is-busy::before,.au1-btn.is-busy::before{content:"";width:13px;height:13px;flex:none;border-radius:50%;box-sizing:border-box;border:1.5px solid color-mix(in srgb,currentColor 28%,transparent);border-top-color:currentColor;animation:au1-ring .8s linear infinite}
.au1-btn.is-busy::before{margin-right:9px}
@media (prefers-reduced-motion:reduce){.au1-ms.is-busy::before,.au1-btn.is-busy::before{animation-duration:2.4s}}
