/* Flatten the purchase entry workspace without moving or duplicating controls. */
html body #purchaseInvoiceModal:not(#flatA#flatB#flatC){padding:0!important;margin:0!important;width:100%!important;max-width:none!important}
html body #purchaseInvoiceModal:not(#flatA#flatB#flatC) .purchase-invoice-modal-card{min-height:0!important;height:auto!important;width:100%!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;overflow:visible!important}
html body #purchaseInvoiceModal:not(#flatA#flatB#flatC) #purchaseInvoiceModalBody{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;min-height:0!important;height:auto!important;overflow:visible!important}
html body #purchaseInvoiceModal:not(#flatA#flatB#flatC) #purchaseCreateView{width:100%!important;max-width:none!important;padding:0!important;margin:0!important;min-height:0!important;box-sizing:border-box!important}
html body #purchaseInvoiceModal:not(#flatA#flatB#flatC) .purchase-form{width:100%!important;max-width:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:12px!important;margin:0!important;background:transparent!important;box-sizing:border-box!important}
html body #purchaseInvoiceModal:not(#flatA#flatB#flatC) .purchase-meta{height:auto!important;min-height:0!important;padding:8px 0!important;margin:8px 0!important;align-items:start!important;row-gap:6px!important}
html body #purchaseInvoiceModal:not(#flatA#flatB#flatC) .purchase-meta>label{height:auto!important;min-height:0!important;align-self:start!important;gap:5px!important}
html body #purchaseInvoiceModal:not(#flatA#flatB#flatC) .purchase-meta [role=status]{font-size:11px!important;line-height:1.4!important;margin:4px 0 0!important;min-height:0!important}
html body #purchaseInvoiceModal:not(#flatA#flatB#flatC) .empty-state{height:auto!important;min-height:72px!important;padding:16px!important;margin:10px 0!important}
html body #purchaseInvoiceModal:not(#flatA#flatB#flatC) .purchase-items-header{margin-block:10px!important}
html body #purchaseCreateView [data-party-policy="purchase"] > [data-policy-warning]:empty{display:none!important}
html body #purchaseCreateView .purchase-form > .section-title-row{position:relative!important;justify-content:center!important;min-height:76px!important;padding:8px 130px!important;box-sizing:border-box!important}
html body #purchaseCreateView .purchase-form > .section-title-row > div:first-child{width:100%!important;text-align:center!important;align-items:center!important}
html body #purchaseCreateView .purchase-form > .section-title-row h2,html body #purchaseCreateView .purchase-form > .section-title-row .document-serial-badge{text-align:center!important}
html body #purchaseCreateView #backToPurchasesListButton{position:absolute!important;left:0!important;top:12px!important}
