/* Processing stays visible in the dock at any image zoom. No recipe or layout changes. */
body:has(#processing:not([hidden])) #automaticButton{cursor:progress}
body:has(#processing:not([hidden])) #automaticButton>svg{display:none}
body:has(#processing:not([hidden])) #automaticButton::after{content:"";display:block;order:-1;box-sizing:border-box;flex:0 0 17px;width:17px;height:17px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:bandju-ux-busy .85s linear infinite}
@keyframes bandju-ux-busy{to{transform:rotate(360deg)}}
@media(max-width:767px){body:has(#processing:not([hidden])) #automaticButton::after{flex-basis:15px;width:15px;height:15px}}
@media(prefers-reduced-motion:reduce){body:has(#processing:not([hidden])) #automaticButton::after{animation:none}}
/* Keep translated tab labels intact on narrow screens; retain readable type and touch targets. */
@media(max-width:360px){.tool-dock .tool-tabs{overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:none}.tool-dock .tool-tabs::-webkit-scrollbar{display:none}.tool-dock .tool-tab,.tool-dock .tool-tab:last-child:nth-child(odd){flex:0 0 auto;min-width:44px;min-height:44px;padding:0 6px;white-space:nowrap;overflow-wrap:normal}}
/* A right-hand landscape inspector must not cover the dock's last tool. */
@media(min-width:768px) and (max-width:1199px) and (orientation:landscape){.context-open .tool-dock{left:calc((100% - var(--inspector-space))/2);width:max-content;max-width:calc(100% - var(--inspector-space) - 20px)}.context-open .tool-dock .automatic-button{flex:0 0 140px;width:140px;min-width:140px;font-size:12px;padding:0 8px}.context-open .tool-dock .tool-tabs{overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:none}.context-open .tool-dock .tool-tabs::-webkit-scrollbar{display:none}.context-open .tool-dock .tool-tab,.context-open .tool-dock .tool-tab:last-child:nth-child(odd){flex:0 0 auto;min-width:44px;min-height:44px;padding:0 6px;font-size:12px;white-space:nowrap;overflow-wrap:normal}}
