:root {
  color: #17202a;
  background: #f4f7f9;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

.page-shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 32px;
}

.status-panel {
  background: #ffffff;
  border: 1px solid #d8e1e8;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(23, 32, 42, 0.08);
  max-width: 720px;
  padding: 40px;
  width: 100%;
}

.eyebrow {
  color: #2f6f73;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.05;
  margin: 0 0 32px;
}

.status-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.status-list div {
  align-items: center;
  border-top: 1px solid #e5ecef;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(120px, 0.45fr) 1fr;
  padding-top: 12px;
}

dt {
  color: #586875;
  font-weight: 700;
}

dd {
  margin: 0;
}

.auth-panel {
  max-width: 520px;
}

.auth-form {
  display: grid;
  gap: 18px;
}

label {
  color: #344551;
  display: grid;
  font-weight: 700;
  gap: 8px;
}

input {
  border: 1px solid #c7d4dc;
  border-radius: 6px;
  color: #17202a;
  font: inherit;
  padding: 12px 14px;
  width: 100%;
}

input:focus {
  border-color: #2f6f73;
  outline: 3px solid rgba(47, 111, 115, 0.16);
}

.primary-button {
  background: #2f6f73;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 13px 18px;
}

.primary-button:hover {
  background: #255a5d;
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.primary-button.compact {
  padding: 10px 14px;
}

.secondary-link {
  color: #2f6f73;
  font-weight: 700;
  text-decoration: none;
}

.secondary-link:hover {
  text-decoration: underline;
}

.action-row {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 28px;
}

.auth-message {
  color: #586875;
  margin: 18px 0 0;
}

.auth-message[data-type="error"] {
  color: #a33b2f;
  font-weight: 700;
}

.auth-message[data-type="success"] {
  color: #2f6f73;
  font-weight: 700;
}

@media (max-width: 560px) {
  .page-shell {
    padding: 20px;
  }

  .status-panel {
    padding: 28px;
  }

  .status-list div {
    grid-template-columns: 1fr;
  }

  .action-row {
    align-items: stretch;
    flex-direction: column;
  }
}
