body {
  margin: 0;
  background: #f6f7f9;
  color: #1f2933;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: #1167b1;
  text-decoration: none;
}

.topbar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #dde3ea;
  display: flex;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand {
  font-size: 18px;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 16px;
}

.page {
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px;
}

.panel {
  background: #ffffff;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 18px;
}

.grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.metric {
  background: #f9fbfd;
  border: 1px solid #e5ebf1;
  border-radius: 8px;
  padding: 14px;
}

.metric strong {
  display: block;
  font-size: 28px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid #e5ebf1;
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

th {
  color: #53606d;
  font-size: 13px;
}

input,
select,
textarea,
button {
  border: 1px solid #cbd5df;
  border-radius: 6px;
  box-sizing: border-box;
  font: inherit;
  padding: 8px 10px;
}

textarea {
  min-height: 76px;
}

button {
  background: #0f6cbd;
  border-color: #0f6cbd;
  color: #ffffff;
  cursor: pointer;
}

.button-link {
  background: #0f6cbd;
  border-radius: 6px;
  color: #ffffff;
  display: inline-block;
  padding: 9px 14px;
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.muted {
  color: #697784;
}

.error {
  color: #b42318;
}

.login-box {
  margin: 80px auto;
  max-width: 360px;
}
