/* Страницы без входа: заглушка «Войти» и сообщения о сбоях доступа.
   Тема — по настройке системы; цвета заданы переменными в одном месте. */

:root {
  color-scheme: light dark;
  --bg: #f6f7f9;
  --fg: #1b1f24;
  --muted: #5b6573;
  --accent: #2f6fed;
  --accent-fg: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171c;
    --fg: #e8ebf0;
    --muted: #9aa5b4;
    --accent: #5b8dff;
    --accent-fg: #0b0e13;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.gate {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  text-align: center;
}

.brand { margin: 0 0 4px; font-size: 2rem; letter-spacing: 0.02em; }
.gate p { margin: 0 0 12px; color: var(--muted); max-width: 32rem; }
.gate form { margin: 0; }

.button {
  display: inline-block;
  min-width: 9rem;
  padding: 10px 24px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-fg);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button:hover { filter: brightness(1.08); }
.button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
