/* Khazad — page de connexion. Mêmes repères que la console : graphite froid, filets, angles vifs. */
:root {
  color-scheme: dark;
  --bg-0: #0a0d10;
  --bg-1: #0f1419;
  --bg-2: #161c23;
  --line: #222b35;
  --line-strong: #34414f;
  --ink: #e6ebf0;
  --ink-2: #a3b0bd;
  --ink-3: #7f8c9a;
  --accent: #5aa7ff;
  --accent-ink: #06121f;
  --risk-4: #ffc061;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg-0); color: var(--ink); display: flex; flex-direction: column; }
h1, p { margin: 0; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.bar {
  flex: none; height: 44px; display: flex; align-items: baseline; gap: 14px; padding: 13px 14px 0;
  background: var(--bg-1); border-bottom: 1px solid var(--line);
}
.wordmark { font-stretch: 110%; font-weight: 700; font-size: 14px; letter-spacing: 0.22em; text-transform: uppercase; }
.descriptor { color: var(--ink-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

main { flex: 1; display: grid; place-items: center; padding: 24px 16px 12vh; }
.gate { width: min(340px, 100%); display: flex; flex-direction: column; }
.gate h1 {
  font-stretch: 78%; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
  padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.gate label {
  font-stretch: 78%; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
  margin: 16px 0 6px;
}
.gate input {
  height: 34px; padding: 0 10px; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 0;
  caret-color: var(--accent);
}
.gate input:hover { border-color: var(--ink-3); }
.gate input:focus-visible { outline: none; border-color: var(--accent); }
.gate button {
  height: 36px; margin-top: 22px; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 0;
  font-weight: 600; letter-spacing: 0.02em; cursor: pointer;
}
.gate button:hover { background: #7ab8ff; }
.gate button:active { background: #4a95ea; }
.message { margin-top: 14px; padding: 8px 10px; border-left: 2px solid var(--risk-4); background: var(--bg-1); color: var(--ink); }
.note { margin-top: 18px; color: var(--ink-3); font-size: 12px; }
