:root {
    --gds-blue: #17324d;
    --gds-gs: #2f7d57;
    --gds-gr: #ef7d22;
    --gds-paper: #fffaf3;
}

.gds-badges {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    margin-inline-start: .42rem;
    vertical-align: middle;
    white-space: nowrap;
}

.gds-badge {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 2.1rem;
    height: 1.55rem;
    padding: 0 .45rem;
    border: 1px solid currentColor;
    border-radius: .4rem;
    color: #fff;
    font-size: .68rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .02em;
    vertical-align: middle;
    box-shadow: none;
}

.gds-badge--gs {
    border-color: #246645;
    background: var(--gds-gs);
}

.gds-badge--gr {
    border-color: #c85f10;
    background: var(--gds-gr);
}

.gds-badges--directory .gds-badge,
.selpt-byline .gds-badge,
.um-member-name .gds-badge {
    width: auto;
    min-width: 1.8rem;
    height: 1.35rem;
    padding: 0 .34rem;
    border-radius: .32rem;
    font-size: .6rem;
}

.gds-signature {
    box-sizing: border-box;
    max-width: 900px;
    margin: 1.5rem auto;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(23, 50, 77, .16);
    border-radius: 16px;
    background: var(--gds-paper);
    color: var(--gds-blue);
    text-align: center;
    box-shadow: 0 8px 24px rgba(23, 50, 77, .07);
}

.gds-signature__title {
    margin-bottom: .5rem;
    color: var(--gds-blue);
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    font-weight: 850;
}

.gds-signature p {
    margin: 0;
    font-size: 1.05rem;
}

.gds-signature .gds-badge,
.gds-legend .gds-badge,
.gds-admin .gds-badge {
    width: auto;
    min-width: 2rem;
    height: 1.45rem;
    padding: 0 .4rem;
    border-radius: .36rem;
    font-size: .63rem;
}

.gds-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .75rem 1.3rem;
    color: var(--gds-blue);
}

.gds-legend > span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
}

.gds-admin {
    max-width: 1180px;
}

.gds-admin .gds-intro {
    color: var(--gds-blue);
    font-size: 1.08rem;
}

.gds-admin-card {
    margin: 1rem 0 1.4rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    background: #fff;
}

.gds-admin-card h2 {
    margin-top: 0;
}

.gds-table td,
.gds-table th {
    vertical-align: middle;
}

@media (max-width: 700px) {
    .gds-badge {
        width: auto;
        min-width: 2rem;
        height: 1.45rem;
        padding: 0 .4rem;
        font-size: .63rem;
    }

    .gds-signature {
        margin-inline: 1rem;
        padding: 1rem;
    }

    .gds-admin-card {
        padding: 1rem;
        overflow-x: auto;
    }
}
