.headshot-fields{min-width:0;margin:20px 0;padding:18px;border:1px solid #cbd8e9;border-radius:10px;background:#f7f9fe}
.headshot-fields legend{padding:0 7px;font-size:13px;font-weight:700;color:#173e80}
.headshot-fields legend small{font-weight:400}
.headshot-controls{display:flex;align-items:center;gap:18px;min-width:0}
.headshot-controls>div:last-child{flex:1;min-width:0}
.headshot-fields p{font-size:12px;line-height:1.7;color:#485569;margin:10px 0}
.headshot-fields input[type=file]{max-width:100%;width:100%;padding:10px;font:12px 'DM Sans',Arial,sans-serif;background:#fff;overflow-wrap:anywhere}
.headshot-fields input::file-selector-button{padding:9px 10px;margin-right:10px;border:1px solid #a9b9d4;border-radius:5px;background:#edf2ff;color:#173e80;font-weight:600;cursor:pointer}
.headshot-fields .secondary{margin-top:9px;font-size:12px}
.headshot-fields [data-state=error]{color:#a22820}
.headshot-fields [data-state=success]{color:#185c35}
.headshot-avatar{display:grid;place-items:center;width:74px;height:74px;border-radius:50%;background:#0751d6;color:#fff;font:700 26px 'DM Sans',Arial,sans-serif;flex-shrink:0}
.headshot-avatar,.p-avatar,.athlete-mark{position:relative;overflow:hidden}
.headshot-avatar img,.p-avatar img,.athlete-mark img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 35%;opacity:0}
.headshot-avatar.has-headshot img,.p-avatar.has-headshot img,.athlete-mark.has-headshot img{opacity:1}
.athlete-mark.has-headshot{width:96px;height:96px}
@media(max-width:420px){.headshot-fields{padding:14px}.headshot-controls{align-items:flex-start;flex-direction:column;gap:10px}.headshot-controls>div:last-child{width:100%}}
@media print{.athlete-mark{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
