/* Shared native-dialog integration for IBM Carbon's button and modal footer components. */
dialog .eos-carbon-footer{
  --cds-layout-size-height-local:64px;
  --cds-layout-density-padding-inline-local:16px;
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:0!important;
  position:sticky!important;bottom:calc(-1 * var(--modal-inset-bottom,0px))!important;
  z-index:2;box-sizing:border-box!important;align-items:stretch!important;
  width:calc(100% + var(--modal-inset-left,0px) + var(--modal-inset-right,0px))!important;
  max-width:none!important;min-width:0!important;height:64px!important;min-height:64px!important;
  margin:32px calc(-1 * var(--modal-inset-right,0px)) calc(-1 * var(--modal-inset-bottom,0px)) calc(-1 * var(--modal-inset-left,0px))!important;
  padding:0!important;border:0!important;background:var(--cds-layer-01,#fff)!important;
}
dialog .eos-carbon-footer .cds--btn{
  min-width:0!important;width:auto!important;min-height:64px!important;height:64px!important;
  padding-left:16px!important;padding-right:40px!important;align-self:stretch!important;
  white-space:normal!important;text-align:left!important;
}
dialog .eos-carbon-footer-three .cds--btn{flex-basis:25%!important}
dialog .eos-carbon-footer .cds--btn + .cds--btn{border-left-color:var(--cds-border-subtle,#e0e0e0)!important}
dialog .eos-carbon-footer .cds--btn .cds--btn__icon{top:16px!important;right:16px!important}
dialog .eos-modal-selection-count{display:block;font-size:14px;margin:16px 0 0}
/* One vertical scroll surface for access pickers. The footer stays at its bottom. */
dialog.resource-access-picker{overflow-y:auto;overflow-x:hidden}
dialog.resource-access-picker .resource-grants-table-scroll{max-height:none;overflow:visible}
@media(max-width:600px){dialog.resource-access-picker .resource-grants-table-scroll{overflow-x:auto;max-width:100%}dialog.resource-access-picker .resource-grants-table-scroll table{min-width:640px;width:100%}}

dialog.app-access-editor form{border-bottom:0}
