.nexus-m365-dialog{width:min(840px,94vw);height:fit-content;max-height:90dvh;overflow:auto}
.nexus-m365-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nexus-m365-group{display:flex!important;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel);cursor:pointer}
.nexus-m365-group input{width:20px!important;height:20px!important;min-width:20px;accent-color:#3198ff;margin-top:3px}
.nexus-m365-group small{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere;margin-top:5px;opacity:.8}
.nexus-m365-dialog .nexus-card{margin:12px 0;overflow-wrap:anywhere}
.nexus-m365-dialog .nexus-card>.secondary-button{margin-top:12px}
.nexus-m365-excerpt{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6;max-height:320px;overflow:auto}
.nexus-m365-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.nexus-m365-stats strong{font-size:30px;display:block;color:#3198ff}
.nexus-m365-stats span{font-size:13px}
@media(max-width:640px){.nexus-m365-groups,.nexus-m365-stats{grid-template-columns:1fr}.nexus-m365-dialog .nexus-security-actions>*{flex:1 1 100%}.nexus-m365-group{padding:12px}}

.nexus-m365-selected{display:flex;align-items:center;gap:10px;padding:8px 10px;flex-wrap:wrap;font-size:13px;color:var(--accent);grid-column:1 / -1}.nexus-m365-selected button{font-size:12px;padding:4px 8px}
