:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e2329;
  background: #f6f7f9;
}

* {
  box-sizing: border-box;
}

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

button,
input {
  font: inherit;
}

button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  color: #ffffff;
  background: #295f8f;
  cursor: pointer;
}

button.secondary {
  color: #1e2329;
  background: #e5e9ee;
}

.login-body {
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(100%, 360px);
}

.login-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  background: #ffffff;
}

.login-form label {
  font-size: 14px;
  color: #4a5563;
}

.login-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #c8d0da;
  border-radius: 6px;
  padding: 8px 10px;
  background: #ffffff;
}

.error {
  margin: 0;
  color: #b42318;
  font-size: 14px;
}

.topbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px max(16px, calc((100vw - 880px) / 2));
  border-bottom: 1px solid #d9dee5;
  background: rgba(246, 247, 249, 0.95);
}

.topbar h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 650;
}

.messages {
  width: min(100% - 32px, 880px);
  margin: 22px auto 48px;
}

.message {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  background: #ffffff;
}

.meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}

.meta dt {
  margin-bottom: 3px;
  font-size: 12px;
  color: #687385;
}

.meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.55;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.empty {
  margin: 48px 0;
  color: #687385;
  text-align: center;
}

@media (max-width: 640px) {
  .meta {
    grid-template-columns: 1fr;
  }
}

