/* Status page: policy shell + service card from Cloud /health */

.health-page .policy-hero {
    max-width: 42rem;
}

.health-page .policy-intro a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    text-decoration-color: rgba(255, 255, 255, 0.28);
}

.health-maintenance {
    margin-top: clamp(1.5rem, 3vw, 2rem);
    padding: 1rem 1.15rem;
    border: 1px solid rgba(212, 168, 75, 0.35);
    border-radius: 0.85rem;
    background: rgba(28, 24, 16, 0.55);
}

.health-maintenance__title {
    margin: 0 0 0.35rem;
    font-size: 0.9375rem;
    color: #e8c26a;
}

.health-maintenance__reason {
    margin: 0;
    color: rgba(255, 248, 230, 0.85);
    line-height: 1.5;
}

.health-maintenance__meta {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: rgba(255, 248, 230, 0.5);
}

.health-card {
    margin-top: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.health-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.health-card__head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.health-badge {
    font-family: var(--font-meta);
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.55);
}

.health-badge.is-ok {
    border-color: rgba(48, 209, 88, 0.35);
    color: #30d158;
}

.health-badge.is-bad {
    border-color: rgba(255, 69, 58, 0.35);
    color: #ff453a;
}

.health-output {
    padding: 0.5rem 0 0;
}

.health-service {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.health-service:last-of-type {
    border-bottom: none;
}

.health-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem 0.35rem;
    font-size: 0.9375rem;
}

.health-row__label {
    font-weight: 500;
    color: #ffffff;
}

.health-row .is-ok,
.health-row .is-bad,
.health-row .is-unknown {
    font-family: var(--font-meta);
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.health-row .is-ok {
    color: #30d158;
}

.health-row .is-bad {
    color: #ff453a;
}

.health-row .is-unknown {
    color: rgba(255, 255, 255, 0.45);
}

.health-service__desc {
    margin: 0;
    padding: 0 1.25rem 1rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.48);
}

.health-meta {
    padding: 1rem 1.25rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.38);
}

.health-msg {
    margin: 0;
    padding: 1rem 1.25rem 1.15rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
}

.health-msg a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    text-decoration-color: rgba(255, 255, 255, 0.28);
}
