:root {
  --bg: #0f172a;
  --panel: #111827;
  --panel-2: #1f2937;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --line: #334155;
  --accent: #d6a77a;
  --accent-2: #94a3b8;
  --danger: #f87171;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, var(--bg), #111827 40%, #0b1220);
  color: var(--text);
}
.app-shell { max-width: 1180px; margin: 0 auto; padding: 20px; }
.topbar, .section-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-size: 12px; margin: 0 0 4px; }
h1, h2 { margin: 0 0 12px; }
h1 { font-size: 32px; }
h2 { font-size: 18px; }
.card {
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.grid-2, .grid-4 { display: grid; gap: 16px; margin-top: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.metrics strong { display: block; font-size: 28px; margin-top: 8px; }
.label, .muted { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
label { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 14px; }
input, textarea, select {
  width: 100%; padding: 12px 13px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel-2); color: var(--text); font: inherit;
}
button, .file-label {
  border: 1px solid var(--line); background: var(--panel-2); color: var(--text);
  padding: 12px 14px; border-radius: 12px; cursor: pointer; font: inherit; text-align: center;
}
button.primary { background: var(--accent); color: #1b1b1b; border-color: transparent; font-weight: 700; }
button.ghost, .file-label { background: transparent; }
.small-inline { padding: 8px 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
th { color: var(--muted); font-weight: 600; }
.actions, .row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.insights { margin: 0; padding-left: 18px; color: var(--muted); }
.insights li { margin: 8px 0; }
.checklist { display: grid; gap: 10px; }
.checklist-item { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.checklist-item input { width: auto; }
.pill { padding: 4px 8px; border-radius: 999px; font-size: 12px; display: inline-block; }
.pill.listed { background: rgba(34,197,94,.18); color: #86efac; }
.pill.draft { background: rgba(59,130,246,.18); color: #93c5fd; }
.pill.idea { background: rgba(148,163,184,.18); color: #cbd5e1; }
.pill.paused { background: rgba(248,113,113,.15); color: #fca5a5; }
.small-btn { padding: 8px 10px; font-size: 12px; }
@media (max-width: 640px) {
  .app-shell { padding: 14px; }
  h1 { font-size: 26px; }
  .topbar, .section-head { align-items: flex-start; flex-direction: column; }
}
