.wr-page {
    color: #e6edf3;
}

.wr-header,
.wr-worker-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.wr-title {
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
}

.wr-subtitle {
    margin-top: 5px;
    color: #8b949e;
    font-size: .86rem;
}

.wr-card {
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 16px;
    background: rgba(255, 255, 255, .045);
    overflow: hidden;
}

.wr-filter {
    padding: 14px;
    margin-bottom: 16px;
}

.wr-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.wr-kpi {
    padding: 15px;
    min-height: 98px;
}

.wr-kpi__label {
    color: #8b949e;
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.wr-kpi__value {
    margin-top: 7px;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1.05;
    font-weight: 900;
}

.wr-kpi__note {
    margin-top: 6px;
    color: #8b949e;
    font-size: .76rem;
}

.wr-table {
    margin: 0;
    color: #e6edf3;
}

.wr-table th {
    color: #9ca3af;
    border-color: rgba(255, 255, 255, .08) !important;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .035em;
    white-space: nowrap;
}

.wr-table td {
    border-color: rgba(255, 255, 255, .065) !important;
    vertical-align: middle;
}

.wr-table tbody tr:hover td {
    background: rgba(59, 130, 246, .055);
}

.wr-rank {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font-weight: 800;
}

.wr-rank--1 {
    color: #111827;
    background: #facc15;
}

.wr-rank--2 {
    color: #111827;
    background: #d1d5db;
}

.wr-rank--3 {
    color: #fff;
    background: #b45309;
}

.wr-progress {
    height: 7px;
    margin-top: 6px;
    border-radius: 99px;
    overflow: hidden;
    background: rgba(255, 255, 255, .09);
}

.wr-progress > span {
    display: block;
    min-width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #22c55e);
}

.wr-tabs {
    display: flex;
    gap: 7px;
    margin: 0 0 16px;
    padding: 7px;
    overflow-x: auto;
}

.wr-tabs a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 10px;
    color: #9ca3af;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
}

.wr-tabs a:hover,
.wr-tabs a.active {
    color: #fff;
    background: rgba(59, 130, 246, .18);
}

.wr-section-title {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.wr-empty {
    padding: 38px 16px !important;
    color: #8b949e !important;
    text-align: center;
}

.wr-trend-row {
    display: grid;
    grid-template-columns: 100px minmax(120px, 1fr) 150px 95px;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.wr-trend-row:last-child {
    border-bottom: 0;
}

.wr-trend-bar {
    height: 9px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, .09);
}

.wr-trend-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.wr-muted {
    color: #8b949e;
    font-size: .78rem;
}

.wr-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background: #6b7280;
}

.wr-status-dot.online {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, .55);
}

.wr-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.wr-metric {
    padding: 13px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, .07);
    background: rgba(255, 255, 255, .035);
}

.wr-metric strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 1.08rem;
}

@media (max-width: 1199.98px) {
    .wr-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .wr-header,
    .wr-worker-head {
        flex-direction: column;
    }

    .wr-kpis,
    .wr-metric-grid {
        grid-template-columns: 1fr;
    }

    .wr-trend-row {
        grid-template-columns: 80px 1fr;
    }

    .wr-trend-row > :nth-child(3),
    .wr-trend-row > :nth-child(4) {
        text-align: left !important;
    }
}
