.telemetry-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100svh - var(--header-height));
    overflow: hidden;
    padding: 24px 0;
    border-top: 1px solid rgba(20, 21, 31, 0.045);
    background:
        radial-gradient(
            circle at 70% 32%,
            rgba(102, 70, 255, 0.07),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            #fafafd 0%,
            #f7f7fb 100%
        );
}

.telemetry-section__ambient {
    position: absolute;
    right: -180px;
    bottom: -270px;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(104, 72, 255, 0.08),
            transparent 68%
        );
    pointer-events: none;
}

.telemetry-section__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(310px, 0.68fr)
        minmax(760px, 1.55fr);
    align-items: center;
    gap: 50px;
}

.telemetry-section__copy {
    position: relative;
    align-self: center;
    padding-bottom: 30px;
}

.telemetry-section__eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 28px;
    color: var(--purple);
    font-family:
        ui-monospace,
        "SFMono-Regular",
        Consolas,
        monospace;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.telemetry-section__eyebrow span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow:
        0 0 0 6px rgba(89, 55, 255, 0.07),
        0 0 16px rgba(89, 55, 255, 0.28);
}

.telemetry-section__title {
    color: #090a0e;
    font-size: clamp(43px, 4.2vw, 68px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.telemetry-section__title span {
    color: var(--purple);
}

.telemetry-section__description {
    max-width: 430px;
    margin-top: 27px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.58;
    letter-spacing: -0.022em;
}

.telemetry-section__signal {
    position: relative;
    width: 118px;
    height: 118px;
    margin-top: 52px;
}

.telemetry-section__signal::before,
.telemetry-section__signal::after,
.telemetry-section__signal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    content: "";
    border: 1px solid rgba(100, 70, 255, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.telemetry-section__signal::before {
    width: 118px;
    height: 118px;
}

.telemetry-section__signal::after {
    width: 72px;
    height: 72px;
}

.telemetry-section__signal-ring {
    width: 36px;
    height: 36px;
}

.telemetry-section__signal-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--purple);
    box-shadow:
        0 0 0 9px rgba(89, 55, 255, 0.07),
        0 0 22px rgba(89, 55, 255, 0.58);
    transform: translate(-50%, -50%);
}

.telemetry-section__panel {
    min-width: 0;
}

.telemetry-dashboard {
    height: clamp(
        570px,
        calc(100svh - var(--header-height) - 72px),
        690px
    );
    min-height: 570px;
    overflow: hidden;
    padding: 14px;
    border: 1px solid rgba(146, 117, 255, 0.3);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            #171821 0%,
            #0b0c12 52%,
            #11121a 100%
        );
    box-shadow:
        0 0 0 1px rgba(99, 66, 255, 0.08),
        0 0 40px rgba(95, 61, 255, 0.14),
        0 28px 60px rgba(19, 17, 40, 0.18);
}

.telemetry-tabs {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 44px;
    padding: 0 4px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.telemetry-tab {
    position: relative;
    min-width: 108px;
    height: 39px;
    padding: 0 17px;
    color: #9799a7;
    border: 0;
    border-radius: 9px 9px 0 0;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition:
        color 180ms ease,
        background 180ms ease;
}

.telemetry-tab::after {
    position: absolute;
    right: 12px;
    bottom: -5px;
    left: 12px;
    height: 2px;
    content: "";
    border-radius: 999px;
    background: var(--purple-light);
    box-shadow:
        0 0 10px rgba(132, 109, 255, 0.75),
        0 0 20px rgba(132, 109, 255, 0.28);
    opacity: 0;
    transform: scaleX(0.4);
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.telemetry-tab:hover {
    color: #ffffff;
}

.telemetry-tab.is-active {
    color: #ffffff;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08),
            rgba(104, 71, 255, 0.09)
        );
}

.telemetry-tab.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.telemetry-dashboard__body {
    display: grid;
    grid-template-columns:
        minmax(0, 2.25fr)
        minmax(210px, 0.88fr);
    grid-template-rows:
        minmax(0, 1fr)
        142px;
    gap: 12px;
    height: calc(100% - 44px);
    padding-top: 12px;
}


.telemetry-dashboard__body.is-resources-layout {
    grid-template-columns: minmax(0, 1fr);
}

.telemetry-dashboard__body.is-resources-layout .telemetry-main-card {
    grid-column: 1 / -1;
}

.telemetry-dashboard__body.is-resources-layout .telemetry-side-stack {
    display: none;
}

.telemetry-main-card,
.telemetry-availability-card,
.telemetry-operations-card,
.telemetry-metric-card {
    border: 1px solid rgba(255, 255, 255, 0.115);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.01)
        );
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.13);
}

