:root { color-scheme: light; --ink: #0f172a; --muted: #64748b; --line: #e2e8f0; --accent: #0f766e; }
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 24px;
  font: 15px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: #f6f7f9;
}
.card {
  width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 32px; box-shadow: 0 1px 2px rgb(15 23 42 / .04), 0 12px 32px -12px rgb(15 23 42 / .12);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -.01em; }
.brand .dim { color: var(--muted); font-weight: 500; }
.mark { width: 18px; height: 18px; border-radius: 5px; background: var(--accent); }
h1 { font-size: 22px; letter-spacing: -.02em; margin: 28px 0 2px; }
.sub { margin: 0 0 20px; color: var(--muted); }
label { display: block; font-size: 13px; font-weight: 500; margin: 14px 0 6px; }
input {
  width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: inherit; background: #fff;
}
input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
button {
  width: 100%; height: 42px; margin-top: 22px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--ink); color: #fff; font: inherit; font-weight: 600;
}
button:hover { background: #1e293b; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.err {
  margin: 0 0 4px; padding: 10px 12px; border-radius: 10px; font-size: 14px;
  background: #fef2f2; color: #991b1b; border: 1px solid #fecaca;
}
