﻿.runs-shell {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.runs-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 1.5rem;
    background: radial-gradient(circle at top right, rgba(110, 168, 254, 0.18), transparent 32%), radial-gradient(circle at bottom left, rgba(25, 135, 84, 0.14), transparent 30%), linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}

.runs-hero__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.runs-eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    font-weight: 700;
    opacity: .72;
    margin-bottom: .35rem;
}

.runs-title {
    margin-bottom: .35rem;
}

.runs-subtitle {
    max-width: 820px;
}

.runs-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.runs-kpi-card {
    border-radius: 22px;
    padding: 1.15rem 1.2rem;
}

.runs-kpi-label {
    font-size: .85rem;
    color: rgba(255,255,255,.72);
    margin-bottom: .45rem;
}

.runs-kpi-value {
    line-height: 1;
}

.runs-filter-card,
.runs-table-card {
    border-radius: 24px;
    padding: 1.25rem;
}

.runs-filter-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.runs-filter-group label {
    font-weight: 600;
}

.runs-filter-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.runs-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.runs-section-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.runs-table thead th {
    border-bottom-color: rgba(255,255,255,.08);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    white-space: nowrap;
}

.runs-table tbody td {
    border-bottom-color: rgba(255,255,255,.06);
    vertical-align: middle;
}

.runs-workflow-name {
    font-weight: 700;
}

.runs-workflow-key {
    font-size: .8rem;
    opacity: .68;
    margin-top: .1rem;
}

.runs-summary {
    max-width: 320px;
    white-space: normal;
}

.runs-summary--error {
    color: #ffb3bd;
}

@media (max-width: 1200px) {
    .runs-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .runs-filter-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .runs-kpi-grid {
        grid-template-columns: 1fr;
    }

    .runs-hero,
    .runs-filter-card,
    .runs-table-card {
        padding: 1rem;
    }
}
