body {
  font-family: Arial, sans-serif;
  background: #f6f7f9;
  color: #222;
}

.container {
  max-width: 860px;
  margin: 40px auto;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.brand-header {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

h1 { margin-top: 0; }

.row {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
}

label { font-weight: 600; margin-bottom: 6px; }

input, select, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

textarea { font-family: monospace; }

.button {
  display: inline-block;
  background: #0b63f6;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.button.secondary {
  background: #e9edf5;
  color: #1f2a44;
}

.error { color: #b00020; }

.qr { margin: 12px 0; }

.field-editor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.field-row {
  border: 1px solid #e2e6ee;
  border-radius: 8px;
  padding: 10px;
  background: #fafbfe;
}

.field-row label {
  margin-bottom: 6px;
  font-size: 13px;
}

.field-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  align-self: flex-start;
}

.field-row textarea {
  min-height: 88px;
}

.field-row.field-error {
  border-color: #dc2626;
  background: #fff5f5;
}

.inline-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toggle-label {
  font-weight: 500;
  font-size: 13px;
  color: #374151;
}

.toggle-label input {
  margin-right: 6px;
}

.muted {
  color: #6b7280;
  font-size: 13px;
}

.field-hints {
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.chip-group-label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin-right: 6px;
}

.field-chip {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font-size: 12px;
  padding: 4px 10px;
  background: #fff;
  cursor: pointer;
}

.field-chip.required {
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.field-chip.optional {
  border-color: #6b7280;
  color: #374151;
}

pre {
  background: #f1f3f5;
  padding: 12px;
  border-radius: 8px;
  overflow: auto;
}

.schedule-box {
  border: 1px solid #e2e6ee;
  background: #fafbfe;
  border-radius: 8px;
  padding: 10px;
  white-space: pre-wrap;
  font-family: monospace;
  font-size: 13px;
}
