:root {
  color-scheme: dark;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  background: #071824;
  color: #eef6ff;
}

* {
  box-sizing: border-box;
}

.owner-auth {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #071824;
}

.owner-auth main {
  width: min(100%, 440px);
  padding: 40px;
  border: 1px solid #24465c;
  background: #0c2231;
}

.owner-auth__eyebrow {
  color: #62b8f4;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.owner-auth h1 {
  margin: 16px 0 8px;
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 500;
}

.owner-auth__intro {
  color: #a9bdcc;
  line-height: 1.6;
}

.owner-auth__error {
  padding: 12px;
  border-left: 3px solid #ff6b64;
  color: #ffd5d2;
  background: #321a20;
}

.owner-auth form {
  display: grid;
  gap: 20px;
  margin: 28px 0 20px;
}

.owner-auth label {
  display: grid;
  gap: 8px;
  color: #a9bdcc;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.owner-auth input {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #31556c;
  border-radius: 0;
  color: #eef6ff;
  background: #071824;
  font: inherit;
}

.owner-auth button {
  min-height: 48px;
  border: 1px solid #62b8f4;
  color: #071824;
  background: #62b8f4;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.owner-auth a {
  color: #62b8f4;
}

.owner-session-link {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  padding: 7px 10px;
  border: 1px solid #31556c;
  color: #8aa4b8;
  background: #071824;
  font:
    700 0.68rem / 1 "IBM Plex Mono",
    "SFMono-Regular",
    Consolas,
    monospace;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.owner-session-link:focus-visible,
.owner-session-link:hover {
  border-color: #62b8f4;
  color: #62b8f4;
}

@media (max-width: 520px) {
  .owner-auth main {
    padding: 28px 22px;
  }
}
