:root {
  color-scheme: light;
  font-family: Segoe UI, Arial, sans-serif;
  color: #1f2933;
  background: #f4f7f6;
}

body {
  margin: 0;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

h1, h2, p {
  margin-top: 0;
}

h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

h2 {
  font-size: 18px;
}

#status {
  padding: 8px 12px;
  border-radius: 6px;
  background: #dbeafe;
  color: #164e63;
  white-space: nowrap;
}

.toolbar,
form,
section {
  background: #ffffff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 20px;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  background: transparent;
  border: 0;
  margin-bottom: 20px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

small {
  color: #627d98;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #bcccdc;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
}

select,
textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #bcccdc;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
}

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

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.check input {
  width: auto;
}

button {
  border: 0;
  border-radius: 6px;
  padding: 11px 14px;
  font: inherit;
  font-weight: 700;
  color: white;
  background: #0f766e;
  cursor: pointer;
}

button:hover {
  background: #115e59;
}

pre {
  overflow: auto;
  background: #102a43;
  color: #e6fffa;
  border-radius: 8px;
  padding: 16px;
  min-height: 220px;
}

@media (max-width: 760px) {
  main {
    padding: 20px;
  }

  header,
  .toolbar,
  .grid {
    grid-template-columns: 1fr;
    display: grid;
  }
}
