:root {
  --bg: #f4f5f2; --panel: #ffffff; --ink: #18201d; --muted: #66706b; --line: #e1e4df;
  --accent: #2c5e4f; --accent-2: #3f7f6b; --accent-ink: #fff; --err: #a23a2f; --err-soft: #fbe9e6;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1412; --panel: #171d1a; --ink: #e8ece9; --muted: #96a09b; --line: #29312d; --accent: #74b8a2; --accent-2: #5ea08b; --accent-ink: #0c1310; --err: #f0a49a; --err-soft: #3a211e; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); display: grid; place-items: center; padding: 16px; }
.shell { width: min(980px, 100%); display: grid; grid-template-columns: 1.1fr 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.08); }
.brand { padding: 48px; background: linear-gradient(150deg, var(--accent) 0%, #1f4639 100%); color: #f1f6f3; display: flex; flex-direction: column; gap: 16px; }
.logo { width: 52px; height: 52px; color: rgba(255,255,255,.18); }
.logo svg { width: 100%; height: 100%; }
.brand h1 { margin: 8px 0 0; font-size: 2.1rem; letter-spacing: -.02em; }
.lead { margin: 0; font-size: 1.05rem; line-height: 1.55; color: rgba(241,246,243,.86); max-width: 34ch; }
.points { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 10px; font-size: .93rem; }
.points li { display: flex; align-items: center; gap: 12px; color: rgba(241,246,243,.9); }
.points span { min-width: 46px; text-align: center; font-weight: 700; font-size: .82rem; padding: 5px 8px; border-radius: 8px; background: rgba(255,255,255,.14); }
.panel { padding: 48px; display: flex; align-items: center; }
form { width: 100%; display: flex; flex-direction: column; gap: 16px; }
h2 { margin: 0; font-size: 1.5rem; letter-spacing: -.01em; }
.muted { margin: -8px 0 4px; color: var(--muted); }
label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; }
input { font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.pw { position: relative; display: block; }
.pw input { padding-right: 92px; }
.show { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: inherit; font-size: .8rem; border: 0; background: transparent; color: var(--accent); cursor: pointer; padding: 8px 10px; border-radius: 8px; }
.show:hover { background: var(--line); }
.submit { font: inherit; font-weight: 650; font-size: 1rem; padding: 13px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); cursor: pointer; margin-top: 4px; transition: background .15s; }
.submit:hover { background: var(--accent-2); }
.submit:disabled { opacity: .7; cursor: wait; }
.error { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--err-soft); color: var(--err); font-size: .9rem; }
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .brand { padding: 28px 24px; gap: 10px; }
  .brand h1 { font-size: 1.6rem; margin-top: 0; }
  .lead { font-size: .95rem; }
  .points { margin-top: 6px; }
  .panel { padding: 28px 24px 32px; }
}
