html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f4f6f9;
  color: #111827;
  font-family: "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
}

.topbar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #d9e0ea;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px 30px;
}

.brand {
  align-items: center;
  color: #0f172a;
  display: inline-flex;
  font-weight: 700;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 34px;
  object-fit: contain;
  width: auto;
}

.account-area {
  align-items: center;
  display: flex;
  gap: 16px;
}

.identity {
  display: grid;
  line-height: 1.25;
  text-align: right;
}

.identity span {
  color: #4b5b76;
  font-size: .9rem;
}

.shell {
  margin: 0 auto;
  max-width: 1120px;
  padding: 42px 24px;
}

.page-heading,
.login-panel {
  max-width: 760px;
}

.eyebrow {
  color: #007a89;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

h1 {
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: 0;
  margin: 0 0 12px;
}

p {
  color: #40516d;
}

.metric-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.metric-card,
.login-panel {
  background: #ffffff;
  border: 1px solid #d4dce8;
  border-radius: 8px;
}

.metric-card {
  min-height: 170px;
  padding: 22px;
}

.metric-card span {
  display: block;
  font-weight: 700;
  margin-bottom: 18px;
}

.metric-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
}

.login-panel {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding: 30px;
}

.primary-action,
.secondary-action {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  text-decoration: none;
  width: fit-content;
}

.primary-action {
  background: #007a89;
  color: #ffffff;
}

.secondary-action {
  background: #eef3f8;
  border: 1px solid #cfd9e6;
  color: #007a89;
}

button.secondary-action {
  cursor: pointer;
}

.login-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 6px;
  color: #9f1239;
  margin: 0;
  padding: 10px 12px;
}

@media (max-width: 760px) {
  .topbar,
  .account-area {
    align-items: flex-start;
    flex-direction: column;
  }

  .identity {
    text-align: left;
  }

  .shell {
    padding: 28px 16px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }
}
