/* PRD-MVP-13 — Rastros de evidência */
.evgal {
    max-width: 780px;
}
.evgal-note {
    margin: 0 0 16px;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.evgal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.evgal-card {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-xl, 14px);
    border: 1px solid var(--border-card);
    border-left: 3px solid var(--accent, #d4ae57);
    background: var(--bg-card);
}
.evgal-card--fila { border-left-color: var(--alert, #f1c40f); }
.evgal-card--ajuste { border-left-color: var(--danger, #e74c3c); }
.evgal-card--ok { border-left-color: var(--success, #2ecc71); }
.evgal-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}
.evgal-thumbs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 0 0 auto;
}
.evgal-thumbs .evgal-thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
}
.evgal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.evgal-body { flex: 1; min-width: 0; }
.evgal-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}
.evgal-title {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-main);
}
.evgal-badge {
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    white-space: nowrap;
}
.evgal-meta {
    margin: 6px 0 8px;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.evgal-brief {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-main);
}
.evgal-empty {
    padding: 40px 24px;
    text-align: center;
    color: var(--text-muted);
}
.evgal-empty-hint {
    margin: 8px 0 16px;
    font-size: 12px;
}

@media (max-width: 560px) {
    .evgal-card {
        flex-direction: column;
    }
    .evgal-thumb {
        width: 100%;
        height: 140px;
        flex-basis: auto;
    }
}

body.light-mode .evgal-thumb {
    background: #eee;
}

body.co-calm .evgal-hero .evgal-thumb--hero {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
    margin: 4px 0 14px;
    border-radius: 10px;
}

.evgal-chart {
    margin: 8px 0 4px;
    text-align: left;
}
.evgal-chart-kicker {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent, #d4ae57);
    margin: 0 0 4px;
}
.evgal-chart-copy {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 14px;
}
.evgal-chart-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 0 0 16px;
}
.evgal-chart-stats div {
    padding: 10px 8px;
    border-radius: 10px;
    border: 1px solid rgba(212, 174, 87, 0.22);
    background: rgba(12, 18, 28, 0.45);
    text-align: center;
}
.evgal-chart-stats b {
    display: block;
    font-family: Cinzel, serif;
    font-size: 1.25rem;
    color: var(--text-main, #f2e6c8);
}
.evgal-chart-stats span {
    font-family: Oswald, sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.evgal-chart-plot {
    position: relative;
    height: 168px;
    margin: 0 0 10px;
}
.evgal-chart-line {
    position: absolute;
    inset: 8px 4px 28px;
    width: calc(100% - 8px);
    height: calc(100% - 36px);
    overflow: visible;
}
.evgal-chart-cols {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    gap: 6px;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.evgal-chart-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}
.evgal-chart-bars {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 2px 4px;
}
.evgal-bar {
    display: block;
    width: 7px;
    min-height: 2px;
    border-radius: 3px 3px 0 0;
}
.evgal-bar--sent { background: #5c9aff; }
.evgal-bar--ok {
    background: #d4ae57;
    box-shadow: 0 0 8px rgba(212, 174, 87, 0.35);
}
.evgal-chart-col span {
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-top: 6px;
}
.evgal-chart-legend {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.evgal-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}
.evgal-dot--sent { background: #5c9aff; }
.evgal-dot--ok { background: #d4ae57; }

@media (max-width: 640px) {
    .evgal-chart-stats { grid-template-columns: repeat(2, 1fr); }
}
