/* Space inline actions and let shared table controls wrap on small screens. */
.btn + .btn{margin-inline-start:8px}
:is(.actions,.panel-head,.page-head,.form-actions,.modal-footer,.topright,.website-tabs,.payment-alert-controls,.record-list-pagination,.pos-payment-actions,.pos-screen-controls,.pos-view-tabs,.table-action-group)>.btn+.btn{margin-inline-start:0}
.table-action-group{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;max-width:100%}
.table-action-group>.btn{flex:0 0 auto;max-width:100%;white-space:normal;line-height:1.4;text-align:center}
.actions>.btn{flex-shrink:0}
@media(max-width:600px){.table-action-group{gap:10px}.table-action-group>.btn{min-height:38px}.modal-footer,.form-actions{flex-wrap:wrap;gap:10px}}

.record-row-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;width:max-content;max-width:none}.record-row-actions>.actions{display:contents}.record-row-actions .btn{flex:0 0 auto;margin:0;white-space:nowrap;min-height:34px;padding:8px 12px;border-radius:10px;line-height:1.3}.record-row-actions .btn+.btn{margin-inline-start:0}.table-shell:has(.record-row-actions){overflow-x:auto}.record-row-actions .btn.cyan{background:#174858;border-color:#2d7487;color:#a1eff3}.record-row-actions .btn:hover{background:#253f5b;border-color:#547b9c}

.table-action-group{flex-wrap:nowrap;width:max-content;max-width:none}.table-action-group>.btn{white-space:nowrap;max-width:none}.table-shell:has(.table-action-group){overflow-x:auto}.record-row-actions>.actions{flex-wrap:nowrap}.record-row-actions .table-action-group{display:contents}
