:root {
  --shield-blue: #046BD2;
  --shield-cyan: #0EA5E9;
  --shield-slate: #1E293B;
  --bg: #F8FAFC;
  --line: #E2E8F0;
  --muted: #64748B;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Calibri, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--shield-slate);
}
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--shield-slate); color: #fff;
  border-bottom: 4px solid var(--shield-blue);
}
header .brand strong { font-size: 1.25rem; }
header .brand .subtitle { color: var(--shield-cyan); margin-left: .75rem; font-size: .9rem; }
header nav a { color: #fff; margin-left: 1.5rem; text-decoration: none; font-weight: 600; }
header nav a:hover { color: var(--shield-cyan); }
main { padding: 2rem; max-width: 1100px; margin: 0 auto; }
.hero h1 { color: var(--shield-blue); margin-top: 0; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.card {
  display: block; padding: 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  text-decoration: none; color: inherit;
  transition: border-color .15s;
}
.card:hover { border-color: var(--shield-blue); }
.card h2 { margin: 0 0 .5rem 0; color: var(--shield-blue); }
.empty { color: var(--muted); font-style: italic; }
.threads { list-style: none; padding: 0; }
.thread {
  display: grid;
  grid-template-columns: 80px 200px 1fr 120px;
  gap: 1rem; padding: .75rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  margin-bottom: .5rem; align-items: center;
}
.channel {
  display: inline-block; padding: 2px 8px; font-size: .75rem;
  background: var(--shield-cyan); color: #fff; border-radius: 4px;
  text-transform: uppercase;
}
.preview { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--shield-slate); color: #fff; font-weight: 600; }
