
:root {
  color-scheme: light dark;
  --bg: #f2f2f7; --card: #ffffff; --text: #1c1c1e; --muted: #6e6e73;
  --field: #f2f2f7; --border: #d1d1d6; --accent: #0a7f6f; --accent-text: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --card: #1c1c1e; --text: #f2f2f7; --muted: #98989f;
    --field: #2c2c2e; --border: #3a3a3c; --accent: #30c2a8; --accent-text: #00201b;
  }
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  display: grid; place-items: center; padding: 24px;
  background: var(--bg); color: var(--text);
  font: 17px/1.4 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main {
  width: 100%; max-width: 360px; padding: 32px 24px 28px;
  background: var(--card); border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
}
.mark {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-text);
  font-size: 28px; font-weight: 700;
}
h1 { margin: 0 0 4px; font-size: 28px; font-weight: 700; text-align: center; letter-spacing: -0.01em; }
p.sub { margin: 0 0 24px; color: var(--muted); text-align: center; font-size: 15px; }
label { display: block; margin: 0 0 8px; font-size: 15px; color: var(--muted); }
input[type=password] {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--text);
  background: var(--field); border: 1px solid var(--border); border-radius: 12px; outline: none;
}
input[type=password]:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
button {
  width: 100%; min-height: 50px; margin-top: 16px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--accent); color: var(--accent-text); font: inherit; font-weight: 600;
}
button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.notice { margin: 12px 0 0; font-size: 15px; color: var(--text); text-align: center; }
