/* Sloppotron garbage CSS, almost not better than nothing. */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #ccc8c0;
  background: #181816;
  padding: 2rem 2.5rem;
  max-width: 70rem;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #eae7e0;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #eae7e0;
  margin-bottom: 0.6rem;
}

section {
  background: #21201d;
  border: 1px solid #2e2d29;
  border-radius: 5px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.25rem;
}

dl {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.1rem 1.5rem;
}

dt {
  font-weight: 500;
  color: #8a8680;
  padding: 0.3rem 0;
}

dd {
  padding: 0.3rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6e6b65;
  text-align: left;
  padding: 0 1.2rem 0.5rem 0;
  border-bottom: 1px solid #2e2d29;
}

td {
  padding: 0.5rem 1.2rem 0.5rem 0;
  border-bottom: 1px solid #262522;
}

tbody tr:last-child td {
  border-bottom: none;
}

a {
  color: #ccc8c0;
  text-decoration: underline;
  text-decoration-color: #4a4840;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-color: #8a8680;
}

td {
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-container {
  margin-top: 1.25rem;
}

.form-container section {
  max-width: 28rem;
}

form div.errors {
  background-color: #200;
  border: 1px solid #400;
  padding: 1em;
  margin-bottom: 1em;
}

.field {
  margin-bottom: 0.85rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #8a8680;
  margin-bottom: 0.25rem;
}

.field input {
  font: inherit;
  width: 100%;
  padding: 0.45rem 0.6rem;
  border: 1px solid #2e2d29;
  border-radius: 4px;
  background: #181816;
  color: #eae7e0;
}

.field textarea {
  font: inherit;
  width: 100%;
  padding: 0.45rem 0.6rem;
  height: 7em;
  border: 1px solid #2e2d29;
  border-radius: 4px;
  background: #181816;
  color: #eae7e0;
}

.field input:focus {
  outline: none;
  border-color: #5a5650;
  box-shadow: 0 0 0 2px rgba(90, 86, 80, 0.2);
}

button[type="submit"] {
  font: inherit;
  font-weight: 600;
  padding: 0.5rem 1.4rem;
  background: #eae7e0;
  color: #181816;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: #d6d3cb;
}
