:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #0f766e;
  --danger: #dc2626;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef8f6, var(--bg));
}
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.grid {
  display: grid;
  gap: 14px;
}
.grid.two { grid-template-columns: 1fr 1fr; }
input, textarea, select, button {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
}
textarea { min-height: 110px; resize: vertical; }
button {
  background: var(--primary);
  color: #fff;
  border: 0;
  cursor: pointer;
}
button.secondary {
  background: #334155;
}
button.danger {
  background: var(--danger);
}
button:disabled {
  opacity: .6;
  cursor: not-allowed;
}
.row {
  display: flex;
  gap: 10px;
}
.row > * { flex: 1; }
.muted { color: var(--muted); font-size: 13px; }
.list { margin: 0; padding: 0; list-style: none; }
.item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fff;
}
.item h4 { margin: 0 0 6px 0; }
.badge {
  display: inline-block;
  font-size: 12px;
  color: #0f766e;
  background: #d1fae5;
  border-radius: 999px;
  padding: 2px 8px;
}
a { color: var(--primary); text-decoration: none; }
pre {
  background: #0b1320;
  color: #f8fafc;
  padding: 12px;
  border-radius: 10px;
  overflow: auto;
  white-space: pre-wrap;
}
@media (max-width: 760px) {
  .grid.two { grid-template-columns: 1fr; }
}
