@media (min-width: 901px) {
  .modal:has(.invoice-dialog-expanded){padding:4px!important}
  .invoice-dialog-expanded{width:calc(100vw - 8px)!important;max-width:1960px!important;height:calc(100dvh - 8px)!important;max-height:none!important;border-radius:12px!important}
  .invoice-dialog-expanded .invoice-products .table-wrap{overflow-x:hidden!important;width:100%!important}
  .invoice-dialog-expanded .invoice-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
  .invoice-dialog-expanded .invoice-table th,.invoice-dialog-expanded .invoice-table td{padding-left:4px!important;padding-right:4px!important}
  .invoice-dialog-expanded .invoice-table th:nth-child(1){width:38px!important}
  .invoice-dialog-expanded .invoice-table th:nth-child(2){width:10%!important}
  .invoice-dialog-expanded .invoice-table th:nth-child(3){width:10%!important}
  .invoice-dialog-expanded .invoice-table th:nth-child(4){width:13%!important}
  .invoice-dialog-expanded .invoice-table .stock-type-head,.invoice-dialog-expanded .invoice-table .stock-type-cell{display:table-cell!important;width:9%!important;min-width:110px!important}
  .invoice-dialog-expanded .invoice-table th:nth-child(6){width:10%!important}
  .invoice-dialog-expanded .invoice-table th:nth-child(7){width:9%!important}
  .invoice-dialog-expanded .invoice-table th:nth-child(8){width:58px!important}
  .invoice-dialog-expanded .invoice-table th:nth-child(9){width:78px!important}
  .invoice-dialog-expanded .invoice-table th:nth-child(10){width:94px!important}
  .invoice-dialog-expanded .invoice-table th:nth-child(11){width:82px!important}
  .invoice-dialog-expanded .invoice-table th:nth-child(12){width:116px!important}
  .invoice-dialog-expanded .invoice-table th:nth-child(13){width:42px!important}
  .invoice-dialog-expanded .invoice-table input,.invoice-dialog-expanded .invoice-table select{padding:8px 5px!important}
  .invoice-dialog-expanded .processing-inline-row td{display:table-cell!important;width:auto!important}
  .invoice-dialog-expanded .processing-inline-title,.invoice-dialog-expanded .processing-inline-multi{min-width:0!important;max-width:100%!important;flex-wrap:wrap!important}
  .invoice-dialog-expanded .processing-operation-chip{white-space:normal!important;flex-wrap:wrap!important}
}
.invoice-draft-launcher{position:fixed;right:24px;bottom:24px;z-index:70;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:13px 20px;border:0;border-radius:13px;background:var(--theme-primary,#176d58);color:#fff;box-shadow:0 14px 35px color-mix(in srgb,var(--theme-primary,#176d58) 35%,transparent);cursor:pointer}
.invoice-draft-launcher span{font-size:15px;font-weight:750}.invoice-draft-launcher small{opacity:.75;font-size:10px}.invoice-draft-launcher:hover{transform:translateY(-2px)}
.modal:not(.hide)~.invoice-draft-launcher{display:none}
.invoice-discard-draft{color:#b54b43!important;border-color:#eccdca!important;background:#fff8f7!important}
.invoice-suspend-draft{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:128px;border:1px solid color-mix(in srgb,var(--theme-primary,#176d58) 35%,#dfe9e5)!important;background:var(--theme-soft,#eef6f2)!important;color:var(--theme-primary,#176d58)!important}.invoice-suspend-draft b{font-size:14px}.invoice-suspend-draft small{font-size:10px;opacity:.72;font-weight:400}
.invoice-draft-head-actions{display:flex;align-items:center;justify-content:center;margin-left:auto;margin-right:18px}.invoice-suspend-head{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:116px;padding:9px 15px;border:1px solid color-mix(in srgb,var(--theme-primary,#176d58) 38%,#dfe9e5);border-radius:11px;background:var(--theme-primary,#176d58);color:#fff;box-shadow:0 8px 20px color-mix(in srgb,var(--theme-primary,#176d58) 22%,transparent);cursor:pointer}.invoice-suspend-head span{font-size:14px;font-weight:750;letter-spacing:0}.invoice-suspend-head small{font-size:10px;opacity:.8}.invoice-suspend-head:hover{transform:translateY(-1px);filter:brightness(1.04)}
@media(max-width:900px){.invoice-draft-launcher{right:14px;bottom:14px}.invoice-dialog-expanded{width:100%!important}.invoice-title{flex-wrap:wrap!important}.invoice-draft-head-actions{order:3;width:100%;margin:10px 0 0}.invoice-suspend-head{width:100%}}
