:root {
  color-scheme: light;
  --ink: #142e30;
  --muted: #425d5f;
  --paper: #f4f7f4;
  --surface: #fff;
  --accent: #076858;
  --line: #778b88;
  --radius: .4rem;
  --gap: 1rem;
  font:
    100%/1.55 'IBM Plex Sans',
    system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  overflow-wrap: anywhere;
  margin: 0;
}
header,
main {
  padding: 1rem max(5vw, calc((100vw - 76rem)/2));
}
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap);
  background: var(--ink);
  color: white;
}
header strong {
  letter-spacing: 0.1em;
}
main {
  padding-block: clamp(2rem, 5vw, 4rem);
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font:
    normal clamp(2.2rem, 5vw, 4rem)/1.15 Georgia,
    serif;
}
p,
footer {
  max-width: 70ch;
  color: var(--muted);
}
form,
section,
main,
label {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}
.panels,
.controls,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}
section {
  flex: 1 1 20rem;
  min-width: 0;
  background: var(--surface);
  padding: 1.25rem;
  border-radius: var(--radius);
}
label {
  max-width: 100%;
  font-size: 0.9rem;
  gap: 0.25rem;
}
button,
select,
textarea {
  font: inherit;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.5rem 0.75rem;
}
button,
select {
  max-width: 100%;
  min-height: 2.75rem;
}
textarea {
  width: 100%;
  height: 18rem;
  resize: vertical;
  font:
    1rem/1.55 'IBM Plex Mono',
    monospace;
}
button {
  cursor: pointer;
}
button:hover,
select:hover {
  border-color: var(--ink);
}
#run {
  background: var(--accent);
  color: white;
  font-weight: 650;
}
button:disabled,
button[aria-disabled='true'] {
  opacity: 0.55;
  cursor: default;
}
.actions {
  align-items: center;
}
.skip {
  position: absolute;
  transform: translateY(-150%);
  background: white;
}
.skip:focus {
  transform: none;
}
:focus-visible {
  outline: 3px solid #2076bb;
  outline-offset: 2px;
}
footer {
  font-size: 0.875rem;
}
