.board-person[data-team-hover] { cursor:help; }
.person-teams-tooltip { position:fixed; z-index:100; width:300px; max-width:calc(100vw - 24px); max-height:min(360px,calc(100dvh - 24px)); overflow:auto; padding:0; border:1px solid #dce3ed; border-radius:16px; background:#fff; color:#172236; box-shadow:0 12px 36px #14223826,0 2px 6px #1422380d; font-family:var(--font-ui); }
.person-teams-tooltip[hidden] { display:none; }
.person-teams-heading { display:flex; gap:10px; align-items:center; padding:16px; border-bottom:1px solid #e7ecf3; background:#f5f8fc; }
.person-teams-heading > div { min-width:0; }
.person-teams-heading strong { display:block; font-size:14px; line-height:1.4; overflow-wrap:anywhere; }
.person-teams-heading > div > span { display:block; font-size:11px; line-height:1.5; color:#637189; margin-top:2px; }
.person-teams-avatar { display:grid; place-items:center; flex-shrink:0; width:36px; height:36px; border:2px solid #ef8a28; background:#fff; color:#183765; border-radius:50%; overflow:hidden; font-size:15px; font-weight:600; }
.person-teams-avatar img { width:100%; height:100%; object-fit:cover; }
.person-teams-count { display:grid; place-items:center; flex-shrink:0; width:25px; height:25px; border-radius:8px; margin-left:auto; background:#e1eaf6; color:#183765; font-size:12px; font-weight:600; }
.person-teams-list { list-style:none; margin:0; padding:10px; display:grid; gap:6px; }
.person-teams-list > li { display:flex; align-items:center; gap:10px; min-height:42px; padding:8px 10px; border:1px solid #e5eaf1; border-left:3px solid var(--person-team-color,#d9dfe8); border-radius:9px; background:#fff; font-size:13px; line-height:1.4; overflow-wrap:anywhere; }
.person-team-symbol { display:grid; place-items:center; flex-shrink:0; width:26px; height:26px; border-radius:7px; background:#f1f4f8; font-size:17px; }
.person-team-dot { flex-shrink:0; width:7px; height:7px; border-radius:50%; margin-left:auto; background:var(--person-team-color); }
.person-teams-list > .person-teams-empty { color:#637189; font-size:12px; border:0; }
@media print { .person-teams-tooltip { display:none!important; } }
