/* LDM V3.2.2 mobile action standard — loaded after V3.2.1. */
@media (max-width:760px){
  /* Documentation V3.2.1 is the reference: all core mobile-card actions stay on ONE row. */
  .core-card-actions.ldm-v322-card-actionbar,
  .v215-core-row-detail .core-row-actions.ldm-v322-card-actionbar{
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:stretch!important;
    gap:5px!important;
    width:100%!important;
    min-width:0!important;
    margin-top:7px!important;
    overflow:visible!important;
  }
  .ldm-v322-card-actionbar>.button,
  .ldm-v322-card-actionbar>.write-mini-button,
  .ldm-v322-card-actionbar>a{
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:40px!important;
    min-height:40px!important;
    padding:5px 6px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    font-size:11px!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .ldm-v322-card-actionbar>.ldm-v322-icon-only{flex:0 0 40px!important;width:40px!important;min-width:40px!important;padding:0!important}
  .ldm-v322-card-actionbar>.ldm-v322-pdf{flex:0 0 54px!important;width:54px!important;min-width:54px!important;padding-inline:5px!important}
  .ldm-v322-card-actionbar>.ldm-v322-review{flex:.78 1 74px!important}
  .ldm-v322-card-actionbar>.ldm-v322-accounting{flex:1.25 1 112px!important}
  .ldm-v322-card-actionbar>.ldm-v322-archive{flex:0 0 72px!important;width:72px!important;min-width:72px!important;padding-inline:4px!important}
  .ldm-v322-card-actionbar>.ldm-v322-send{flex:1 1 92px!important}

  /* Accounting package: compact archive + icon-only info + send, always one line. */
  .ldm-v322-card-actionbar.ldm-v322-accounting-bar>.ldm-v322-archive{order:1!important}
  .ldm-v322-card-actionbar.ldm-v322-accounting-bar>.ldm-v322-icon-only{order:2!important}
  .ldm-v322-card-actionbar.ldm-v322-accounting-bar>.ldm-v322-send{order:3!important}

  /* Explicit semantic states for accounting membership. */
  .ldm-v322-card-actionbar>.ldm-v322-danger{color:var(--danger,#ef6a6a)!important}
  .ldm-v322-card-actionbar>.ldm-v322-positive{color:var(--success,#54c58a)!important}
  .ldm-v322-card-actionbar>.ldm-v322-danger.ldm-v322-accounting .ldm-v322-icon{color:var(--danger,#ef6a6a)!important}
  .ldm-v322-card-actionbar>.ldm-v322-positive.ldm-v322-accounting .ldm-v322-icon{color:var(--success,#54c58a)!important}

  .ldm-v322-text{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .ldm-v322-icon{width:16px;height:16px;display:inline-flex;flex:0 0 16px}
  .ldm-v322-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
}
@media (max-width:380px){
  .ldm-v322-card-actionbar{gap:4px!important}
  .ldm-v322-card-actionbar>.button,.ldm-v322-card-actionbar>.write-mini-button,.ldm-v322-card-actionbar>a{font-size:10px!important;padding-inline:4px!important}
  .ldm-v322-card-actionbar>.ldm-v322-accounting{flex:1.15 1 104px!important}
  .ldm-v322-card-actionbar>.ldm-v322-archive{flex-basis:66px!important;width:66px!important;min-width:66px!important}
}
