/* Lan-TERN sign-in pages (login, reset password, signed-in placeholder): the station's dark theme. */
:root {
  --bg: #0d1117; --surface: #151b23; --surface-2: #1c232d; --line: #2a333f;
  --text: #e8edf3; --muted: #8c99a8; --accent: #5aa9ff; --accent-ink: #06121f; --title: #ff8c2e;
  --pass: #3fcf7f; --pass-bg: #10301f; --fail: #ff6b6b; --fail-bg: #3a1618; --warn: #f2c14e; --warn-bg: #33290f;
  --font-title: Bahnschrift, "DIN Alternate", "Barlow", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 "Segoe UI", system-ui, -apple-system, sans-serif; }
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 56px 16px 28px; }
.logo { width: 266px; max-width: 78vw; height: auto; display: block; margin-bottom: 34px; }
.card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
        padding: 26px 26px 18px; }
.card h1 { margin: 0 0 16px; font: 600 21px/1.2 var(--font-title); letter-spacing: .02em; }
.lead { margin: -6px 0 16px; color: var(--muted); font-size: 14px; }
label { display: block; margin: 12px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
        color: var(--muted); font-family: var(--font-title); }
.opt { text-transform: none; letter-spacing: 0; }
input, textarea { width: 100%; padding: 11px 12px; font: inherit; color: var(--text); background: var(--bg);
                  border: 1px solid var(--line); border-radius: 8px; }
textarea { resize: vertical; min-height: 76px; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.pw { position: relative; }
.pw input { padding-right: 66px; }
.show { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 5px 10px; font: 600 12.5px var(--font-title);
        color: var(--muted); background: transparent; border: 0; border-radius: 6px; cursor: pointer; }
.show:hover { color: var(--text); background: var(--surface-2); }
button.primary { width: 100%; margin-top: 20px; padding: 12px; font: 700 15px var(--font-title); letter-spacing: .03em;
                 color: var(--accent-ink); background: var(--accent); border: 0; border-radius: 8px; cursor: pointer; }
button.primary:disabled { opacity: .55; cursor: progress; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.links { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px;
         border-top: 1px solid var(--line); font-size: 14px; }
.links.single { justify-content: center; }
.links a { color: var(--accent); text-decoration: none; }
.links a:hover { text-decoration: underline; }
.error { margin: 14px 0 0; padding: 9px 12px; border-radius: 8px; background: var(--fail-bg); color: var(--fail); font-size: 14px; }
.notice { margin: -4px 0 6px; padding: 9px 12px; border-radius: 8px; background: var(--warn-bg); color: var(--warn); font-size: 14px; }
.notice.ok { background: var(--pass-bg); color: var(--pass); }
.done p { margin: 0; padding: 12px 14px; border-radius: 8px; background: var(--pass-bg); color: var(--pass); font-size: 14.5px; }
.done strong { color: var(--text); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.by { margin-top: auto; padding-top: 40px; display: flex; align-items: center; gap: 10px; font-size: 11px;
      letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.by img { height: 14px; width: auto; display: block; }
.who { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.who strong { color: var(--text); }
.signout { display: inline-block; margin-top: 18px; color: var(--accent); text-decoration: none; }
.signout:hover { text-decoration: underline; }
[hidden] { display: none !important; }
@media (max-width: 420px) { .card { padding: 22px 18px 16px; } .auth { padding-top: 36px; } }
