:root { color-scheme: light;
  --bg: #ffffff; --ink: #1d1d1f; --sub: #5c5c61; --tert: #6e6e73;
  --line: #d2d2d7; --line-soft: #ececef; --blue: #0071e3; --red: #d70015;
  --font: -apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif; }
* { box-sizing: border-box }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
.card { width: min(94vw,420px); border: 1px solid var(--line-soft);
  border-radius: 22px; padding: 40px 34px 34px; box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.logo { display: flex; align-items: center; gap: 8px; margin: 0 0 24px; }
.logo img { width: 24px; height: 24px; }
.logo-text { font-size: 14px; font-weight: 600; color: var(--sub); }
h1 { font-size: 26px; font-weight: 600; letter-spacing: -.022em; line-height: 1.15; margin: 0 0 8px; text-wrap: balance; }
p.sub { color: var(--sub); font-size: 16px; line-height: 1.5; margin: 0 0 26px; }
label { display: block; font-size: 13px; font-weight: 500; color: var(--sub); margin: 0 0 8px; }
.pw-wrap { position: relative; }
input { width: 100%; padding: 13px 46px 13px 14px; font: 400 16px var(--font); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; outline: none; }
input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.16); }
.pw-toggle { position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
  width: 32px; height: 32px; padding: 0; margin: 0; display: grid; place-items: center;
  background: none; border: 0; border-radius: 8px; cursor: pointer; color: var(--tert); }
.pw-toggle:hover { background: var(--line-soft); color: var(--sub); }
.pw-toggle svg { width: 20px; height: 20px; display: block; }
.pw-toggle .eye-off { display: none; }
.pw-toggle[aria-pressed="true"] .eye-on { display: none; }
.pw-toggle[aria-pressed="true"] .eye-off { display: block; }
button { width: 100%; margin-top: 18px; padding: 13px; font: 600 16px var(--font);
  color: #fff; background: var(--blue); border: 0; border-radius: 12px; cursor: pointer; }
button:hover { background: #0077ed; }
.err { margin: 14px 0 0; padding: 11px 13px; border-radius: 11px;
  background: rgba(215,0,21,.06); color: var(--red); font-size: 14px; }
