/* One contract for all detail-panel close controls, independent of module styles. */
button.oms-details-close {
  appearance:none!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 40px!important;
  width:40px!important;
  min-width:40px!important;
  max-width:40px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#65738a!important;
  box-shadow:none!important;
  cursor:pointer;
  line-height:1!important;
}
button.oms-details-close::before {
  content:"";
  display:block;
  width:28px;
  height:28px;
  background:currentColor;
  -webkit-mask:url('./assets/icons/x.svg') center/contain no-repeat;
  mask:url('./assets/icons/x.svg') center/contain no-repeat;
  pointer-events:none;
}
button.oms-details-close:hover { background:var(--oms-blue-soft,#eef4ff)!important; color:var(--oms-blue,#2563eb)!important; }
button.oms-details-close:focus-visible { outline:2px solid #2563eb!important; outline-offset:2px; }
:is(.product-details-head,.quote-details-head,.label-template-details-head,.label-generation-details-head,.approval-details-head,.oms-document-details-head,.oms-partner-details-head,.finance-details-head)>:first-child { min-width:0; }
