body {
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  margin: 0;
  color: #222;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #ddd;
}

nav form { margin: 0; }
.brand { font-weight: bold; text-decoration: none; color: inherit; }

main {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem;
}

.flash { padding: 0.5rem 0.75rem; margin-bottom: 1rem; border-radius: 4px; }
.flash.notice { background: #e6f4ea; color: #1e5b2f; }
.flash.alert { background: #fdecea; color: #8a1f17; }

table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid #ddd; padding: 0.4rem 0.6rem; text-align: left; }

form p, form div.field { margin: 0 0 0.75rem; }
input[type=email], input[type=password], input[type=text], textarea, select {
  padding: 0.35rem;
  margin-bottom: 0.5rem;
  max-width: 100%;
}

.link-button {
  background: none;
  border: 0;
  padding: 0;
  color: #0645ad;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.topic-queries .actions { white-space: nowrap; }
.topic-queries .actions form { display: inline; }
.hint { color: #666; font-size: 0.9em; }
.hint.warning { background: #fff8e1; padding: 0.5rem 0.75rem; border-radius: 4px; color: #5c4400; }
.errors { background: #fdecea; color: #8a1f17; padding: 0.5rem 0.75rem; border-radius: 4px; margin-bottom: 1rem; }

.destinations .actions, .pull-runs .actions { white-space: nowrap; }
.destinations .actions form { display: inline; }
.hint.warning { display: inline-block; }
.problems { background: #fdecea; color: #8a1f17; padding: 0.5rem 0.75rem; border-radius: 4px; }
