:root {
  font-family: Arial, sans-serif;
  color: #1f2937;
}

body {
  margin: 0;
  background: #f3f4f6;
}

.container {
  max-width: 980px;
  margin: 24px auto;
  padding: 0 16px;
}

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

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

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

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

button {
  background: #2563eb;
  color: white;
  cursor: pointer;
}

button.secondary {
  background: #6b7280;
}

button.warn {
  background: #dc2626;
}

button.success {
  background: #059669;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.actions {
  display: flex;
  gap: 10px;
}

.full {
  grid-column: 1 / -1;
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.row.between {
  justify-content: space-between;
}

.panel {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
}

.output {
  background: #111827;
  color: #e5e7eb;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  overflow: auto;
  white-space: pre-wrap;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

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

th {
  background: #f9fafb;
  font-weight: 700;
}

.row.inline {
  align-items: flex-end;
}

.hidden {
  display: none;
}
