.fenapi-user-avatar{overflow:hidden;flex-shrink:0}
.fenapi-user-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.fenapi-user-avatar [hidden]{display:none!important}
.fenapi-user-dropdown .foto-profilo-apri{display:flex;align-items:center;gap:9px;width:100%;padding:10px 12px;border:0;border-radius:5px;background:transparent;color:#284c6d;font:inherit;font-size:12px;text-align:left;cursor:pointer}
.fenapi-user-dropdown .foto-profilo-apri:hover{background:#eaf3fb;color:#0d568d}
.foto-profilo-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;margin:auto;padding:24px;border:1px solid #c9d7e4;border-radius:14px;background:#fff;color:#20344f;box-shadow:0 20px 55px rgba(3,29,52,.3)}
.foto-profilo-dialog::backdrop{background:rgba(5,25,43,.55)}
.foto-profilo-dialog h2{margin:0;font-size:21px}
.foto-profilo-dialog p{margin:10px 0 18px;color:#60748a;font-size:13px;line-height:1.5}
.foto-profilo-anteprima{display:block;width:96px;height:96px;border-radius:50%;object-fit:cover;background:#edf3f8;margin:16px auto 20px;border:3px solid #e2ebf4}
.foto-profilo-campo{padding:14px;margin-top:12px;background:#f6f9fc;border:1px solid #dce6ef;border-radius:9px}
.foto-profilo-campo label{display:block;margin-bottom:8px;font-size:13px;font-weight:600}
.foto-profilo-campo input{width:100%;box-sizing:border-box;font-size:13px}
.foto-profilo-campo input[type=url]{padding:9px;border:1px solid #bdcedd;border-radius:6px}
.foto-profilo-campo small{display:block;margin-top:8px;font-size:11px;line-height:1.45;color:#60748a}
.foto-profilo-dialog button{border:1px solid #c4d3e1;border-radius:6px;padding:8px 12px;background:#fff;color:#284c6d;font-size:12px;cursor:pointer}
.foto-profilo-dialog button:disabled{opacity:.6;cursor:wait}
.foto-profilo-dialog #foto-profilo-prova-link{margin-top:9px}
.foto-profilo-dialog #foto-profilo-salva{background:#175f93;color:#fff;border-color:#175f93}
.foto-profilo-dialog #foto-profilo-rimuovi{margin-right:auto;color:#a33045}
.foto-profilo-azioni{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.foto-profilo-messaggio{min-height:18px;margin-top:14px;color:#287346;font-size:12px;line-height:1.4}
.foto-profilo-messaggio.errore{color:#b22f45}