.telemetry-main-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 0;
    padding: 20px 21px 14px;
    border-radius: 15px;
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 180ms ease,
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.telemetry-main-card.is-leaving {
    opacity: 0;
    transform: translateY(-16px);
}

.telemetry-main-card.is-entering {
    opacity: 0;
    transform: translateY(16px);
    transition: none;
}

.telemetry-main-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.telemetry-card-label,
.telemetry-side-header p {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.telemetry-main-value-row {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 14px;
}

.telemetry-main-value {
    color: #ffffff;
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.05em;
}

.telemetry-main-unit {
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
}


.telemetry-main-description,
.telemetry-side-description {
    color: #b1b3bf;
    font-size: 12px;
    line-height: 1.45;
}

.telemetry-main-description {
    margin-top: 9px;
}

.telemetry-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 30px;
    padding: 0 11px;
    color: #a9f4d7;
    border: 1px solid rgba(99, 233, 184, 0.18);
    border-radius: 999px;
    background: rgba(99, 233, 184, 0.05);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.telemetry-live-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #63e9b8;
    box-shadow: 0 0 10px rgba(99, 233, 184, 0.65);
    animation: telemetry-live-pulse 1.5s ease-in-out infinite;
}

.telemetry-chart {
    min-height: 0;
    margin-top: 10px;
}

.telemetry-chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.telemetry-chart-grid {
    stroke: rgba(255, 255, 255, 0.075);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.telemetry-chart-label {
    fill: #777986;
    font-size: 11px;
}

.telemetry-chart-area {
    fill: url("#telemetry-chart-gradient");
}

.telemetry-chart-line {
    fill: none;
    stroke: #a36cff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.telemetry-chart-point {
    fill: #ffffff;
    stroke: #8e5bff;
    stroke-width: 4;
    vector-effect: non-scaling-stroke;
}

.telemetry-chart-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.telemetry-chart-stat {
    position: relative;
    padding: 12px 10px 0;
    text-align: center;
}

.telemetry-chart-stat:not(:last-child)::after {
    position: absolute;
    top: 12px;
    right: 0;
    bottom: 0;
    width: 1px;
    content: "";
    background: rgba(255, 255, 255, 0.07);
}

.telemetry-chart-stat span {
    display: block;
    color: #777986;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
}

.telemetry-chart-stat strong {
    display: block;
    margin-top: 5px;
    color: #f7f7fa;
    font-size: 13px;
    font-weight: 500;
}

.telemetry-side-stack {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: 0;
}

.telemetry-availability-card,
.telemetry-operations-card {
    min-height: 0;
    padding: 16px;
    overflow: hidden;
    border-radius: 15px;
}

.telemetry-side-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.telemetry-live-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9cf4d1;
    font-size: 9px;
}

.telemetry-live-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #63e9b8;
    box-shadow: 0 0 9px rgba(99, 233, 184, 0.6);
}

.telemetry-ring {
    --telemetry-ring-progress: 359deg;

    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    margin: 11px auto 2px;
    border-radius: 50%;
    background:
        conic-gradient(
            #9b61ff 0deg,
            #7d45ee var(--telemetry-ring-progress),
            rgba(255, 255, 255, 0.07) var(--telemetry-ring-progress)
        );
    box-shadow:
        0 0 20px rgba(124, 69, 238, 0.25),
        0 0 35px rgba(124, 69, 238, 0.12);
}

.telemetry-ring__inner {
    display: grid;
    place-content: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #101118;
    text-align: center;
}

.telemetry-ring__inner strong {
    color: #ffffff;
    font-size: 21px;
    letter-spacing: -0.04em;
}

