:root {
  color: #172f28;
  background: #f2f5ef;
  font: 1rem/1.5 system-ui, sans-serif;
}

main {
  margin: 8vh auto;
  max-width: 32rem;
  padding: 0 1.25rem;
}

main:has(> #hub-overview) {
  margin-block: clamp(1rem, 4vh, 3rem);
  max-width: 76rem;
}

h1 {
  font: 2.5rem/1.1 Georgia, serif;
  overflow-wrap: anywhere;
}

h2 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

section {
  background: white;
  border: 1px solid #c5d2c8;
  border-radius: .75rem;
  margin: 1rem 0;
  padding: 1.25rem;
}

form {
  display: grid;
  gap: .55rem;
}

input, textarea, select, button {
  border: 1px solid #849c8d;
  border-radius: .35rem;
  font: inherit;
  padding: .55rem .75rem;
}

button {
  background: #245846;
  border-color: #245846;
  color: white;
  cursor: pointer;
  justify-self: start;
  margin-top: .4rem;
}

a {
  color: #175b43;
}

:focus-visible {
  outline: 2px solid #256b54;
  outline-offset: 2px;
}

code {
  background: #eef4ef;
  display: block;
  overflow-wrap: anywhere;
  padding: .75rem;
  user-select: all;
}

.error {
  color: #93272c;
}

.channel-member {
  align-items: start;
  display: flex;
  gap: .5rem;
  margin: .35rem 0;
  overflow-wrap: anywhere;
}

.channel-member small {
  display: block;
}

button:disabled {
  cursor: default;
  opacity: .6;
}

.table-scroll {
  overflow-x: auto;
}

#hub-overview table {
  width: 100%;
}

.table-scroll td,
.table-scroll th {
  padding: 0.4rem 0.6rem;
  text-align: left;
  vertical-align: top;
}
