:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 24px;
  max-width: 980px;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-weight: 600;
}

p {
  margin: 0 0 12px;
}

ol,
ul {
  margin: 0 0 12px 20px;
  padding: 0;
}

.grid {
  display: grid;
  gap: 12px;
}

.layout--one .grid {
  grid-template-columns: 1fr;
}

.layout--two .grid {
  grid-template-columns: 1fr 1fr;
}

.box,
.instruction,
.observation {
  border: 1px solid #ccc;
  flex: 1;
  margin: 12px 0;
  padding: 16px;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.row {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

label {
  font-size: 14px;
}

textarea,
input[type="text"],
input[type="number"] {
  /* width: 100%; */
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
}

textarea {
  min-height: 96px;
  padding: 8px;
}

button {
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
}

.log,
.state {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  background: #f5f5f5;
  border: 1px solid #ccc;
  padding: 12px;
  /* white-space: pre-wrap; */
}

.log {
  height: 200px;
  margin-top: 8px;
  overflow-y: auto;
}

.log--short {
  height: 220px;
}

.log--medium {
  height: 300px;
}

.log--tall {
  height: 320px;
}

.state {
  min-height: 80px;
}

.meta {
  font-size: 13px;
  color: #333;
}

.pill {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid #ccc;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
}

@media (min-width: 900px) {
  .layout--two .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 899px) {
  .layout--two .grid {
    grid-template-columns: 1fr;
  }
}
