/* Rufiyaa Update 4 — Back Chevron True-Center correction · isolated QA, 2026-11-01
   Root cause of the previous visual offset: ::before was an in-flow grid item
   next to the invisible original text node; grid auto-placement moved it left.
   The vector is now positioned at the actual center of the tap target, not
   within the grid content track. All glass/button markup and handlers remain.
*/
body.rufiyaa-liquid-glass:not(.rufiyaa-admin-mode) :is(
  #app .finance-back,
  #app .settings-back-v1289,
  #app .merchant-page-head-v1261 > button[aria-label="Back"],
  #app .u4-reports-back,
  #modal-root .card-child-back-v1275,
  #modal-root .u2r3-credit-back
){
  /* The button is the positioning context; keep all established geometry. */
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  text-align:center!important;
  font-size:0!important;
  line-height:0!important;
  letter-spacing:0!important;
  text-indent:0!important;
}
body.rufiyaa-liquid-glass:not(.rufiyaa-admin-mode) :is(
  #app .finance-back,
  #app .settings-back-v1289,
  #app .merchant-page-head-v1261 > button[aria-label="Back"],
  #app .u4-reports-back,
  #modal-root .card-child-back-v1275,
  #modal-root .u2r3-credit-back
)::before{
  content:''!important;
  display:block!important;
  position:absolute!important;
  top:50%!important;
  left:50%!important;
  right:auto!important;
  bottom:auto!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  min-height:20px!important;
  flex:none!important;
  margin:0!important;
  padding:0!important;
  transform:translate(-50%, -50%)!important;
  background-color:currentColor!important;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.25 5.5 8.75 12l6.5 6.5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.25 5.5 8.75 12l6.5 6.5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  -webkit-mask-repeat:no-repeat!important;
  mask-repeat:no-repeat!important;
  -webkit-mask-size:contain!important;
  mask-size:contain!important;
  -webkit-mask-position:center!important;
  mask-position:center!important;
  pointer-events:none!important;
}
/* The older credit-card child style has a higher-specificity flex override. */
body.rufiyaa-liquid-glass:not(.rufiyaa-admin-mode) #modal-root .u2r3-credit-nav-child .modal-head .u2r3-credit-back{
  display:grid!important;
  place-items:center!important;
  font-size:0!important;
  line-height:0!important;
}
