.health {
    max-width: 1180px;
    margin: 24px auto;
    padding: 0 18px;
    color: #14243e
}

.health-hero {
    background: linear-gradient(120deg,#092344,#234d85);
    color: white;
    border-radius: 18px;
    padding: 28px
}

.health-hero h1 {
    margin: 6px 0;
    font-size: clamp(25px,4vw,38px);
    color: white
}

.health-hero p {
    margin: 0
}

.health-links {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 8px;
    margin: 18px 0
}

.health-links a,.health-panel {
    border: 1px solid #dce4ef;
    border-radius: 14px;
    background: white;
    padding: 18px
}

.health-links a {
    text-align: center;
    font-weight: 700;
    padding: 12px 5px
}

.health-links small {
    display: block;
    color: #64748b
}

.health-panel {
    margin: 14px 0
}

.health-panel h2 {
    font-size: 21px;
    margin: 0 0 16px
}

.health form {
    display: flex;
    gap: 12px;
    align-items: end;
    flex-wrap: wrap
}

.health label {
    flex: 1;
    min-width: 130px;
    font-weight: 600
}

.health select,.health button {
    display: block;
    width: 100%;
    min-height: 44px;
    border: 1px solid #b9c9dd;
    border-radius: 8px;
    padding: 8px;
    font: inherit
}

.health button {
    width: auto;
    background: #123d78;
    color: white;
    cursor: pointer;
    padding: 8px 22px
}

.health-summary {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px
}

.health-stat {
    background: #f1f6fc;
    padding: 15px;
    border-radius: 10px
}

.health-stat strong {
    display: block;
    font-size: 26px
}

.health-bar {
    display: grid;
    grid-template-columns: 80px 1fr 90px;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 14px
}

.health-track {
    background: #edf2f8;
    border-radius: 5px;
    height: 19px;
    overflow: hidden
}

.health-fill {
    height: 100%;
    background: #3277c6;
    border-radius: 5px
}

.health-value {
    text-align: right;
    font-variant-numeric: tabular-nums
}

.health table {
    width: 100%;
    border-collapse: collapse
}

.health td,.health th {
    padding: 8px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left
}

.health details {
    margin-top: 18px
}

.health-panel p {
    font-size: 14px;
    color: #53647a
}

.health-panel a {
    text-decoration: underline
}

@media(max-width:650px) {
    .health-links {
        grid-template-columns: repeat(2,1fr)
    }

    .health-panel {
        padding: 14px
    }

    .health-bar {
        grid-template-columns: 65px 1fr 70px;
        gap: 6px
    }

    .health form button {
        width: 100%
    }

}
