:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #f3f6f8;
  color: #18232d;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem max(1rem, calc((100vw - 1100px) / 2));
  background: #102a43;
  color: #fff;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 1.55rem;
}

h2 {
  font-size: 1.05rem;
}

.eyebrow {
  margin-bottom: 0.25rem;
  color: #9fb3c8;
  font-size: 0.75rem;
  text-transform: uppercase;
}

header a {
  color: #fff;
}

main {
  width: min(1100px, calc(100% - 2rem));
  margin: 1rem auto 3rem;
}

section {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #d8e0e7;
  border-radius: 8px;
  background: #fff;
}

.access,
.actions,
.section-heading {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section-heading {
  justify-content: space-between;
  align-items: start;
}

.section-heading p {
  margin-bottom: 0;
  color: #526575;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
}

input,
textarea,
button {
  min-height: 38px;
  border: 1px solid #829ab1;
  border-radius: 5px;
  font: inherit;
}

input,
textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  background: #fff;
  color: inherit;
}

textarea {
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
}

button {
  cursor: pointer;
  padding: 0.5rem 0.85rem;
  border-color: #146c94;
  background: #146c94;
  color: #fff;
}

button.secondary {
  border-color: #526d82;
  background: #526d82;
}

#status {
  color: #526575;
}

#status.ok {
  color: #147d64;
}

#status.error {
  color: #b42318;
}

code {
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  header {
    align-items: start;
  }

  .access > label {
    width: 100%;
  }
}
