/**
 * AMARSVATI SMART ONE — universal mobile layout rules.
 * Desktop untouched: all overrides are inside the <=760px breakpoint.
 * The action element is physically moved after the one Figma page title by
 * unified-mobile-layout.js; no second copy of a button is rendered.
 */
@media (max-width:760px){
  .pagebody .aso-responsive-page-actions{
    position:relative!important;
    display:flex!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
    gap:9px!important;
    width:100%!important;
    max-width:100%!important;
    margin:11px 0 15px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    float:none!important;
  }
  .pagebody .aso-responsive-page-actions > button,
  .pagebody .aso-responsive-page-actions > .fin-btn,
  .pagebody .aso-responsive-page-actions > .rr-btn,
  .pagebody .aso-responsive-page-actions > .pb-btn,
  .pagebody .aso-responsive-page-actions > .mi-button,
  .pagebody .aso-responsive-page-actions > .mi-export-button,
  .pagebody .aso-responsive-page-actions > label{
    flex:1 1 calc(50% - 7px)!important;
    min-width:0!important;
    max-width:none!important;
    width:auto!important;
    min-height:43px!important;
    height:auto!important;
    white-space:normal!important;
    text-align:center;
    margin:0!important;
  }
  .pagebody .aso-responsive-page-actions > label select{
    display:block;
    width:100%;
    min-width:0!important;
    min-height:43px;
  }
  .pagebody .aso-responsive-page-actions > button:only-child{
    flex-basis:100%!important;
  }
  /* Last Update is useful metadata rather than a button. */
  .pagebody .dw-header-actions.aso-responsive-page-actions > .dw-lastupdate{
    flex:1 1 100%;
    text-align:left;
    white-space:normal;
  }
  .pagebody .dw-header-actions.aso-responsive-page-actions > .dw-refresh{
    flex:1 1 100%!important;
  }
  /* The browser may not have crossed each module's original CSS breakpoint.
     These overrides keep actions outside the hero up to 760px consistently. */
  .pagebody .fd-head-actions.aso-responsive-page-actions{margin-right:0!important}
  .pagebody .fin-hero-actions.aso-responsive-page-actions{display:flex!important}
  .pagebody .rr-hero-actions.aso-responsive-page-actions{display:flex!important}
  .pagebody .mi-hero-actions.aso-responsive-page-actions{display:flex!important}
  .pagebody .pb-actions.aso-responsive-page-actions{display:flex!important}
  /* ADMINISTRASI follows identical ordering but retains its own buttons
     (desktop inside the title, mobile directly after it). */
  .ad-root .ad-hero .ad-desktop-actions{display:none!important}
  .ad-root .ad-mobile-actions{
    display:flex!important;
    flex-wrap:wrap;
    align-items:stretch;
    gap:9px;
    width:100%;
    max-width:100%;
    margin:11px 0 15px;
  }
  .ad-root .ad-mobile-actions .ad-btn{
    flex:1 1 calc(50% - 7px);
    min-width:0;
    min-height:43px;
    height:auto;
    white-space:normal;
    text-align:center;
  }
  .ad-root .ad-mobile-actions .ad-btn:only-child{flex-basis:100%}
}
