* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f5f6f8;
  color: #1c1f24;
}

#app {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 24px 40px;
}

header {
  padding: 24px;
  background: #111827;
  color: #f9fafb;
  border-radius: 14px;
  margin-bottom: 24px;
}

header .title {
  font-size: 28px;
  font-weight: 700;
}

header .sub {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 6px;
}

.panel {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 18px;
}

h2 {
  margin-top: 0;
  font-size: 18px;
}

.row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

label {
  font-weight: 600;
}

input,
textarea,
select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d0d7e2;
  font-size: 14px;
  min-width: 220px;
  flex: 1;
}

textarea {
  width: 100%;
  min-height: 200px;
  resize: vertical;
}

button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #1d4ed8;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.list-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
}

.list-info {
  flex: 1;
}

.list-actions {
  display: flex;
  gap: 8px;
}

.meta {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 12px;
  border-radius: 10px;
  min-height: 80px;
  overflow: auto;
}

@media (max-width: 768px) {
  .list-item {
    flex-direction: column;
  }

  .list-actions {
    flex-wrap: wrap;
  }
}
