/* Fit the live nine-column agent directory without shrinking browser zoom. */
.console-content:has(.agent-directory){padding-left:16px!important;padding-right:16px!important}
.agent-directory .directory-table{min-width:0!important;width:100%;table-layout:fixed}
.agent-directory .directory-table th,.agent-directory .directory-table td{padding:12px 8px;box-sizing:border-box}
.agent-directory .directory-table th:nth-child(1){width:14%!important}
.agent-directory .directory-table th:nth-child(2){width:7%!important}
.agent-directory .directory-table th:nth-child(3){width:8%!important}
.agent-directory .directory-table th:nth-child(4){width:6%!important}
.agent-directory .directory-table th:nth-child(5){width:8%!important}
.agent-directory .directory-table th:nth-child(6){width:18%!important}
.agent-directory .directory-table th:nth-child(7){width:11%!important}
.agent-directory .directory-table th:nth-child(8){width:9%!important}
.agent-directory .directory-table th:nth-child(9){width:19%!important}
.agent-directory .directory-actions{display:flex;min-width:0;width:100%;max-width:100%;flex-wrap:wrap;gap:5px;white-space:normal}
.agent-directory .directory-actions .tier-agent{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;flex:0 0 100%;width:100%;min-width:0}
.agent-directory .directory-actions .tier-agent button{width:100%;min-width:0;height:auto;min-height:30px;padding:4px 6px;white-space:normal;line-height:20px;box-sizing:border-box}
.agent-directory .directory-actions .tier-agent small{grid-column:1/-1}
.agent-directory .directory-actions>button{min-width:0;max-width:100%;padding:0 7px}
.agent-directory .directory-actions .more-button{min-width:30px;width:30px}
.agent-directory .directory-table td[data-label="已用积分"]:has(.compute-row-control){padding-right:8px;min-width:0}
.agent-directory .compute-row-control{position:static;transform:none;align-items:center;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;gap:5px;margin-top:8px}
.agent-directory .compute-row-control button{padding:3px 7px}
.agent-directory .compute-usage{gap:6px}
.agent-directory .compute-usage>div{gap:5px;flex-wrap:wrap}
.agent-directory .compute-usage span{width:auto;min-width:60px}
.agent-directory .compute-usage strong{white-space:normal;overflow-wrap:anywhere;font-size:13px}
.agent-directory .creative-unlimited-control{gap:5px;margin-top:7px}
.agent-directory .creative-unlimited-control button{height:27px;min-height:27px;padding:0 7px}
.agent-directory .compute-manage-button{max-width:100%;gap:4px;min-height:32px;padding:5px 7px;white-space:normal;text-align:left;box-sizing:border-box}
.agent-directory .agent-identity{gap:7px}
.agent-directory .agent-identity>span{width:30px;height:30px}
.agent-directory .agent-identity strong{white-space:normal;overflow-wrap:anywhere}
.agent-directory .license-state-line{gap:4px}
.agent-directory .directory-table td[data-label="最近登录"]>small{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.agent-directory .directory-toolbar{gap:8px;padding:12px}
@container (min-width:1400px){.agent-directory .directory-actions .tier-agent{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:1000px){
 .agent-directory .directory-table td{padding:0}
 .agent-directory .directory-table td[data-label="已用积分"]:has(.compute-row-control){padding-right:0}
 .agent-directory .directory-actions .tier-agent{grid-template-columns:repeat(2,minmax(0,1fr))}
 .agent-directory .directory-table tbody td[data-label="操作"]{grid-column:1/-1}
}
