body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #f4f4f4;
  color: #111;
}

#app {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px;
}

h1,
h2 {
  margin: 0 0 16px;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 18px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

label {
  display: block;
  margin-bottom: 14px;
  font-size: 14px;
}

input,
textarea,
button {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

button {
  background: #111;
  color: #fff;
  border: none;
}

button.secondary {
  background: #666;
}

button.small {
  width: auto;
  padding: 8px 14px;
}

.hidden {
  display: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}

th,
td {
  padding: 10px;
  border: 1px solid #eee;
  text-align: left;
}

th {
  background: #fafafa;
}

.message {
  margin-top: 10px;
  color: #a00;
}

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

.form-actions {
  display: flex;
  gap: 12px;
}

.form-actions button {
  flex: 1;
}
