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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0f1117;
    color: #e1e4e8;
    line-height: 1.6;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #161b22;
    border-bottom: 1px solid #30363d;
}

.nav-brand {
    font-size: 1.2rem;
    font-weight: 600;
    color: #58a6ff;
}

.nav-links a {
    color: #8b949e;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: #e1e4e8; }

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

h1 { margin-bottom: 0.5rem; color: #f0f6fc; }
h2 { margin: 2rem 0 1rem; color: #c9d1d9; }
.subtitle { color: #8b949e; margin-bottom: 1.5rem; }

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

th, td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #21262d;
}

th {
    background: #161b22;
    color: #8b949e;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

tr:hover { background: #161b22; }

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-high { background: #1a7f37; color: #3fb950; }
.badge-medium { background: #6e4e00; color: #d29922; }
.badge-low { background: #30363d; color: #8b949e; }

.confidence-high { border-left: 3px solid #3fb950; }
.confidence-medium { border-left: 3px solid #d29922; }
.confidence-low { border-left: 3px solid #484f58; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #58a6ff;
}

.stat-label {
    color: #8b949e;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.team-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 1.5rem;
}

.team-card h3 { color: #f0f6fc; margin-bottom: 0.5rem; }
.team-card p { color: #8b949e; font-size: 0.9rem; }

.empty {
    text-align: center;
    color: #8b949e;
    padding: 3rem;
    background: #161b22;
    border-radius: 8px;
    border: 1px solid #30363d;
}

a { color: #58a6ff; text-decoration: none; }
a:hover { text-decoration: underline; }
