/* AncestroWeb — Styles d’origine, cascade conservée. */

    .pcm-brand-shield { width: 34px; height: 38px; object-fit: contain; vertical-align: -8px; margin-right: 6px; }

/* En-tête : photo du compte et boutons strictement identiques. */
.pcm-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}
.pcm-avatar {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #9dbbad;
}
.header-links > a,
.header-links > .pcm-header-button,
.header-links #who .pcm-header-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 148px;
    height: 42px;
    min-height: 42px;
    padding: 0 10px;
    flex: 0 0 148px;
    border: 1px solid #9dbbad;
    border-radius: 9px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    line-height: normal;
}
.header-links > a:hover,
.header-links > a:focus-visible,
.header-links .pcm-header-button:hover,
.header-links .pcm-header-button:focus-visible {
    background: #2e6953;
}
/* Le bouton de déconnexion est contenu dans #who : aucun écart de taille. */
#who {
    display: flex;
    align-items: center;
}

/* Photo placée à l'emplacement de l'ancien texte explicatif. */
.pcm-user-photo-box {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.pcm-photo-placeholder {
    color: #68756d;
    font-size: 14px;
}
.pcm-photo-preview:not(.hidden) + .pcm-photo-placeholder {
    display: none;
}
/* Photo de l’utilisateur sélectionné dans le formulaire administrateur. */
.pcm-photo-preview {
    display: block;
    width: 90px;
    height: 90px;
    margin: 12px 0;
    border: 2px solid #9dbbad;
    border-radius: 50%;
    object-fit: cover;
}
   
