@media screen and (min-width:850px) and (min-height:650px){
.desktop-pos:has(.delivery-editor) .cod-work{height:calc(100dvh - 110px)!important;min-height:0!important;padding:10px!important;overflow:hidden!important;box-sizing:border-box}
.desktop-pos .cod-box:has(.delivery-editor){height:100%!important;min-height:0!important;box-sizing:border-box;padding:14px 20px!important;display:flex;flex-direction:column;overflow:hidden}
.cod-box:has(.delivery-editor) .delivery-heading{flex:none}.cod-box:has(.delivery-editor) .delivery-heading h1{font-size:20px!important}.cod-box:has(.delivery-editor) .delivery-heading small{display:none}
.cod-box:has(.delivery-editor)>.cod-note,.cod-box:has(.delivery-editor)>.delivery-shortcuts{display:none}
.cod-box:has(.delivery-editor)>.delivery-back{align-self:flex-start;min-height:28px;padding:4px 10px!important;margin-top:6px;font-size:11px}
.cod-box:has(.delivery-editor)>.cod-msg{padding:5px 10px;margin:5px 0;font-size:11px}
.delivery-editor~*:not(.delivery-detail){display:none!important}
.cod-box .delivery-editor{flex:1;min-height:0;display:flex;flex-direction:column;margin-top:5px;padding:0;border:0;overflow:hidden}
.delivery-editor>h2{flex:none;font-size:13px!important;margin:6px 0!important}
.delivery-editor>.cod-fields{flex:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 12px;margin:0}
.delivery-editor .cod-fields>label{font-size:11px}.delivery-editor .cod-fields input,.delivery-editor .cod-fields select{min-height:32px!important;height:32px;padding:4px 8px!important;font-size:12px!important}.delivery-editor .cod-fields textarea{min-height:38px!important;height:38px;padding:5px 8px!important;font-size:12px;resize:none}
.delivery-editor>.delivery-product{flex:none;margin:0;padding:7px 10px;gap:8px}.delivery-editor>.delivery-product input{height:34px;min-height:34px!important}.delivery-editor>.delivery-product button{min-height:34px;padding:5px 12px!important}.delivery-product small{font-size:10px}
.delivery-editor>.delivery-suggestions{flex:none;max-height:118px;margin:4px 0;padding:4px 8px}.delivery-suggestions>small{display:none}.cod-box .delivery-suggestions>button{padding:5px 10px!important;margin:2px 0;min-height:32px;font-size:12px}.delivery-suggestions button small{display:inline;margin-left:10px;font-size:10px}.delivery-suggestions b{display:inline}
.delivery-editor>.cod-table-wrap{flex:1;min-height:65px;overflow:auto;margin:7px 0!important}.delivery-editor .cod-table th{position:sticky;top:0;z-index:2;padding:7px 10px!important}.delivery-editor .cod-table td{padding:6px 10px!important}.delivery-editor .cod-table input{min-height:30px!important;height:30px}.delivery-editor .cod-table button{min-height:28px!important;padding:3px 10px!important}
.delivery-editor>.cod-bar:not(.delivery-product){flex:none;margin:0;gap:16px;align-items:center}.delivery-editor>.cod-bar:not(.delivery-product)>label{display:flex;align-items:center;gap:9px}.delivery-editor>.cod-bar:not(.delivery-product) input[type=number]{width:140px;min-height:32px!important;height:32px}
.delivery-editor>.cod-total{flex:none;padding:9px 16px!important;margin:6px 0!important;font-size:18px!important}.delivery-editor>.delivery-save{flex:none;align-self:flex-end;min-height:36px!important;padding:7px 18px!important}
}
@media screen and (min-width:850px) and (min-height:650px){.cod-box .delivery-editor{position:relative;padding-bottom:128px!important;box-sizing:border-box}.delivery-editor>.delivery-suggestions{position:absolute;top:258px;left:0;right:0;z-index:30;max-height:155px;box-shadow:0 8px 25px #193f5530}.delivery-editor>.cod-table-wrap{min-height:0!important}.delivery-editor>.cod-bar:not(.delivery-product){position:absolute;bottom:90px;left:0;right:0;height:34px}.delivery-editor>.cod-total{position:absolute;bottom:43px;left:0;right:0;margin:0!important;height:40px;box-sizing:border-box}.delivery-editor>.delivery-save{position:absolute;bottom:0;right:0}}
