:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #161616;
  background: #f4f4f1;
}

* { box-sizing: border-box; }

body { margin: 0; }

.auth-page {
  min-height: 100vh;
  background: #f4f4f1;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-panel {
  width: min(100%, 390px);
  padding: 32px;
  background: #fff;
  border: 1px solid #deded8;
}

.auth-brand {
  display: grid;
  gap: 6px;
  margin-bottom: 28px;
}

.auth-brand strong {
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.auth-brand span,
.auth-description,
.auth-panel footer,
.auth-session {
  color: #686863;
}

.auth-brand span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-message {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #f4f4f1;
  font-size: 13px;
}

.auth-description {
  margin: 0 0 22px;
  font-size: 15px;
}

.auth-primary {
  display: block;
  width: 100%;
  padding: 12px 16px;
  color: #fff;
  background: #171717;
  border: 1px solid #171717;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.auth-primary:hover { background: #30302e; }
.auth-primary:focus-visible { outline: 2px solid #171717; outline-offset: 3px; }

.auth-panel footer {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.auth-session {
  position: fixed;
  z-index: 20;
  top: 14px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}

.auth-session button {
  appearance: none;
  padding: 4px 7px;
  color: #686863;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.auth-session button:hover { color: #161616; }
.auth-session button:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }

@media (max-width: 640px) {
  .auth-panel { padding: 26px 22px; }
  .auth-session span { display: none; }
}
