/* LINE E.N.G V5.55.13 - full-width LEFT-ALIGNED office workspaces.
 * Only size/spacing: never change the display/visibility of #app or route targets.
 * Modal, popup, document preview, print and fixed-position layers are excluded.
 */
@media screen {
  html,body {max-width:100%;}
  body .main {box-sizing:border-box;min-width:0;max-width:none;}
  /* 100% of the area AFTER the sidebar, not 100vw. Preserve the existing taskbar. */
  body .main > #app.content {
    box-sizing:border-box!important;
    width:100%!important; max-width:none!important; min-width:0!important;
    margin:0!important; padding:0!important;
  }
  /* Rendered office page is the direct child of #app. Avoid overlays and dialogs. */
  body #app.content > :is(div,section,article,main):not(.modal-bg):not(.q583-overlay):not([role="dialog"]):not([class*="modal"]):not([class*="overlay"]):not([class*="popup"]):not([class*="dialog"]) {
    box-sizing:border-box!important;
    width:100%!important; max-width:none!important; min-width:0!important;
    margin-left:0!important; margin-right:0!important;
  }
  /* This is the REAL construction-management root, rendered by renderUnified55.
     Earlier embedded styles imposed max-width:1500px and margin:0 auto !important. */
  body .main #app.content > .uy55.uy561-exact {
    width:100%!important;max-width:none!important;min-width:0!important;
    margin:0!important; padding-left:0!important; padding-right:0!important;
  }
  body .main #app.content > .uy561-exact > :is(.uy561-pagehead,.le55224-selected-bar,.uy592-stagegrid,.uy561-list-card,.card) {
    box-sizing:border-box;max-width:100%;min-width:0;
    margin-left:0!important;margin-right:0!important;
  }
  body .main #app.content > .uy561-exact .uy592-stagegrid {
    width:100%!important;max-width:none!important;min-width:0!important;
    margin-left:0!important;margin-right:0!important;
  }
  /* The first visible office heading should follow the taskbar without a large gap. */
  body .main #app.content > :is(div,section,article,main):first-child {margin-top:0!important;}
  body .main #app.content > .uy561-exact > .uy561-pagehead {margin-top:0!important;padding-top:0!important;}
  body .main #app.content > :is(.v5128-dashboard,.le55127-page,.le55505-vendor,.le55508-finance,.le85-finance-page,.le99-page,.v5170-page,.v510-page,.v5240-page,.le45-page,.v5130-construction,.v5131-construction,.v5280-page,.le82-page,.le83-page) {
    max-width:none!important;margin-left:0!important;margin-right:0!important;
  }
  /* Only data containers, NOT table column widths or document paper sizes. */
  body #app.content :is(.uy55-tablewrap,.le55127-scroll,.le55127-split,.le55508-onepanel,.le45-tablewrap,.le82-scroller,.le83-scroll,.v5170-tablewrap,.v5130-projectwrap) {
    box-sizing:border-box;max-width:100%;min-width:0;
  }
}
/* This file deliberately has no print rules; no display:flex/block on #app. */
