/* Dashboard post-evento — capas narrativas (Social / Pulse / Insights) */

.finalized-page {
    background: linear-gradient(180deg, #fdf2f8 0%, #faf5ff 28%, #f9fafb 100%);
    min-height: 100%;
}

.finalized-verdict-hero {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    min-height: 13rem;
    box-shadow: 0 4px 24px rgba(236, 72, 153, 0.12);
}

.finalized-verdict-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.finalized-verdict-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(88, 28, 135, 0.72) 45%,
        rgba(236, 72, 153, 0.55) 100%
    );
}

.finalized-verdict-hero-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #831843 0%, #6b21a8 50%, #db2777 100%);
}

.finalized-verdict-hero-content {
    position: relative;
    z-index: 1;
    padding: 1.25rem 1.25rem 1.5rem;
}

@media (min-width: 640px) {
    .finalized-verdict-hero {
        min-height: 15rem;
    }
    .finalized-verdict-hero-content {
        padding: 1.75rem 2rem 2rem;
    }
}

.finalized-verdict-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.finalized-verdict-excellent {
    background: rgba(16, 185, 129, 0.95);
    color: #fff;
}

.finalized-verdict-good {
    background: rgba(59, 130, 246, 0.95);
    color: #fff;
}

.finalized-verdict-fair {
    background: rgba(245, 158, 11, 0.95);
    color: #fff;
}

.finalized-verdict-poor {
    background: rgba(239, 68, 68, 0.95);
    color: #fff;
}

.finalized-verdict-neutral {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.finalized-kpi-pill {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.75rem;
    padding: 0.625rem 0.875rem;
    text-align: center;
    min-width: 4.5rem;
}

.finalized-kpi-value {
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.finalized-kpi-label {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 0.125rem;
}

.finalized-outcome-col {
    border-radius: 0.75rem;
    padding: 1rem;
    height: 100%;
}

.finalized-outcome-strengths {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}

.finalized-outcome-weaknesses {
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.finalized-outcome-recs {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.finalized-tabs {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    padding-bottom: 0.125rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.finalized-tabs::-webkit-scrollbar {
    display: none;
}

.finalized-tab {
    flex-shrink: 0;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    border-radius: 0.5rem;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.finalized-tab:hover {
    color: #374151;
    background: #f3f4f6;
}

.finalized-tab-active {
    color: #be185d;
    background: #fdf2f8;
}

.finalized-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.25rem;
    margin-left: 0.375rem;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 9999px;
    background: #fecdd3;
    color: #9f1239;
}

@media (prefers-reduced-motion: reduce) {
    .finalized-tab {
        transition: none;
    }
}
