/* The portal server's own small pages (start + set password) - the portal's calm light look, no web fonts. */
:root { --bg: #eef0ef; --panel: #ffffff; --ink: #17191c; --ink-2: #5a5f66; --ink-3: #8a8f96; --line: #dfe2e4; --accent: #3a56d4; --bad: #b3261e; --good: #2d821f; }
@media (prefers-color-scheme: dark) { :root { --bg: #111317; --panel: #1a1d22; --ink: #eceef0; --ink-2: #b4b9c0; --ink-3: #868b93; --line: #2c3037; --accent: #7d93ff; --bad: #ff8a80; --good: #8fd47e; } }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; background: var(--bg); color: var(--ink);
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; padding: 16px; }
.card { width: 100%; max-width: 380px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px 22px; box-shadow: 0 18px 50px rgba(0,0,0,.08); }
.brand { display: flex; flex-direction: column; line-height: 1; margin-bottom: 22px; letter-spacing: .12em; }
.brand b { font-size: 18px; } .brand span { font-size: 9px; color: var(--ink-2); margin-top: 3px; }
h1 { font-size: 24px; margin: 0 0 6px; letter-spacing: -.01em; }
.intro { color: var(--ink-2); font-size: 13.5px; margin: 0 0 18px; }
label { display: block; margin-bottom: 12px; }
label span { display: block; font-size: 11.5px; color: var(--ink-3); margin-bottom: 4px; }
label[hidden] { display: none; }
input { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); }
input:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button[type=submit] { width: 100%; margin-top: 6px; padding: 12px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: 600 14px/1 inherit; cursor: pointer; }
button[type=submit]:disabled { opacity: .6; cursor: default; }
button.link { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font: 13px inherit; cursor: pointer; }
.msg { font-size: 13px; color: var(--bad); margin: 2px 0 8px; } .msg.ok { color: var(--good); }
.langs { display: flex; gap: 4px; margin-top: 20px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.langs button { flex: 1; padding: 6px 0; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font: 600 12px inherit; cursor: pointer; }
.langs button.on { background: var(--bg); color: var(--ink); }
.foot { display: flex; justify-content: space-between; margin: 14px 0 0; font-size: 11.5px; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
