/* Presentation only. Keep every existing node, label, handler and state. */
.agent-directory .directory-actions {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px!important;
  align-items:stretch!important;
  min-width:0!important;
  width:100%;
  max-width:100%;
  padding:12px;
  box-sizing:border-box;
  border:1px solid #e2e9f3;
  border-radius:10px;
  background:#f8faff;
  container-type:inline-size;
  container-name:agent-actions;
}
.agent-directory .directory-actions > * {min-width:0;max-width:100%;order:1}
.agent-directory .directory-actions > button,
.agent-directory .directory-actions .more-button,
.agent-directory .directory-actions .tier-agent button {
  display:flex!important;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:100%!important;
  height:auto!important;
  min-height:34px!important;
  margin:0!important;
  padding:6px 8px!important;
  border:1px solid #d7e2f0;
  border-radius:6px!important;
  background:#fff;
  color:#35649c;
  font:12px/20px "Microsoft YaHei",sans-serif!important;
  text-align:center;
  white-space:normal!important;
  overflow-wrap:anywhere;
}
.agent-directory .directory-actions > .el-dropdown {display:flex;align-items:stretch;justify-content:stretch}
.agent-directory .directory-actions .more-button {gap:3px}
.agent-directory .directory-actions > .tier-agent {
  order:0;
  grid-column:1/-1;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%;
  padding:0 0 10px;
  margin:0 0 2px;
  border-bottom:1px solid #e2e9f3;
  box-sizing:border-box;
}
.agent-directory .directory-actions .tier-agent button {background:#edf3fe;border-color:#d4e1f8;color:#3967a4}
.agent-directory .directory-actions .tier-agent small {grid-column:1/-1;margin:0;line-height:18px}
.agent-directory .directory-actions > .ac-hide-button {order:2;grid-column:span 2}
.agent-directory .directory-actions > .ac-trial-button {order:2;grid-column:span 2;background:#f0f4f9;border-color:#dde5ef;color:#596d86}
.agent-directory .directory-actions > .ac-allocation-button {order:3;grid-column:1/-1;flex-basis:auto!important;background:#edf3fe;border-color:#d4e1f8;color:#3967a4}
.agent-directory .directory-actions button[aria-checked="true"] {background:#eaf7ef;border-color:#a4d9bc;color:#167b50}
.agent-directory .directory-actions button:disabled {opacity:.5;cursor:not-allowed}
.agent-directory .directory-actions button:focus-visible {outline:2px solid #397bea;outline-offset:2px}
@media (hover:hover) {
 .agent-directory .directory-actions button:not(:disabled):hover {border-color:#8eafe3;box-shadow:0 2px 5px #284d7b0d}
}
@container agent-actions (max-width:260px) {
 .agent-directory .directory-actions > button:not(.ac-hide-button):not(.ac-allocation-button),
 .agent-directory .directory-actions > .el-dropdown {grid-column:span 2}
 .agent-directory .directory-actions .tier-agent {grid-template-columns:1fr!important}
}
