.crystg3-brand {
            display: inline-flex;
            gap: 9px;
            align-items: center;
            color: #123f78;
            font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
            font-size: 25px;
            font-weight: 700;
            letter-spacing: -0.8px;
            line-height: 1;
        }

        .crystg3-brand:hover {
            color: #123f78;
        }

        .crystg3-brand-icon {
            width: 42px;
            height: 42px;
            flex: 0 0 42px;
        }

        .crystg3-brand-g {
            color: #2f86df;
        }

        .crystg3-brand sup {
            position: relative;
            top: -0.35em;
            margin-left: 1px;
            color: #2f86df;
            font-size: 55%;
            line-height: 0;
        }
.disorder-badge {
    display: inline-block;
    padding: 4px 9px;
    background: #edf2f7;
    border-radius: 999px;
    color: #4a5568;
    font-size: 12px;
    line-height: 1.25;
    white-space: nowrap;
}

.disorder-badge.present {
    background: #fff5f5;
    color: #c53030;
}

/* 22.07.2026: shared footer used on every public page. */
.site-footer {
    display: flex;
    width: 100%;
    max-width: 1440px;
    margin: 20px auto 0;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    color: #4a5568;
}

.site-footer-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-footer a {
    text-decoration: none;
}

/* 22.07.2026: compact icon link to the administration area. */
.site-footer-admin {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe4ee;
    border-radius: 50%;
    color: #4a5568;
    font-size: 18px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.site-footer-admin:hover {
    border-color: #90cdf4;
    background: #ebf8ff;
    color: #2b6cb0;
}

@media (max-width: 900px) {
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
