:root { --bg: #f4f5f3; --panel: #fff; --text: #1d2420; --muted: #66706a; --line: #d3d6cf; --accent: #127a55; --accent-2: #0d5f42; --danger: #b42318; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --bg: #141816; --panel: #1b201d; --text: #e6ebe8; --muted: #a3aea8; --line: #3a423d; --accent: #3cc48d; --accent-2: #5bd6a3; --danger: #f97066; } }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; background: var(--bg); color: var(--text); font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding: 20px; padding-top: max(20px, env(safe-area-inset-top)); }
.box { width: 100%; max-width: 360px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; margin-bottom: 20px; }
.brand img { border-radius: 10px; }
label { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
input { width: 100%; font: inherit; font-size: 17px; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button { width: 100%; margin-top: 14px; font: inherit; font-weight: 650; font-size: 17px; padding: 12px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; cursor: pointer; }
button:active { background: var(--accent-2); }
.err { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); border-radius: 8px; padding: 9px 12px; font-size: 14px; margin-bottom: 14px; font-weight: 600; }
.hint { color: var(--muted); font-size: 13px; text-align: center; margin: 14px 0 0; }
