:root {
  --bg: #1a1a2e;
  --surface: #16213e;
  --card: #1c2a4a;
  --border: #2a3a5e;
  --text: #e0e0e0;
  --text-muted: #8892a4;
  --accent: #e94560;
  --accent2: #0f3460;
  --green: #4ecca3;
  --yellow: #ffc857;
  --red: #e94560;
  --blue: #4ea8de;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

h1 { color: var(--accent); font-size: 1.8rem; margin-bottom: 0.5rem; }
h2 { color: var(--blue); font-size: 1.3rem; margin: 2rem 0 1rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
h3 { color: var(--text); font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }

.subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin: 1rem 0; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.2rem;
}

.card h3 { margin-top: 0; font-size: 0.95rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.card .value { font-size: 2rem; font-weight: bold; margin: 0.5rem 0; }
.card .detail { font-size: 0.85rem; color: var(--text-muted); }

.status-ok { color: var(--green); }
.status-warn { color: var(--yellow); }
.status-fail { color: var(--red); }
.status-pending { color: var(--text-muted); }

table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
th, td { padding: 0.6rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
tr:hover { background: var(--surface); }

.tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}
.tag-accept { background: rgba(78, 204, 163, 0.2); color: var(--green); }
.tag-reject { background: rgba(233, 69, 96, 0.2); color: var(--red); }
.tag-active { background: rgba(78, 168, 222, 0.2); color: var(--blue); }
.tag-pending { background: rgba(255, 200, 87, 0.2); color: var(--yellow); }

nav {
  background: var(--surface);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
nav a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
nav a:hover, nav a.active { color: var(--accent); }
nav .brand { color: var(--accent); font-weight: bold; font-size: 1.1rem; margin-right: auto; }

.iteration-entry {
  background: var(--card);
  border-left: 3px solid var(--blue);
  padding: 1rem 1.2rem;
  margin: 0.5rem 0;
  border-radius: 0 6px 6px 0;
}

.progress-bar {
  background: var(--surface);
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
  margin: 0.3rem 0;
}
.progress-bar .fill { height: 100%; border-radius: 4px; }

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
}
