body {
  font-family: Tahoma, "Segoe UI", system-ui, sans-serif;
  background: #f6f7f9;
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.login-card {
  width: 100%;
  max-width: 22rem;
  padding: 2rem;
  border: 0;
  box-shadow: 0 1px 3px rgb(0 0 0 / 12%);
}

.nav-tabs .nav-link {
  border: 0;
  border-bottom: 2px solid transparent;
  color: #6c757d;
}

.nav-tabs .nav-link.active {
  border-bottom-color: #0d6efd;
  color: #0d6efd;
  background: none;
}

/* The destination is the one thing that must never be misread, so it gets a
   letter-spaced key and a colour the table frame repeats. */
.destination-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  background: #fff;
}

.destination-banner .app-key {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.35em;
}

.destination-banner .count {
  margin-inline-start: auto;
  color: #6c757d;
  font-size: 0.875rem;
}

.kind-main .destination-banner,
.destination-banner.kind-main {
  border-color: #198754;
  background: #f0fbf4;
}

.destination-banner.kind-ads {
  border-color: #fd7e14;
  background: #fff8f1;
}

#configs-frame {
  background: #fff;
  border-width: 2px !important;
}

#configs-frame.kind-main {
  border-color: #198754 !important;
}

#configs-frame.kind-ads {
  border-color: #fd7e14 !important;
}

#configs-frame table {
  table-layout: fixed;
}

.config-raw {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  direction: ltr;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 0;
}

.table > :not(caption) > * > * {
  padding: 0.5rem 0.6rem;
}
