:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #182432;
  background: #f4f7fa;
}

* { box-sizing: border-box; }

body { margin: 0; }

main {
  max-width: 58rem;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.label {
  color: #3d5872;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 .5rem;
}

h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 1.25rem;
}

section {
  background: #fff;
  border: 1px solid #d5e0e9;
  border-radius: .75rem;
  padding: 1rem;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

#status { margin: 0; }

button {
  background: #235aa0;
  color: #fff;
  border: 0;
  border-radius: .4rem;
  font: inherit;
  padding: .5rem .85rem;
  cursor: pointer;
}

button:disabled {
  background: #e6edf4;
  color: #4a6075;
  cursor: default;
}

pre {
  background: #edf3f8;
  border-radius: .4rem;
  margin: 1rem 0 0;
  padding: .85rem;
  overflow: auto;
  font: .875rem/1.6 ui-monospace, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 2px solid #235aa0;
  outline-offset: 3px;
}
