* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ink: #104662;
    --muted: #3d6f88;
    --line: #9ed8e8;
    --panel: #ffffff;
    --bg: #eefbff;
    --pass: #0d9f6b;
    --fail: #cc4d4d;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 12%, rgba(108, 225, 255, 0.28) 0%, transparent 27%),
        radial-gradient(circle at 86% 10%, rgba(255, 179, 71, 0.26) 0%, transparent 30%),
        linear-gradient(145deg, #effbff 0%, #fff8ec 45%, #f3fff9 100%);
}

.results-layout {
    min-height: 100vh;
    padding: 1rem;
}

.results-panel {
    width: min(1180px, 100%);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 16px 40px rgba(27, 90, 112, 0.12);
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #0a7cab;
    font-size: 0.78rem;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.25rem, 2.4vw, 1.9rem);
}

.lead {
    color: var(--muted);
}

.summary {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pill {
    background: #f3fdff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.3rem 0.58rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 880px;
}

th,
td {
    padding: 0.6rem;
    border-bottom: 1px solid #d6edf3;
    text-align: left;
}

th {
    background: #f3fdff;
}

.status {
    font-weight: 700;
}

.status.pass {
    color: var(--pass);
}

.status.fail {
    color: var(--fail);
}

.small-link {
    color: #0a7cab;
    text-decoration: none;
    font-weight: 700;
}

.actions {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-secondary {
    text-decoration: none;
    border: 1px solid #b6e2ee;
    background: #eef9ff;
    color: var(--ink);
    border-radius: 10px;
    padding: 0.55rem 0.8rem;
    font-weight: 700;
}

/* Estilos para pestañas de filtrado */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: #f3fdff;
    border: 2px solid var(--line);
    color: var(--ink);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #0a7cab;
    background: #eef9ff;
}

.tab-btn.active {
    background: #0a7cab;
    color: white;
    border-color: #0a7cab;
}
