:root {
  color: #21322e;
  background: #f2f4ed;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.site-header {
  border-bottom: 1px solid #d3dcd2;
  padding: 1rem max(1.25rem, calc((100% - 60rem) / 2));
}

.brand {
  color: #21322e;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.panel {
  width: min(32rem, calc(100% - 2.5rem));
  margin: clamp(2rem, 10vh, 7rem) auto;
  padding: clamp(1.25rem, 5vw, 2.5rem);
  background: #fff;
  border: 1px solid #d3dcd2;
  border-radius: 0.75rem;
}

h1,
h2 {
  line-height: 1.2;
  margin: 0 0 1rem;
}

button,
.button {
  display: inline-block;
  width: fit-content;
  padding: 0.55rem 1rem;
  border: 1px solid #155747;
  border-radius: 0.35rem;
  background: #155747;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
}

button:disabled {
  opacity: 0.65;
  cursor: default;
}

.secondary {
  color: #155747;
  background: #fff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

form {
  display: grid;
  gap: 0.55rem;
}

label,
dt {
  font-weight: 650;
}

input {
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #8c9f97;
  border-radius: 0.35rem;
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 2px solid #126d56;
  outline-offset: 2px;
}

dd {
  margin: 0 0 0.8rem;
}

.identifier {
  font-family: ui-monospace, monospace;
  overflow-wrap: anywhere;
}

.status {
  min-height: 1.6rem;
  margin: 0;
}

#diagnostics {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #d3dcd2;
}