.telemetry-ring__inner span {
    margin-top: 3px;
    color: #777986;
    font-size: 8px;
    text-transform: uppercase;
}


.telemetry-operations-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: #a477ff;
    border: 1px solid rgba(157, 111, 255, 0.35);
    border-radius: 8px;
    background: rgba(157, 111, 255, 0.06);
}

.telemetry-operations-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.telemetry-operations-value {
    display: block;
    margin-top: 12px;
    color: #ffffff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.045em;
}

.telemetry-operations-trend {
    display: block;
    margin-top: 6px;
    color: #9b6aff;
    font-size: 10px;
    font-weight: 600;
}

.telemetry-sparkline {
    width: 100%;
    height: 43px;
    margin: 3px 0 1px;
    overflow: visible;
}

.telemetry-sparkline-path {
    fill: none;
    stroke: #995fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.telemetry-metric-cards {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    min-height: 0;
}

.telemetry-metric-card {
    min-width: 0;
    padding: 14px 16px;
    overflow: hidden;
    border-radius: 14px;
}

.telemetry-metric-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #a976ff;
    border: 1px solid rgba(164, 118, 255, 0.22);
    border-radius: 9px;
    background:
        linear-gradient(
            145deg,
            rgba(166, 119, 255, 0.1),
            rgba(166, 119, 255, 0.025)
        );
}

.telemetry-metric-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.telemetry-metric-card h3 {
    margin-top: 9px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.telemetry-metric-card strong {
    display: block;
    margin-top: 7px;
    color: #ffffff;
    font-size: 22px;
    letter-spacing: -0.04em;
}

.telemetry-metric-card p {
    margin-top: 7px;
    color: #a7a9b5;
    font-size: 9px;
    line-height: 1.38;
}

.telemetry-metric-progress {
    height: 4px;
    margin-top: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.telemetry-metric-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            #7542ee,
            #b06dff
        );
    box-shadow: 0 0 10px rgba(160, 92, 255, 0.45);
    transition: width 500ms ease;
}

