/* login */
.login{min-height:100vh;display:grid;grid-template-columns:minmax(340px,480px) 1fr}
.login-form{display:flex;flex-direction:column;justify-content:center;padding:48px clamp(24px,6vw,72px)}
.brand{font-weight:700;font-size:20px;color:var(--signal);direction:ltr;text-align:right}
.login-form h1{margin:28px 0 4px;font-size:30px;line-height:1.3}
.sub{margin:0 0 32px;color:var(--muted)}
.login-form label{display:block;margin:18px 0 6px;font-weight:600;font-size:15px}
.login-form input{width:100%;height:48px;padding:0 14px;border:1.5px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);direction:ltr;text-align:left}
.login-form input:focus{border-color:var(--signal)}
.pw{position:relative}
.pw input{padding-inline-end:76px}
.pw button{position:absolute;inset-block:6px;inset-inline-end:6px;padding:0 12px;border:0;border-radius:6px;background:transparent;color:var(--signal);cursor:pointer}
.err{margin:16px 0 0;padding:10px 12px;border-radius:8px;background:#FBE9E7;color:var(--danger);font-size:15px}
.go{width:100%;height:50px;margin-top:24px;border:0;border-radius:8px;background:var(--ink);color:#fff;font-weight:700;font-size:17px;cursor:pointer}
.go:hover{background:var(--ink2)}

.login-visual{background:var(--ink);display:flex;align-items:center;justify-content:center;padding:24px;overflow:hidden}
.login-visual svg{width:100%;max-width:640px;height:auto;max-height:100vh}
.arc{fill:none;stroke:var(--sky);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;animation:draw .9s ease-out var(--d) forwards}
@keyframes draw{to{stroke-dashoffset:0}}
.tower{fill:none;stroke:var(--sky);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.dot{fill:var(--amber)}
.flabel{fill:var(--amber);font-size:15px;font-family:Consolas,monospace;direction:ltr}
@media (prefers-reduced-motion:reduce){.arc{animation:none;stroke-dashoffset:0}}
@media (max-width:820px){.login{grid-template-columns:1fr}.login-visual{display:none}}
