html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f5f5;
  color: #222;
}

body {
  padding: 1rem;
}

h1,
h2,
h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-header {
  margin-bottom: 1rem;
}

.page-header small {
  display: block;
  margin-top: 0.25rem;
  color: #666;
}


.section {
  background-color: #fff;
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.section-header h2,
.section-header h3 {
  margin: 0;
}

.section-body {
  font-size: 0.9rem;
}

.btn {
  border-radius: 4px;
  border: 1px solid #9b9ea1;
  cursor: pointer;
}

.btn:hover {
  border: 1px solid #9d9f9d;
}

.field-group {
  margin-bottom: 0.5rem;
}

.field-group label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.125rem;
  color: #555;
}

.field-group input,
.field-group textarea,
.field-group select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 0.85rem;
}

.field-row {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.field-row > * {
  flex: 1 1 auto;
}

.field-row .btn {
  white-space: nowrap;
  flex: 0 0 auto;
}

.output {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.8rem;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ddd;
  background-color: #fafafa;
  max-height: 200px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}


.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.stack .btn {
  flex: 1 1 160px;
}

.small-text {
  font-size: 0.75rem;
  color: #666;
}

.danger-text {
  color: #c82333;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0.75rem;
}

@media (max-width: 768px) {
  body {
    padding: 0.5rem;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

