/* Shared Connector density, scoped to Team. */
.crm-team{font:400 14px/1.55 Inter,sans-serif}
.crm-team .page-heading{margin-bottom:24px}.crm-team .page-heading .eyebrow:empty{display:none}
.crm-team .page-heading h1{font:500 30px/1.2 Inter,sans-serif;letter-spacing:normal;margin:0}
.team-layout{display:grid;gap:24px;min-width:0}
.crm-team .panel{padding:20px;margin:0;border-radius:12px;min-width:0}
.crm-team h2{font:600 14px/1.4 Inter,sans-serif;letter-spacing:normal;margin:0}
.crm-team .section-title{padding:0;margin:0;border:0}
.crm-team p,.crm-team small,.team-dialog p{font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.crm-team p{margin:12px 0 16px}.crm-team small{font-weight:400;color:var(--muted)}
.crm-team label{display:grid;gap:7px;margin:0;min-width:0;font-size:12px;align-content:start}
.crm-team button,.crm-team input,.crm-team select,.team-dialog button,.team-dialog input{font:400 12px/1.55 Inter,sans-serif;min-height:44px;box-sizing:border-box;min-width:0;max-width:100%}
.crm-team input,.crm-team select,.team-dialog input{margin:0}
.crm-team button,.team-dialog button{padding:10px 14px;border-radius:7px}
.team-invite-panel form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(160px,220px) auto;gap:16px;align-items:end;margin-top:18px}
.team-members,.team-invitations{padding:0;margin:12px 0 0;list-style:none;min-width:0}
.team-member,.team-invitation{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:16px 0;min-width:0}
.team-member:last-child,.team-invitation:last-child{padding-bottom:0}
.team-member-identity{display:flex;align-items:center;gap:12px;min-width:0}
.team-member-identity>div{display:grid;gap:4px;min-width:0}.team-member-identity b,.team-invitation b{font-size:12px;font-weight:600;overflow-wrap:anywhere}
.team-row-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}.team-row-actions select{width:170px}
.team-role,.team-state{font-size:11px}.team-invitation p{margin:4px 0}.team-invitation>div:first-child{min-width:0}
.team-role-help summary,.team-history summary{font-size:14px;font-weight:600;min-height:44px;align-content:center;cursor:pointer}
.team-role-help dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin:16px 0 0}.team-role-help dt{font-size:12px;font-weight:600}.team-role-help dd{font-size:12px;margin:6px 0 0}
.team-history{border-top:1px solid var(--line);margin-top:20px;padding-top:12px}
.team-feedback{display:grid;gap:12px;justify-items:start}.team-feedback p{margin:0}.team-feedback:has(p:empty):not(:has(p:not(:empty))){display:none}
.team-feedback p:empty,.crm-team [hidden],.team-dialog [role=alert]:empty,.team-dialog [role=status]:empty{display:none}
.crm-team [role=alert],.team-dialog [role=alert]{color:#9c321c}
.crm-team :is(button,input,select,summary):focus-visible,.team-dialog :is(button,input):focus-visible{outline:2px solid var(--focus,#245bdb);outline-offset:3px}
.team-dialog{padding:24px;max-width:min(640px,calc(100vw - 32px));border-radius:14px}.team-dialog h2{font:600 18px/1.4 Inter,sans-serif;margin:0;letter-spacing:normal}.team-dialog .dialog-content{display:grid;gap:16px;margin:20px 0}.team-dialog p{margin:0}.team-dialog label{display:grid;gap:7px;font-size:12px;margin:0}.team-dialog footer{gap:12px;flex-wrap:wrap}.team-dialog .dialog-close{width:44px;height:44px;padding:0;flex-shrink:0}
@media(max-width:1000px){.team-invite-panel form{grid-template-columns:1fr 1fr}.team-invite-panel form>button{grid-column:1/-1;justify-self:start}.team-member,.team-invitation{align-items:start;flex-direction:column}.team-row-actions{width:100%}}
@media(max-width:767px){.team-invite-panel form,.team-role-help dl{grid-template-columns:minmax(0,1fr)}.team-invite-panel form>button{justify-self:stretch}.crm-team input,.crm-team select,.team-dialog input{font-size:16px}.team-row-actions>label{flex:1}.team-row-actions select{width:100%}.team-row-actions button{flex:1}.team-member .team-row-actions{display:grid;grid-template-columns:minmax(0,1fr)}.team-dialog footer button{flex:1}}
