#photoToolbarMain,#photoToolbarCommands,#photoToolbarExtras{display:flex;align-items:center;gap:5px}
.design-toolbar #photoToolbarMain .photo-toolbar-button,
.design-toolbar #photoToolbarCommands .photo-toolbar-button,
.design-toolbar #photoToolbarExtras .photo-toolbar-button{
 display:inline-flex;align-items:center;justify-content:center;gap:6px;
 min-height:32px;height:32px;padding:0 8px;
 font-family:inherit;font-size:11px;font-weight:600;line-height:1.2;
}
.photo-toolbar-button svg,
#photoToolbarCommands .photo-toolbar-button svg{
 width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.7;
 stroke-linecap:round;stroke-linejoin:round;pointer-events:none;
}
.design-toolbar .photo-toolbar-icon-only{width:32px;min-width:32px}
.design-toolbar .photo-toolbar-icon-only span{display:none}
#photoToolbarPopup{width:min(320px,calc(100vw - 20px))}
#photoToolbarPopup #photoToolbarCommands,#photoToolbarPopup #photoShortcutCommands{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
#photoToolbarPopup #photoToolbarCommands + #photoShortcutCommands{margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}
#photoToolbarPopup .photo-toolbar-button{
 display:flex;align-items:center;justify-content:flex-start;gap:7px;
 min-width:0;min-height:40px;width:100%;height:auto;padding:7px;
 border:1px solid var(--line);font:600 11px/1.2 'Segoe UI',sans-serif;
}
#photoToolbarPopup .photo-toolbar-button.primary{background:var(--green);color:#fff}
#photoToolbarPopup .photo-toolbar-button.primary:hover{background:#243a2e}
@media(max-width:420px){
 .design-toolbar #photoToolbarMain{gap:3px}
 .design-toolbar #photoToolbarMain .photo-toolbar-button,.design-toolbar #photoToolbarExtras .photo-toolbar-button{padding-inline:6px;gap:4px}
 .design-toolbar #photoToolbarMain .photo-toolbar-icon-only,.design-toolbar #photoToolbarExtras .photo-toolbar-icon-only{min-width:28px;width:28px}
 .design-toolbar #photoToolbarMain .photo-toolbar-button svg{width:14px;height:14px;flex-basis:14px}
}
.design-toolbar.photo-toolbar-compact{flex-wrap:wrap}
.design-toolbar.photo-toolbar-compact>.ui-toolbar-left{display:contents}
.design-toolbar.photo-toolbar-compact #photoToolbarMain{flex:1 0 100%;flex-wrap:wrap}
.order-photo-prep{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;flex-shrink:0;margin:0 8px 6px;padding:7px 10px;border:1px solid var(--line);border-radius:7px;background:#f4f7ef;font-size:12px}
.order-photo-prep[hidden],.order-photo-prep [hidden]{display:none!important}
.order-photo-prep-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-left:auto}
.order-photo-prep-actions button{min-height:32px;padding:4px 8px}
.order-photo-prep progress{width:100%;height:5px;accent-color:var(--green)}
.order-photo-prep p{margin:0;flex-basis:100%;overflow-wrap:anywhere}
