:root { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
body { margin: 0; background: #0b0c10; color: #e6e6e6; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 18px; }
header { margin-bottom: 14px; }
.title { font-size: 20px; font-weight: 700; }
.subtitle { opacity: .8; font-size: 13px; }

.grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; margin-top: 12px; }

.card { background: #12141a; border: 1px solid #222533; border-radius: 10px; padding: 12px; }
h3 { margin: 0 0 10px 0; font-size: 14px; }
.muted { opacity: .75; font-size: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.spacer { flex: 1; }

input[type="text"], textarea, input[type="file"] {
  width: 100%; box-sizing: border-box;
  background: #0f1117; color: #e6e6e6;
  border: 1px solid #2a2e3d; border-radius: 8px;
  padding: 10px; outline: none;
}
textarea { resize: vertical; }

button {
  margin-top: 8px;
  background: #1f6feb; color: white;
  border: none; border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
}
button:disabled { opacity: .5; cursor: not-allowed; }

.dropzone {
  border: 1px dashed #2a2e3d; border-radius: 10px;
  padding: 18px; text-align: center;
  background: #0f1117;
}
.dropzone.hover { border-color: #1f6feb; }

.list { display: flex; flex-direction: column; gap: 8px; }
.item {
  padding: 10px; border: 1px solid #2a2e3d; border-radius: 8px;
  cursor: pointer; background: #0f1117; font-size: 12px;
}
.item.active { border-color: #1f6feb; }

.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th, .table td { border-bottom: 1px solid #222533; padding: 8px; text-align: left; vertical-align: top; }
.table thead th { opacity: .8; font-weight: 600; }

.textview {
  background: #0f1117; border: 1px solid #2a2e3d; border-radius: 10px;
  padding: 10px; max-height: 320px; overflow: auto; font-size: 12px;
  white-space: pre-wrap;
}

footer { margin-top: 10px; }
@media (max-width: 1100px) {
  .grid { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
}
