:root {
    --river-deep: #1F3B3C;
    --river-mid: #3C8C7C;
    --river-pale: #EDF3F1;
    --river-bg: #F5F8F7;
    --river-muted: #8A9A96;
    --river-line: #DCE7E4;
}

html, body {
    background-color: var(--river-bg);
}

.section {
    padding-top: 1.5rem;
}

.site-banner {
    background-color: var(--river-deep);
    height: 84px;
    box-shadow: 0 2px 10px rgba(15, 30, 30, 0.18);
    border-bottom: 3px solid var(--river-mid);
}

.banner-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.banner-logo {
    height: 54px;
    width: auto;
}

.banner-title {
    color: var(--river-bg);
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.site-footer {
    display: none;
}

.run-section {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 1.25rem 1.25rem 0.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(31, 59, 60, 0.06);
}

.run-heading {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--river-deep);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.legend-section {
    margin-bottom: 0;
}

.legend-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.legend-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--river-deep);
}

.legend-sample {
    display: inline-block;
    min-width: 3rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.legend-icon {
    width: 24px;
    height: 24px;
}

.notification.is-info {
    background-color: var(--river-pale);
    color: var(--river-deep);
}

.notification.is-danger {
    background-color: #FBEEEC;
    color: #8C3B2E;
}

.table {
    background-color: transparent;
    table-layout: fixed;
}

.table thead th {
    background-color: transparent;
    color: var(--river-deep);
    border-bottom: 2px solid var(--river-mid);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.unit-label {
    white-space: nowrap;
}

.table.is-striped tbody tr:not(.is-selected):nth-child(even) {
    background-color: var(--river-pale);
}

.table tbody tr {
    transition: background-color 0.15s ease;
}

.table.is-hoverable tbody tr:hover {
    background-color: rgba(60, 140, 124, 0.12);
}

.table td, .table th {
    border-color: var(--river-line);
}

.table td:last-child {
    font-variant-numeric: tabular-nums;
    color: var(--river-deep);
    font-weight: 500;
}

.value-cell {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    white-space: nowrap;
}

.short-name {
    display: none;
}

.is-overdue {
    color: var(--river-muted);
    font-weight: 400;
}

.col-stage {
    width: 160px;
}

.col-flow {
    width: 130px;
}

.col-icon {
    width: 48px;
}

.row-icon {
    width: 28px;
    height: 28px;
    vertical-align: middle;
}

.table td.flow-cell {
    padding-left: 0.35em;
    padding-right: 0.35em;
}

.table td.stage-cell {
    padding-right: 0.35em;
}

.table td.icon-cell {
    padding-left: 0.35em;
}

@media screen and (max-width: 768px) {
    .section {
        padding-bottom: 1rem;
    }

    .site-footer {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        background-color: var(--river-deep);
        border-top: 3px solid var(--river-mid);
        padding: 1.5rem 0 0;
    }

    .footer-logo {
        height: 144px;
        width: auto;
    }

    .full-name {
        display: none;
    }

    .short-name {
        display: inline;
    }

    .section {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .run-section {
        padding: 0.75rem 0.6rem 0.5rem;
        border-radius: 6px;
        margin-bottom: 1rem;
    }

    .banner-inner {
        justify-content: center;
    }

    .col-stage {
        width: 90px;
    }

    .col-flow {
        width: 80px;
    }

    .col-icon {
        width: 36px;
    }

    .row-icon {
        width: 22px;
        height: 22px;
    }

    .table td, .table th {
        padding: 0.4em 0.5em;
        font-size: 0.9rem;
    }
}