:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #151922;
  --muted: #657084;
  --border: #dfe4ec;
  --blue: #1f6fd1;
  --green: #248f64;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0;
}

header {
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

h1, h2 {
  margin: 0;
}

h1 {
  font-size: 42px;
}

h2 {
  font-size: 18px;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 16px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

input, textarea, button {
  width: 100%;
  font: inherit;
}

input, textarea {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
}

label {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 12px 0;
  color: var(--muted);
}

label input {
  width: auto;
  margin: 0;
}

button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  padding: 0 14px;
}

.panel-head button {
  width: auto;
  background: #e9eef7;
  color: var(--text);
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #101723;
  color: #e8f0ff;
  border-radius: 8px;
  padding: 14px;
  min-height: 92px;
  overflow: auto;
}

@media (max-width: 760px) {
  main {
    width: min(100% - 20px, 1120px);
    padding: 24px 0;
  }

  h1 {
    font-size: 32px;
  }

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