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

::selection {
  background: #000;
  color: #fff;
}

body {
  padding: 16px;
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.3;
}

.app-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.form-field__label {
  display: block;
  font-weight: bold;
}

.form-field__description {
  margin-bottom: 8px;
}

.form-field__input {
  display: block;
}

.form button[type="submit"] {
  padding: 32px;
}

.outputs {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
  gap: 16px;
}

@media (min-width: 768px) {
  .outputs {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
  }

  .output {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 0;
  }
}

.output {

}

.output__title {
  font-weight: bold;
}

.output__count {
  margin-bottom: 4px;
}

.output__content {
  display: block;
  width: 100%;
  border: 1px solid #000;
  border-radius: 4px;
  min-height: 150px;
  white-space: nowrap;
  font-size: 0.75rem;
  padding: 4px;
}

.log__title {
  font-weight: bold;
  margin-bottom: 4px;
}

.log__content {
  padding: 4px;
  border: 1px solid #000;
  border-radius: 4px;
  white-space: wrap;
  font-size: 0.75rem;
}

footer {
  margin-top: 50px;
}

footer a {
  color: #144b96;
}