﻿.apx {
    display: grid;
    gap: 16px;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.kpi {
    background: linear-gradient(135deg, #141e30, #243b55);
    color: #fff;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.kpi-title {
    font-size: 12px;
    opacity: .8;
    margin-bottom: 6px;
}

.kpi-value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: .5px;
}

.kpi-sub {
    margin-top: 4px;
    font-size: 12px;
    opacity: .8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 999px;
}

    .dot.up {
        background: #00A88B;
    }

    .dot.ok {
        background: #3366CC;
    }

    .dot.warn {
        background: #F39C12;
    }

.row {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 12px;
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: 12px 12px 4px;
    box-shadow: 0 8px 24px rgba(21,34,66,.08);
}

.card-title {
    font-weight: 700;
    font-size: 14px;
    margin: 6px 6px 10px;
    color: #2c3e50;
}

.mini {
    display: grid;
    grid-template-rows: auto 1fr;
}

.mini-title {
    font-weight: 700;
    margin: 6px;
}

.mini-body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.apx ::deep .dxc-title text {
    font-size: 12px;
    fill: #34495e;
}

.apx ::deep .dxbl-legend {
    font-size: 12px;
}

.heat {
    display: grid;
    gap: 6px;
}

.heat-row {
    display: grid;
    grid-template-columns: 120px repeat(7, 1fr);
    gap: 6px;
    align-items: center;
}

.heat-label {
    font-size: 12px;
    color: #2c3e50;
    text-align: right;
    padding-inline-end: 6px;
}

.heat-cell {
    height: 22px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.heat-foot {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.grad {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #555;
}

    .grad i {
        width: 120px;
        height: 10px;
        display: inline-block;
        border-radius: 6px;
        background: linear-gradient(90deg, hsl(120,85%,55%), hsl(0,85%,55%));
    }

.sla {
    display: grid;
    place-items: center;
    gap: 6px;
}

.sla-arc {
    position: relative;
    width: 140px;
    height: 140px;
}

    .sla-arc svg {
        width: 100%;
        height: 100%;
        transform: rotate(-90deg);
    }

    .sla-arc path {
        fill: none;
        stroke-width: 4;
    }

    .sla-arc .bg {
        stroke: #ecf0f1;
    }

    .sla-arc .fg {
        stroke: url(#g);
        stroke: #E74C3C;
        transition: stroke-dasharray .8s ease;
    }

.sla-val {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 20px;
    color: #2c3e50;
}

@media (max-width: 1200px) {
    .row {
        grid-template-columns: 1fr;
    }

    .kpi-grid {
        grid-template-columns: 1fr;
    }
}
