:root {
  --bg: #10141c;
  --panel: #171d28;
  --line: #2a3444;
  --text: #e8edf5;
  --muted: #8b97ab;
  --accent: #6ea8ff;
  --new: #6ea8ff;
  --triaging: #c9a227;
  --in_progress: #3db88a;
  --waiting: #c47a3a;
  --testing: #8b7cf7;
  --resolved: #6b778a;
  --closed: #6b778a;
  --critical: #e25c5c;
  --high: #e08a3c;
  --normal: #6ea8ff;
  --low: #8b97ab;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font: 15px/1.45 "IBM Plex Sans", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.top {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  position: sticky;
  top: 0;
}
.brand { font-weight: 700; color: var(--text); }
nav { display: flex; gap: 1rem; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 1.5rem; }
.muted { color: var(--muted); font-size: 0.9rem; }
h1 { margin: 0 0 1rem; font-size: 1.6rem; }
.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.kpi {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
.kpi b { display: block; font-size: 1.5rem; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
th, td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 0.85rem; }
.badge {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: #243044;
}
.badge.status-new { color: var(--new); }
.badge.status-triaging { color: var(--triaging); }
.badge.status-in_progress { color: var(--in_progress); }
.badge.status-waiting { color: var(--waiting); }
.badge.status-testing { color: var(--testing); }
.badge.status-resolved,
.badge.status-closed { color: var(--resolved); }
.badge.priority-critical { color: var(--critical); }
.badge.priority-high { color: var(--high); }
.badge.priority-normal { color: var(--normal); }
.badge.priority-low { color: var(--low); }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chip {
  background: #243044;
  border-radius: 6px;
  padding: 0.1rem 0.45rem;
  font-size: 0.8rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}
.meta { display: grid; grid-template-columns: 8rem 1fr; gap: 0.35rem 0.75rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; align-items: center; }
.filters a,
.filters button {
  background: #243044;
  color: var(--text);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  font: inherit;
}
pre, .desc {
  white-space: pre-wrap;
  background: #121821;
  padding: 0.8rem;
  border-radius: 8px;
}
ul.plain { padding-left: 1.1rem; }
