.myTeam{padding:20px 0;min-width:0;color:var(--text);letter-spacing:0}
.myTeamHeader,.myTeamMemberHeader,.myTeamActions,.myTeamClientsHeader,.myTeamDialog header,.myTeamDialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.myTeamHeader{padding:0 4px 18px;border-bottom:1px solid var(--border)}
.myTeam h2,.myTeam h3,.myTeam h4,.myTeamDialog h3{margin:0;font-size:20px;line-height:1.4;overflow-wrap:anywhere}
.myTeam h3,.myTeamDialog h3{font-size:18px}.myTeam h4{font-size:16px}
.myTeamActions{justify-content:flex-end;flex-shrink:0}
.myTeamLayout{display:grid;grid-template-columns:minmax(200px,300px) minmax(0,1fr);min-height:400px}
.myTeamList{padding:12px 16px 12px 0;border-right:1px solid var(--border);min-width:0}
.myTeamList>button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;padding:14px 12px;border:0;border-bottom:1px solid var(--border-soft);background:transparent;color:var(--text);text-align:left;white-space:normal;border-radius:6px;cursor:pointer;overflow-wrap:anywhere}
.myTeamList>button[aria-pressed=true]{background:var(--primary-soft);box-shadow:inset 3px 0 var(--primary)}
.myTeamList span,.myTeamMemberHeader p{font-size:13px;color:var(--muted);margin:0}
.myTeamDetail{padding:22px;min-width:0}.myTeamContacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:26px 0;padding-bottom:24px;border-bottom:1px solid var(--border)}
.myTeamContacts dt{font-size:13px;font-weight:500;text-transform:none;color:var(--muted);margin-bottom:8px}.myTeamContacts dd{margin:0;font-size:15px;font-weight:400;overflow-wrap:anywhere}.myTeamContacts a{color:var(--primary)}
.myTeamClientsHeader{margin:20px 0 14px}.myTeam .myTeamClientsHeader input{width:320px;max-width:100%;min-width:0}
.myTeamTableWrap{overflow:auto;max-width:100%}.myTeam table{width:100%;border-collapse:collapse;font-size:14px;min-width:580px}.myTeam th,.myTeam td{padding:13px 10px;text-align:left;border-bottom:1px solid var(--border-soft);overflow-wrap:anywhere}.myTeam th{font-size:12px;color:var(--muted);font-weight:600}.myTeam td:first-child{min-width:180px}
.myTeam input,.myTeamDialog input,.myTeamDialog select{font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:11px 12px;max-width:100%;box-sizing:border-box;letter-spacing:0}
.myTeamError{color:var(--danger);overflow-wrap:anywhere}.myTeam button:focus-visible,.myTeamDialog button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.myTeamBackdrop{position:fixed;inset:0;z-index:1200;background:#0007;display:flex;justify-content:center;align-items:center;padding:20px;box-sizing:border-box}
.myTeamDialog{width:560px;max-width:100%;max-height:calc(100dvh - 40px);overflow:auto;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:22px;box-sizing:border-box}
.myTeamDialog header{margin-bottom:18px}.myTeamDialog fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:16px}.myTeamDialog label{display:grid;gap:7px;font-size:14px;font-weight:600}.myTeamDialog input,.myTeamDialog select{width:100%;font-size:15px;font-weight:400;min-width:0}
.myTeamDialog select{padding-right:36px}.myTeamFormColumns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.myTeamDialog footer{justify-content:flex-end;margin-top:6px}
.myTeamCombo{position:relative;display:grid;gap:7px}.myTeamOptions{position:absolute;z-index:2;top:100%;left:0;right:0;max-height:240px;overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 24px #0002}
.myTeamOptions button{display:flex;justify-content:space-between;gap:12px;width:100%;padding:12px;border:0;border-radius:0;background:transparent;color:var(--text);text-align:left;font:inherit;white-space:normal;cursor:pointer}.myTeamOptions button[aria-selected=true],.myTeamOptions button:hover{background:var(--primary-soft)}.myTeamOptions span{overflow-wrap:anywhere}.myTeamOptions small{white-space:nowrap;color:var(--muted)}.myTeamOptions p{padding:0 12px}
@media(max-width:760px){.myTeamLayout{grid-template-columns:minmax(0,1fr)}.myTeamList{border-right:0;border-bottom:1px solid var(--border);padding-right:0;max-height:270px;overflow:auto}.myTeamDetail{padding:18px 0}.myTeamContacts{grid-template-columns:minmax(0,1fr);gap:16px}.myTeamFormColumns{grid-template-columns:minmax(0,1fr)}.myTeamBackdrop{padding:10px}.myTeamDialog{padding:16px;max-height:calc(100dvh - 20px)}.myTeamHeader{align-items:flex-start}.myTeamClientsHeader input{width:100%;max-width:none}}
