/* The staff menu keeps review and immediate sending together on small screens. */
.dpui-staff-order-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;align-items:stretch;min-width:0;flex:0 0 auto;position:sticky;bottom:var(--dpui-space-1);margin-top:var(--dpui-space-2);margin-bottom:var(--dpui-space-1)}
.dpui-staff-order-actions>.dpui-button{min-width:0;white-space:normal}
/* Queue notices share the available height with the editor and its footer. */
[data-dp-surface="staff"] .app-content.menu-mode #tabOrders.active{display:flex;flex-direction:column;min-height:0}
[data-dp-surface="staff"] .app-content.menu-mode #tabOrders>.fade-in{height:auto;flex:1;min-height:0}
[data-dp-surface="staff"] .app-content.menu-mode #staffQueuedOrders{flex:0 0 auto;max-height:35%;overflow-y:auto}
[data-dp-surface="staff"] .app-content.menu-mode #cartFloat{flex:0 0 auto}
@layer dreampos-controls{
html[data-dp-surface] .dpui-staff-order-actions>.dpui-button:first-child{border-radius:var(--dpui-radius-control) 0 0 var(--dpui-radius-control)!important}
html[data-dp-surface] .dpui-staff-order-actions>.dpui-button:last-child{border-radius:0 var(--dpui-radius-control) var(--dpui-radius-control) 0!important;border-inline-start-color:var(--dpui-on-brand,var(--dpui-on-accent))!important}

}

/* Compact table presentation keeps the shared touch target. */
[data-dp-surface="staff"] .table-cell.dpui-table-compact{aspect-ratio:auto;min-height:var(--dpui-touch-height);align-self:start;padding:var(--dpui-space-2)}

/* Preserve hidden administration entries against the legacy menu display rule. */
[data-dp-surface="staff"] .um-item[hidden]{display:none!important}
