/* Minimal custom styling */
body {
  font-family: system-ui, sans-serif;
  padding: 1rem;
  background: #f8f9fa;
  color: #212529;
}

h1 {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

input,
textarea {
  width: 100%;
  padding: 0.5rem;
  font: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

textarea {
  min-height: 5rem;
  resize: vertical;
}

a.btn,
button {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
  background-color: #0d6efd;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
}

a.btn:hover,
button:hover {
  background-color: #0b5ed7;
  text-decoration: none;
}

.kv {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
}

.small {
  overflow-wrap: anywhere;
}

.k {
  overflow-wrap: anywhere;
  font-weight: 600;
}

.item-buttons {
  align-self: end;
}

.msg {
  margin-top: 1rem;
}

.dropzone {
  border: 2px dashed #ccc;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  white-space: pre-line;
}

.log {
  white-space: pre;
  background: #eee;
  padding: 1rem;
  max-height: 200px;
  overflow-y: auto;
}
