.team-picture{display:block;width:100px;height:100px;object-fit:contain;border-radius:22px;background:#fff;border:1px solid #d9e4ec;padding:8px;flex:0 0 auto}
.directory-card-cover .team-picture{width:88px;height:88px}
.directory-profile-heading .team-picture{width:112px;height:112px}
.team-heading-identity{display:flex;gap:20px;align-items:center;min-width:0}
.team-heading-identity>div{min-width:0}
.team-heading-identity h2{overflow-wrap:anywhere}
.team-roster-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;list-style:none;padding:0;margin:22px 0 0}
.team-roster-grid li{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #dfe7ee;border-radius:14px;min-width:0;background:#f7fafc}
.team-roster-grid strong{overflow-wrap:anywhere;color:#18384e}
.team-roster-avatar{display:flex;align-items:center;justify-content:center;width:56px;height:56px;flex:0 0 56px;border-radius:50%;overflow:hidden;background:#deedf6;color:#15547a;font-weight:800}
.team-roster-avatar img{width:100%;height:100%;object-fit:cover}
.team-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}
.team-role-card{min-width:0;margin:0;padding:20px;border:1px solid #d6e2eb;border-radius:16px;background:#f8fbfd}
.team-role-card legend{width:auto;padding:0 7px;font-size:1.12rem;font-weight:800;color:#133e5b}
.team-permission{display:flex;gap:10px;align-items:flex-start;padding:10px 0;line-height:1.5;font-size:.92rem;cursor:pointer;color:#294b61}
.team-permission input{width:19px;height:19px;flex:0 0 19px;margin-top:2px;accent-color:#176b96}
.team-permission input:focus-visible{outline:3px solid #74b6df;outline-offset:3px}
.team-member-role-form{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;width:100%;border-top:1px solid #e4ebf0;padding-top:12px}
.team-member-role-form .hq-field{flex:1 1 150px}
.team-member-role-form .hq-button{flex:0 0 auto}
.team-logo-current{margin:16px 0}.team-logo-editor input[type=file]{max-width:100%;padding:12px;background:#f4f8fb}
.team-logo-editor>.hq-inline{margin-top:14px}.team-permissions-form>.hq-button{min-width:160px}
@media(max-width:900px){.team-role-grid{grid-template-columns:1fr}.team-role-card{padding:16px}.team-heading-identity{gap:12px}.team-heading-identity .team-picture{width:72px;height:72px;border-radius:16px}}
@media(max-width:480px){.directory-profile-heading .team-picture{width:80px;height:80px}.team-roster-grid{grid-template-columns:1fr}.team-heading-identity{align-items:flex-start;flex-wrap:wrap}}
