/* Keep all directory columns visible without inflating the account column.
   Very small phone layouts retain their existing cards/scroll behavior. */
@media(min-width:600px){
 .directory-workspace .directory-body{display:flex;flex-direction:column;gap:10px}
 .directory-workspace .directory-categories{flex-direction:row;padding:0;border:0;gap:8px;flex:none}
 .directory-workspace .directory-categories button{padding:6px 12px;min-height:32px;font-size:12px}
 .directory-workspace .directory-main{flex:1;min-height:0}
 .directory-workspace .directory-main table.account-directory-table{table-layout:fixed;width:100%;min-width:0!important;max-width:100%}
 .directory-workspace .directory-main table.account-directory-table :is(th,td){min-width:0!important;max-width:none!important;padding:8px 3px!important;font-size:12px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
 .directory-workspace .directory-main table.account-directory-table td.account-name-cell{min-width:0!important;max-width:none!important;white-space:normal}
 .directory-workspace .directory-main table.account-directory-table .account-name-box{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:6px;min-width:0;max-width:100%;width:100%}
 .directory-workspace .directory-main table.account-directory-table .account-name-box :is(.account-copy,.account-alias){min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
 .directory-workspace .directory-main table.account-directory-table .account-name-box .account-copy{flex:0 1 auto;padding:2px 0!important}
 .directory-workspace .directory-main table.account-directory-table .account-name-box:has(.account-alias) .account-copy{max-width:55%}
 .directory-workspace .directory-main table.account-directory-table .account-name-box .account-alias{flex:1 1 0}
 .directory-workspace .directory-main table.account-directory-table :is(.directory-row-actions,.directory-actions-cell){white-space:normal}
 .directory-workspace .directory-main table.account-directory-table .directory-row-actions{display:inline-flex;gap:2px;margin:0;max-width:100%;flex-wrap:wrap}
 .directory-workspace .directory-main table.account-directory-table td button{min-width:0;max-width:100%;min-height:28px;padding:4px 5px!important;margin:2px 1px!important;font-size:11px!important;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
 .directory-workspace .directory-main table.account-directory-table .directory-shortcut-cell{min-width:0;width:auto;padding-inline:2px!important}
 .directory-workspace .directory-main table.account-directory-table .directory-shortcut-cell button{padding-inline:2px!important;white-space:nowrap}
 .directory-workspace .directory-main table.account-directory-table td.presence-cell{padding-inline:2px!important}
 .directory-workspace .directory-main table.account-directory-table td.presence-cell::before{width:4px;height:4px;margin-right:2px}
 .directory-workspace table:has(#networkRows) th:nth-child(1){width:4%}
 .directory-workspace table:has(#networkRows) th:nth-child(2){width:20%}
 .directory-workspace table:has(#networkRows) th:nth-child(3){width:5%}
 .directory-workspace table:has(#networkRows) th:nth-child(4){width:5%}
 .directory-workspace table:has(#networkRows) th:nth-child(5){width:10%}
 .directory-workspace table:has(#networkRows) th:nth-child(6){width:8%}
 .directory-workspace table:has(#networkRows) th:nth-child(7){width:8%}
 .directory-workspace table:has(#networkRows) th:nth-child(8){width:10%}
 .directory-workspace table:has(#networkRows) th:nth-child(9){width:6%}
 .directory-workspace table:has(#networkRows) th:nth-child(10){width:4%}
 .directory-workspace table:has(#networkRows) th:nth-child(11){width:4%}
 .directory-workspace table:has(#networkRows) th:nth-child(12){width:6%}
 .directory-workspace table:has(#networkRows) th:nth-child(13){width:10%}
 .directory-workspace table:has(#memberRows) th:nth-child(1){width:22%}
 .directory-workspace table:has(#memberRows) th:nth-child(2){width:7%}
 .directory-workspace table:has(#memberRows) th:nth-child(3){width:7%}
 .directory-workspace table:has(#memberRows) th:nth-child(4){width:12%}
 .directory-workspace table:has(#memberRows) th:nth-child(5){width:10%}
 .directory-workspace table:has(#memberRows) th:nth-child(6){width:12%}
 .directory-workspace table:has(#memberRows) th:nth-child(7){width:7%}
 .directory-workspace table:has(#memberRows) th:nth-child(8){width:5%}
 .directory-workspace table:has(#memberRows) th:nth-child(9){width:5%}
 .directory-workspace table:has(#memberRows) th:nth-child(10){width:6%}
 .directory-workspace table:has(#memberRows) th:nth-child(11){width:7%}
 .directory-workspace table:has(#children) th:first-child,.directory-workspace table:has(#members) th:first-child{width:22%}
}
@media(min-width:600px) and (max-width:900px){
 .directory-workspace .directory-main table.account-directory-table :is(th,td),.directory-workspace .directory-main table.account-directory-table .account-name-box :is(.account-copy,.account-alias){font-size:11px!important}
}
