body { display: grid; place-items: center; min-height: 100vh; padding: 16px; background: radial-gradient(ellipse at top, var(--panel2), var(--bg) 70%); }
.box { width: min(420px, 100%); background: var(--panel); border: 1px solid var(--line2); border-radius: 20px; padding: 28px 26px; box-shadow: 0 20px 60px var(--shadow); }
.box .logo { width: 84px; height: 84px; border-radius: 50%; display: block; margin: 0 auto 10px; box-shadow: 0 0 40px var(--glow); }
.box h1 { text-align: center; letter-spacing: .18em; margin: 0 0 4px; font-size: 22px; }
.box .sub { text-align: center; color: var(--muted); margin: 0 0 20px; font-size: 14px; }
.box .field { margin-bottom: 14px; }
.box .field input { width: 100%; font-size: 16px; padding: 11px 12px; }
.box .pw { position: relative; }
.box .pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 12px; padding: 6px; }
.box button[type=submit] { width: 100%; justify-content: center; min-height: 46px; font-size: 16px; }
#msg { color: var(--bad); min-height: 20px; margin-top: 10px; text-align: center; font-size: 14px; }
.foot { text-align: center; margin-top: 16px; font-size: 13px; color: var(--dim); }