@keyframes telemetry-live-pulse {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(0.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

@media (max-width: 1250px) {
    .telemetry-section__container {
        grid-template-columns:
            minmax(280px, 0.6fr)
            minmax(650px, 1.4fr);
        gap: 36px;
    }

    .telemetry-section__title {
        font-size: clamp(40px, 4vw, 60px);
    }

    .telemetry-tab {
        min-width: 96px;
        padding-right: 13px;
        padding-left: 13px;
    }
}

@media (max-width: 1050px) {
    .telemetry-section {
        min-height: auto;
        padding: 65px 0 38px;
    }

    .telemetry-section__container {
        grid-template-columns: 1fr;
    }

    .telemetry-section__copy {
        max-width: 720px;
        padding-bottom: 0;
    }

    .telemetry-section__title br {
        display: none;
    }

    .telemetry-section__signal {
        display: none;
    }

    .telemetry-dashboard {
        height: 680px;
    }
}

@media (max-width: 760px) {
    .telemetry-dashboard {
        height: auto;
        min-height: 0;
    }

    .telemetry-dashboard__body {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }

    .telemetry-main-card {
        min-height: 470px;
    }

    .telemetry-side-stack {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
    }

    .telemetry-availability-card,
    .telemetry-operations-card {
        min-height: 235px;
    }

    .telemetry-metric-cards {
        grid-template-columns: repeat(3, minmax(190px, 1fr));
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .telemetry-metric-card {
        min-height: 150px;
    }
}

@media (max-width: 620px) {
    .telemetry-section {
        padding-top: 50px;
        padding-bottom: 28px;
    }

    .telemetry-section__title {
        font-size: clamp(38px, 12vw, 54px);
    }

    .telemetry-section__description {
        font-size: 15px;
    }

    .telemetry-dashboard {
        margin-right: -8px;
        margin-left: -8px;
        padding: 10px;
        border-radius: 18px;
    }

    .telemetry-tabs {
        overflow-x: auto;
    }

    .telemetry-tab {
        flex: 0 0 auto;
        min-width: 102px;
    }

    .telemetry-main-card {
        min-height: 430px;
        padding: 17px 14px 13px;
    }

    .telemetry-main-value {
        font-size: 34px;
    }

    .telemetry-live-badge {
        display: none;
    }

    .telemetry-side-stack {
        grid-template-columns: 1fr;
    }

}

@media (max-height: 820px) and (min-width: 1051px) {
    .telemetry-section {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .telemetry-section__title {
        font-size: clamp(40px, 3.8vw, 58px);
    }

    .telemetry-section__description {
        margin-top: 20px;
        font-size: 14px;
    }

    .telemetry-section__signal {
        width: 90px;
        height: 90px;
        margin-top: 35px;
    }

    .telemetry-section__signal::before {
        width: 90px;
        height: 90px;
    }

    .telemetry-section__signal::after {
        width: 58px;
        height: 58px;
    }

    .telemetry-dashboard {
        height: calc(100svh - var(--header-height) - 52px);
        min-height: 545px;
    }

    .telemetry-dashboard__body {
        grid-template-rows:
            minmax(0, 1fr)
            126px;
    }

    .telemetry-main-card {
        padding-top: 16px;
    }

    .telemetry-metric-card {
        padding-top: 11px;
        padding-bottom: 11px;
    }

    .telemetry-metric-card p {
        display: none;
    }
}

.telemetry-main-card {
    display: block;
}

.telemetry-main-standard {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
}

.telemetry-main-standard[hidden],
.telemetry-resources-view[hidden] {
    display: none !important;
}

.telemetry-tab {
    min-width: 126px;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 10px;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}


.telemetry-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    color: #9799a7;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.telemetry-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.telemetry-legend-color {
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: #a36cff;
}

.telemetry-legend-color--1 {
    background: #58c9ff;
}

.telemetry-legend-color--2 {
    background: #68e6b8;
}

.telemetry-chart-line--0 {
    stroke: #a36cff;
}

.telemetry-chart-line--1 {
    stroke: #58c9ff;
}

.telemetry-chart-line--2 {
    stroke: #68e6b8;
}

.telemetry-chart-point--0 {
    stroke: #8e5bff;
}

.telemetry-chart-point--1 {
    stroke: #58c9ff;
}

.telemetry-chart-point--2 {
    stroke: #68e6b8;
}

.telemetry-resources-view {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
}

.telemetry-resource-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 22px;
    margin-top: 14px;
}

.telemetry-resource-summary__item {
    position: relative;
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    padding-left: 13px;
}

.telemetry-resource-summary__item::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 6px;
    content: "";
    border-radius: 50%;
    background: #a36cff;
    box-shadow: 0 0 10px rgba(163, 108, 255, 0.52);
    transform: translateY(-50%);
}

.telemetry-resource-summary__item--ram::before {
    background: #58c9ff;
    box-shadow: 0 0 10px rgba(88, 201, 255, 0.46);
}

.telemetry-resource-summary__item--load::before {
    background: #68e6b8;
    box-shadow: 0 0 10px rgba(104, 230, 184, 0.48);
}

.telemetry-resource-summary__item span {
    color: #9698a6;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.telemetry-resource-summary__item strong {
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.telemetry-main-card.is-resources {
    padding: 20px 24px 14px;
}

.telemetry-main-card.is-resources .telemetry-chart {
    margin-right: -4px;
    margin-left: -4px;
}

.telemetry-main-card.is-resources .telemetry-chart-area {
    pointer-events: none;
}

.telemetry-resources-view .telemetry-chart-stats {
    grid-template-columns: repeat(3, 1fr);
}

.telemetry-sparkline .telemetry-chart-grid {
    stroke: rgba(255, 255, 255, 0.045);
}

.telemetry-sparkline .telemetry-chart-line {
    stroke-width: 2.2;
}

.telemetry-sparkline .telemetry-chart-point {
    display: none;
}

@media (max-width: 1250px) {
    .telemetry-tab {
        min-width: 112px;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 9px;
    }
}

@media (max-width: 620px) {
    .telemetry-tab {
        min-width: 118px;
    }

    .telemetry-main-card.is-resources {
        min-height: 470px;
    }

    .telemetry-resource-summary {
        gap: 9px 14px;
    }

    .telemetry-resource-summary__item strong {
        font-size: 19px;
    }
}
