.office-invoice-layout{display:grid;grid-template-columns:minmax(170px,24%) minmax(0,1fr);gap:1rem}.office-invoice-layout>aside{max-height:75vh;overflow:auto}.office-invoice-source{display:block;width:100%;text-align:left;margin:.35rem 0;overflow-wrap:anywhere}.office-invoice-source small{display:block;opacity:.75}.office-invoice-layout section{min-width:0}.office-invoice-layout pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:24rem;overflow:auto}.office-invoice-original img{display:block;width:100%;max-height:36rem;object-fit:contain;margin:.6rem 0}.office-invoice-component{display:grid;grid-template-columns:minmax(6rem,1fr) minmax(12rem,3fr) auto;gap:.5rem;border-block:1px solid var(--border,#7795ad);padding:.5rem 0}.office-invoice-layout fieldset{min-width:0}.office-invoice-layout textarea{width:100%;min-height:4rem}.office-invoice-layout input,.office-invoice-layout select{width:100%;min-width:0}.office-invoice-layout input[type=checkbox]{width:auto}.office-invoice-layout blockquote{overflow-wrap:anywhere}@media(max-width:850px){.office-invoice-layout{grid-template-columns:1fr}.office-invoice-layout>aside{max-height:14rem}.office-invoice-component{grid-template-columns:1fr}}

#office-dialog:has(#office-invoice-host){width:min(1200px,94vw);max-width:94vw}
