/* ─── Bracket-validation methodology page ─── */

.validation-hero {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.08) 0%, transparent 60%);
    padding: 2rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 12px;
}
.validation-hero-lede {
    font-size: 1.05rem;
    color: var(--text-secondary, #cbd5e1);
    max-width: 760px;
}
.validation-hero-meta {
    font-size: 0.85rem;
    color: var(--text-muted, #94a3b8);
    margin-top: 0.5rem;
}

.accuracy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.acc-card {
    background: var(--bg-card, #1a1a2e);
    border: 1px solid var(--card-border, rgba(255,255,255,0.08));
    border-radius: 8px;
    padding: 1rem;
}
.acc-card .pct {
    font-size: 2.4rem;
    font-weight: 700;
    color: #4ade80;
    line-height: 1;
}
.acc-card .pct.warn { color: #eab308; }
.acc-card .pct.fail { color: #f87171; }
.acc-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.4rem 0 0.25rem;
    color: var(--text-secondary, #cbd5e1);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.acc-card .ratio {
    font-size: 0.78rem;
    color: var(--text-muted, #94a3b8);
}

.deck-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin: 1rem 0;
}
.deck-table th,
.deck-table td {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: left;
}
.deck-table th {
    background: rgba(255,255,255,0.02);
    font-weight: 600;
}
.deck-table td.c { text-align: center; }
.deck-table .v-pass { color: #4ade80; font-weight: 600; }
.deck-table .v-warn { color: #eab308; }
.deck-table .v-fail { color: #f87171; font-weight: 600; }
.deck-table .src { color: #6ea8ff; text-decoration: none; }
.deck-table .bracket-cell strong { color: #c084fc; }
.deck-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.confusion {
    border-collapse: collapse;
    margin: 1rem 0;
}
.confusion th,
.confusion td {
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.confusion .diag-good {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    font-weight: 700;
}
.confusion .off-diag {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.source-list li { margin: 0.35rem 0; }

.limits {
    background: rgba(248, 113, 113, 0.06);
    border: 1px solid rgba(248, 113, 113, 0.2);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}
.limits h3 { color: #f87171; margin-top: 0; }

.reproduce {
    background: rgba(110, 168, 255, 0.06);
    border: 1px solid rgba(110, 168, 255, 0.2);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}
.reproduce h3 { color: #6ea8ff; margin-top: 0; }
.reproduce code {
    background: rgba(255,255,255,0.05);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85em;
}

/* ─── LLM cross-validation comparator ─── */
.llm-compare {
    background: rgba(167, 139, 250, 0.06);
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}
.llm-compare h3 { color: #c084fc; margin-top: 0; }
.llm-compare .comparator-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin: 0.75rem 0 0.25rem;
}
.llm-compare .comparator-table th,
.llm-compare .comparator-table td {
    padding: 0.45rem 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.llm-compare .comparator-table th { background: rgba(255,255,255,0.02); font-weight: 600; }
.llm-compare .comparator-table td.metric { text-align: left; font-weight: 600; }
.llm-compare .comparator-table td.engine-col { color: #4ade80; font-weight: 600; }
.llm-compare-timestamp { font-size: 0.82rem; margin-top: 0.5rem; }

/* ─── Page footer note ─── */
.validation-footer-note {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.85rem;
    color: var(--text-muted, #94a3b8);
}
