/* Touch-first customer invoice composer; desktop keeps the shared Soon layout. */
.so-outgoing .sr-add-bar{gap:10px}.so-outgoing .sr-inline-form input{min-height:46px}.so-outgoing .sr-actions{flex-wrap:wrap}.so-outgoing [data-proposal-save]{white-space:normal}.sz-settlement .sr-actions{justify-content:flex-end}.sz-settlement input[data-price]{direction:ltr;text-align:right}
@media(max-width:760px){
 .sr-composer.so-outgoing{display:flex;flex-direction:column;gap:12px;padding-bottom:110px}.so-outgoing .se-workspace{display:flex;flex-direction:column;gap:12px}.so-outgoing .se-source{position:static!important;top:auto!important;padding:16px}.so-outgoing .se-items{padding:14px;min-width:0}.so-outgoing .sr-add-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.so-outgoing .sr-add-bar>form{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}.so-outgoing .sr-add-bar button{font-size:12px;min-height:44px;white-space:normal;padding:10px}.so-outgoing input,.so-outgoing select,.sz-settlement input{font-size:16px!important;min-height:44px}.so-outgoing .sr-add-bar form label{min-width:0}.so-outgoing .sr-basket-panel{overflow:visible}.so-outgoing .sr-product-title strong{overflow-wrap:anywhere}.so-outgoing .sr-grid{grid-template-columns:1fr}.so-outgoing .si-composer-footer{padding:14px}.so-outgoing .sr-summary{min-width:0}.sr-mobile-dock.so-outgoing{position:fixed;bottom:0;left:0;right:0;z-index:45;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:var(--card,#fff);box-shadow:0 -5px 22px #163b4517;display:grid!important;grid-template-columns:1fr;gap:8px}.sr-mobile-dock.so-outgoing[hidden]{display:grid!important}.sr-mobile-dock.so-outgoing>div:first-child{display:flex;align-items:center;justify-content:space-between}.sr-mobile-dock.so-outgoing .sr-actions{display:flex;gap:8px}.sr-mobile-dock.so-outgoing .sr-actions button{flex:1;min-height:44px;white-space:normal;font-size:12px}.sr-mobile-dock.so-outgoing .sr-actions [hidden]{display:none!important}.sz-payment-layout{display:flex!important;flex-direction:column}.sz-payment-layout>main,.sz-payment-layout>aside{min-width:0;width:100%;position:static}.sz-settlement .sr-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px}.sz-duration{grid-template-columns:minmax(0,1fr) 68px!important}.sz-duration>label{grid-column:1/-1}.sz-settlement{padding-bottom:25px}.sr-dialog,.seller-dialog{max-width:calc(100vw - 16px)}
}
@media(max-width:760px){
 html.ux480 #app .sr-composer.so-outgoing .sr-add-bar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
 html.ux480 #app .sr-composer.so-outgoing .sr-add-bar>form{display:grid!important;grid-column:1/-1!important;grid-template-columns:minmax(0,1fr) 84px!important;align-items:end!important;min-width:0!important;width:100%!important}
 html.ux480 #app .sr-composer.so-outgoing .sr-add-bar>button{width:auto!important;min-width:0!important;min-height:44px!important;font-size:12px!important;white-space:normal!important}
 html.ux480 #app .sr-composer.so-outgoing .sr-add-bar>button:last-child{grid-column:1/-1}
 html.ux480 #app .sr-composer.so-outgoing .sr-add-bar>form button{height:44px!important;padding:8px!important}
 html.ux480 #app .sr-composer.so-outgoing .si-save-footer .sr-actions{display:none!important}
 html.ux480 #app .sr-composer.so-outgoing .se-source{padding:16px!important}
 html.ux480 #app .sr-composer.so-outgoing .sw-item-main{display:flex!important;flex-wrap:wrap!important;gap:10px!important}
 html.ux480 #app .sr-composer.so-outgoing .sw-item-controls{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;gap:10px!important}
 html.ux480 #app .sr-composer.so-outgoing .sw-item-controls label{min-width:0!important}
 html.ux480 #app .sr-composer.so-outgoing .sw-item-controls input{width:100%!important;min-width:0!important}
}
@media(max-width:760px){
 html.ux480 #root #app #composer-basket .sg-item .sw-item-controls{grid-template-columns:repeat(2,minmax(0,1fr))!important;min-width:0!important}
 html.ux480 #root #app #composer-basket .sg-item .sw-item-controls>*{grid-area:auto!important;min-width:0!important;width:auto!important}
 html.ux480 #root #app #composer-basket .sg-item .sw-item-controls>label{width:100%!important}
 html.ux480 #root #app #composer-basket .sg-item .sw-item-controls [data-passport]{grid-column:1!important;grid-row:2!important}
 html.ux480 #root #app #composer-basket .sg-item .sw-item-controls [data-remove]{grid-column:2!important;grid-row:2!important}
}
