.amaya-main,.amaya-main>*,.amaya-table-wrap,.overflow-x-auto{min-width:0;max-width:100%}.amaya-table-wrap,.overflow-x-auto{overscroll-behavior-x:contain}.invoice-line-field{min-width:0}.invoice-lines{overflow-x:auto}.invoice-line-field>span,.invoice-line-total>span{display:none}.pos-analytics-heatmap{min-width:0;max-width:100%}.pos-analytics-heatmap__hours,.pos-analytics-heatmap__row{min-width:850px}.pos-analytics-line-chart svg{min-width:0}.stock-edit-table{min-width:880px}.stock-edit-table td:first-child{min-width:240px}.stock-edit-table td:nth-child(2),.stock-edit-table td:nth-child(3){min-width:100px}@media screen and (min-width:861px) and (max-width:1200px){.purchase-forecast-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.purchase-forecast-row--head{display:none}.purchase-forecast-article,.purchase-forecast-supplier{grid-column:1/-1}.purchase-forecast-cost{text-align:left}.purchase-forecast-control,.purchase-forecast-toolbar{align-items:stretch;flex-direction:column}.purchase-forecast-toolbar__controls{flex-wrap:wrap}.purchase-forecast-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media screen and (max-width:860px){html{scroll-padding-top:100px}.amaya-shell{grid-template-columns:minmax(0,1fr)}.amaya-sidebar{position:-webkit-sticky;position:sticky;top:0;z-index:45;max-height:100vh;max-height:100dvh;padding:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 12px max(16px,env(safe-area-inset-left));overscroll-behavior-y:contain}.amaya-sidebar-header{flex-shrink:0}.amaya-sidebar--open .amaya-nav{min-height:0;overflow-y:auto}.amaya-sidebar-footer{flex-shrink:0}.amaya-mobile-menu-toggle,.amaya-nav-link{min-height:44px}.amaya-main{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right));padding-bottom:max(36px,env(safe-area-inset-bottom))}.amaya-input,.amaya-modal input:not([type=checkbox]):not([type=radio]),.amaya-modal select,.amaya-modal textarea,.amaya-select,.amaya-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.amaya-shell select,.amaya-shell textarea{min-width:0;max-width:100%;min-height:44px;font-size:16px}.amaya-modal button,.amaya-shell a[class*=btn],.amaya-shell a[class*=tab],.amaya-shell button:not(.pos-settings-switch){min-height:44px}.pos-settings-switch:before{content:"";position:absolute;inset:-10px 0}.pos-analytics-heatmap__hours,.pos-analytics-heatmap__row{min-width:1210px}.pos-analytics-heatmap__row{grid-template-columns:78px repeat(24,minmax(44px,1fr))}.pos-analytics-heatmap__hours,.pos-analytics-heatmap__row>div{grid-template-columns:repeat(24,minmax(44px,1fr))}.amaya-card>*,.amaya-topbar>*{min-width:0}.amaya-topbar{align-items:stretch}.amaya-topbar>.flex,.pos-analytics-export,.pos-analytics-heading-actions{flex-wrap:wrap}.pos-analytics-card-head,.pos-analytics-heading{align-items:stretch;flex-direction:column}.amaya-modal-backdrop{padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))}.amaya-modal{max-width:100%;max-height:calc(100dvh - max(8px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)));overscroll-behavior:contain}.amaya-toast{max-width:calc(100% - 28px);bottom:max(20px,env(safe-area-inset-bottom))}.pos-settings-savebar{right:14px;left:14px;width:auto;bottom:max(14px,env(safe-area-inset-bottom))}}@media screen and (max-width:640px){.stock-lines-editor{overflow:visible}.stock-edit-table,.stock-edit-table tbody{display:block;min-width:0;width:100%}.stock-edit-table thead{position:absolute;width:1px;height:1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.stock-edit-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;padding:16px 0;border-bottom:1px solid #e2e8f0}.stock-edit-table tbody td{display:block;min-width:0;padding:0;border:0;text-align:left}.stock-edit-table td:first-child{grid-column:1/-1}.stock-edit-table td:last-child{grid-column:1/-1;justify-self:end}.stock-edit-table td[data-label]:not([data-label=""]):before{content:attr(data-label);display:block;margin-bottom:6px;color:#64748b;font-size:12px;font-weight:600}.stock-edit-table input{width:100%}.invoice-lines{overflow:visible}.invoice-line{align-items:end;gap:14px 10px}.invoice-line-field{display:grid;grid-gap:6px;gap:6px}.invoice-line-field>span,.invoice-line-total>span{display:block;color:#64748b;font-size:12px;font-weight:600}.invoice-line-field--ttc>span{color:#9f2443}.invoice-line-field--ttc input{border-color:#b97182;background:#fffafb}.invoice-line-total{display:grid;grid-gap:6px;gap:6px;min-height:66px;align-content:center}.invoice-remove-line{width:44px;height:44px;justify-self:end;grid-column:2}.invoice-actions{display:grid;grid-template-columns:minmax(0,1fr)}.invoice-actions>*{width:100%;white-space:normal}.invoice-bottom{gap:24px}.invoice-client-results,.invoice-suggestions{max-height:min(290px,40dvh)}}