.am-directory-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:16px;margin-top:16px;min-height:330px}
.am-directory-sidebar{border:1px solid var(--border,#dce3ec);border-radius:10px;padding:12px;min-width:0;align-self:start}
.am-directory-sidebar input{width:100%;box-sizing:border-box;margin-bottom:10px;min-width:0}
.am-directory-tree{max-height:405px;overflow:auto}
.am-directory-tree ul{list-style:none;padding-left:12px;margin:4px 0}
.am-directory-tree>ul{padding-left:0}
.am-directory-tree summary{padding:9px 4px;cursor:pointer;color:var(--text,#16243a);overflow-wrap:anywhere}
.am-department{display:flex;justify-content:space-between;gap:8px;width:100%;padding:9px 8px;border:0;background:transparent;border-radius:7px;text-align:left;color:inherit;cursor:pointer;line-height:1.45;overflow-wrap:anywhere}
.am-department span{flex:none;color:var(--muted,#6b7b92)}
.am-department:hover,.am-department.is-selected{background:#edf3ff;color:#2563eb}
.am-directory-results{min-width:0}
.am-directory-results .am-members{max-height:405px;overflow:auto;padding-right:4px}
.am-directory-group{margin-bottom:14px}
.am-directory-group h4{font-size:13px;font-weight:600;color:var(--muted,#64748b);margin:0 0 8px;padding:7px 0;border-bottom:1px solid var(--border,#e1e7ef)}
.am-directory-group .am-member{margin-bottom:8px}
@media(max-width:760px){.am-directory-layout{grid-template-columns:1fr}.am-directory-tree{max-height:180px}.am-directory-results .am-members{max-height:320px}}

.am-directory-tree summary{display:flex;align-items:center;gap:2px;list-style:none;padding:0}.am-tree-caret{flex:none;width:13px;color:#758298}.am-directory-tree summary .am-department{flex:1;min-width:0}.am-directory-tree details:not([open])>summary .am-tree-caret{transform:rotate(-90deg)}

.am-directory-source-note{margin:12px 0 0;padding:10px 12px;border-radius:8px;background:#fff8e8;color:#806017;font-size:12px;line-height:1.7}
