:root {
  --bg: #0B1F1A;
  --panel: #12291F;
  --accent: #1E6F5C;
  --accent-light: #2E9C7F;
  --text: #E8F3EF;
  --muted: #8FB3A8;
  --border: #244B3D;
  --warn: #C9A227;
  --danger: #C0392B;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}
header {
  padding: 16px 20px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header h1 { font-size: 18px; margin: 0; }
header a { color: var(--accent-light); text-decoration: none; font-size: 14px; }
main { padding: 16px; max-width: 720px; margin: 0 auto; }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.card h3 { margin: 0 0 4px; }
.card .meta { color: var(--muted); font-size: 13px; }
button, input, select {
  font-family: inherit;
  font-size: 14px;
}
input, select {
  background: #0E241C;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 8px 10px;
  width: 100%;
  margin-bottom: 8px;
}
button {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
}
button:hover { background: var(--accent-light); }
button.secondary { background: transparent; border: 1px solid var(--border); color: var(--text); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  border-left: 3px solid var(--border);
  padding: 10px 0 10px 16px;
  margin-left: 6px;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
}
.timeline li.status-complete::before { background: var(--accent-light); }
.timeline li.status-scheduled::before { background: var(--warn); }
.timeline li.status-in_progress::before { background: #4A90D9; }
.timeline li.status-blocked::before { background: var(--danger); }
.badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--border);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge.status-complete { background: var(--accent-light); color: #06231A; }
.badge.status-scheduled { background: var(--warn); color: #241C04; }
.badge.status-in_progress { background: #4A90D9; color: #06231A; }
.badge.status-blocked { background: var(--danger); }
.trade-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.activity { font-size: 13px; color: var(--muted); }
.activity li { border: none; padding: 4px 0; margin: 0; }
.activity li::before { display: none; }
.empty { color: var(--muted); text-align: center; padding: 30px 0; }
