/* Pastegram v71.30 — desktop toolbar alignment and uncluttered canvas.
   Existing click handlers are preserved; all changes are CSS-only. */
@media (min-width:901px){
 body.pg729-desktop #top-tools.pg729-unified{
   display:flex!important; flex-flow:row nowrap!important; align-items:center!important;
   justify-content:flex-start!important; gap:6px!important;
   width:100%!important; max-width:100%!important; min-width:0!important;
   padding:7px 10px!important; margin:0 0 6px!important;
   height:58px!important; min-height:58px!important; max-height:58px!important;
   overflow-x:auto!important; overflow-y:hidden!important;
   scrollbar-width:none!important;
 }
 body.pg729-desktop #top-tools.pg729-unified::-webkit-scrollbar{display:none!important}
 body.pg729-desktop #top-tools.pg729-unified > button{
   flex:0 0 40px!important; width:40px!important; min-width:40px!important; max-width:40px!important;
   height:40px!important; min-height:40px!important; padding:7px!important;
 }
 body.pg729-desktop #top-tools.pg729-unified > button.pg728-removebg{
   flex:0 0 auto!important; width:auto!important; min-width:118px!important; max-width:none!important;
   padding:8px 12px!important;
 }
 body.pg729-desktop #top-tools.pg729-unified > .workspace-heading{
   display:flex!important; flex:1 1 auto!important; align-items:center!important;
   justify-content:flex-start!important; gap:7px!important;
   min-width:0!important; max-width:none!important; width:auto!important;
   height:42px!important; min-height:42px!important;
   margin:0!important; padding:0 0 0 8px!important;
   overflow:visible!important; white-space:nowrap!important;
 }
 body.pg729-desktop #top-tools.pg729-unified .workspace-heading #doc-name{
   flex:0 1 auto!important; min-width:0!important; max-width:125px!important;
   white-space:nowrap!important; overflow:hidden!important; text-overflow:ellipsis!important;
 }
 body.pg729-desktop #top-tools.pg729-unified .workspace-heading #doc-size{
   flex:0 0 auto!important; min-width:0!important; white-space:nowrap!important;
   padding:5px 8px!important; border-radius:9px!important;
 }
 body.pg729-desktop #top-tools.pg729-unified .workspace-heading .canvas-view-tabs{
   display:flex!important; flex:0 0 auto!important; align-items:center!important;
   gap:6px!important; margin-left:auto!important; padding:0!important;
   max-width:none!important; width:auto!important; min-width:0!important;
 }
 body.pg729-desktop #top-tools.pg729-unified .workspace-heading .canvas-view-tabs > button,
 body.pg729-desktop #top-tools.pg729-unified .workspace-heading > button{
   display:inline-flex!important; flex:0 0 auto!important; align-items:center!important;
   justify-content:center!important; width:auto!important; min-width:0!important; max-width:none!important;
   padding:8px 11px!important; margin:0!important; height:37px!important; min-height:37px!important;
   font-size:11px!important; line-height:1.1!important; white-space:nowrap!important;
   border-radius:12px!important;
 }
 /* The floating quick-action bar repeats tools already in the editor navigation. */
 #workspace > .floating-tools{display:none!important}
 #workspace > #stage{padding:5px 8px 8px!important;min-height:0!important;}
 #workspace .canvas-container{margin-inline:auto!important;}
}
@media (min-width:901px) and (max-width:1380px){
 body.pg729-desktop #top-tools.pg729-unified{gap:4px!important;padding-inline:7px!important;}
 body.pg729-desktop #top-tools.pg729-unified > button{flex-basis:36px!important;width:36px!important;min-width:36px!important;max-width:36px!important;}
 body.pg729-desktop #top-tools.pg729-unified .workspace-heading #doc-name{max-width:90px!important;}
 body.pg729-desktop #top-tools.pg729-unified .workspace-heading .canvas-view-tabs{gap:4px!important;}
 body.pg729-desktop #top-tools.pg729-unified .workspace-heading .canvas-view-tabs > button,
 body.pg729-desktop #top-tools.pg729-unified .workspace-heading > button{padding-inline:8px!important;font-size:10px!important;}
}
@media (max-width:900px){
 /* Preserve working mobile toolbar and canvas shortcuts. */
}
