/* Directory search dialog and the selected-member list. Everything reads from the design tokens so
   the dialog follows the workspace theme and dark mode like the rest of the workspace. */
.rd-directory-dialog{width:min(1100px,calc(100vw - 32px));max-height:90vh;overflow:auto;padding:var(--hrmc-s5,24px);
    border:1px solid var(--hrmc-border);border-radius:var(--hrmc-r-card,12px);box-shadow:var(--hrmc-e3);
    color:var(--hrmc-text);background:var(--hrmc-surface)}
.rd-directory-dialog::backdrop{background:color-mix(in srgb,#000 45%,transparent)}
.rd-directory-dialog [hidden]{display:none!important}
.rd-directory-dialog>.rd-toolbar:first-child{margin-bottom:var(--hrmc-s4,16px)}
.rd-directory-dialog h2{margin:0;font-size:var(--hrmc-fs-title,20px)}
.rd-directory-dialog .rd-actions{margin:var(--hrmc-s3,12px) 0}
.rd-directory-dialog input[type=checkbox]{width:18px;height:18px}
.rd-directory-dialog [data-error]:empty{display:none}
.rd-member-list{max-height:340px;overflow:auto;margin-top:var(--hrmc-s2,8px)}
.rd-member-list>div{display:flex;align-items:center;justify-content:space-between;gap:var(--hrmc-s3,12px);
    padding:var(--hrmc-s1,4px) 0;border-bottom:1px solid var(--hrmc-border)}
.rd-member-list span{overflow-wrap:anywhere}
[data-member-picker]{min-width:0}
[data-member-count]{font-size:var(--hrmc-fs-small,12.5px);color:var(--hrmc-text-muted)}
