/* Structune Hub V17.7.4.483 / V17.7.4.511 — Reports lifecycle, workspace and first-paint repair. */

html.reports-first-paint,
html.reports-first-paint body,
html body.v17-reports-constrained{
  width:100%;
  height:100%;
  overflow:hidden!important;
  background:#0B1723!important;
}

/* V511 — the Reports route marker exists before application startup. Give it
   the final desktop shell geometry immediately so the unbounded legacy host
   cannot paint or move while the shared-shell module is initializing. */
@media screen and (min-width:821px){
  html.reports-first-paint body .app:not(.access-mode){
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    height:100dvh!important;
    min-height:0!important;
    display:block!important;
    background:#0B1723!important;
  }
  html.reports-first-paint body .shell{
    position:fixed!important;
    left:264.207px!important;
    right:264.207px!important;
    top:48px!important;
    bottom:48px!important;
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    max-width:none!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    overflow:visible!important;
    background:#0B1723!important;
  }
  html.reports-first-paint body #content{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    max-width:100%!important;
    max-height:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#0B1723!important;
  }
  html.reports-first-paint body #view-reports.active{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    background:#0B1723!important;
  }
}

html.reports-first-paint #content>.view:not(#view-reports),
html.reports-first-paint #arToolsFab,
html.reports-first-paint #arToolsDock,
html.reports-first-paint #arToolMessage,
html.reports-first-paint #labelsPrintModal,
html.reports-first-paint #labelsPrintStage,
html.reports-first-paint #arMarkerModal,
html.reports-first-paint #productionPasteModal,
html.reports-first-paint #productionConfirmModal,
html.reports-first-paint #view-ar-site-setout,
html.reports-first-paint body>.v17-right-handle,
body.v17-reports-constrained #content>.view:not(#view-reports),
body.v17-reports-constrained #arToolsFab,
body.v17-reports-constrained #arToolsDock,
body.v17-reports-constrained #arToolMessage,
body.v17-reports-constrained #labelsPrintModal,
body.v17-reports-constrained #labelsPrintStage,
body.v17-reports-constrained #arMarkerModal,
body.v17-reports-constrained #productionPasteModal,
body.v17-reports-constrained #productionConfirmModal,
body.v17-reports-constrained #view-ar-site-setout,
body.v17-reports-constrained>button.v17-right-handle{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* Reports has no persistent context drawer. Let the report own the complete
   shell-bounded workspace and keep scrolling inside the report table. */
body.v17-reports-constrained{--st-reports-context-reserve:0px!important}
html[data-structune-shell="v432"] body.v432-shell-geometry.v17-reports-constrained #view-reports{
  position:absolute!important;
  inset:0!important;
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#0B1723!important;
}

body.v17-reports-constrained #view-reports>.reports-actions{flex:none!important;margin-top:0!important}
body.v17-reports-constrained #view-reports>.reports-grid{flex:none!important;margin-top:24px!important}
body.v17-reports-constrained #view-reports>#reportOutput{margin-top:18px!important}
body.v17-reports-constrained #view-reports .report-card.active{
  border-color:#1595e5!important;
  box-shadow:inset 0 0 0 1px #1595e5!important;
}
body.v17-reports-constrained #view-reports .reports-empty-row td{
  padding:28px 14px!important;
  text-align:center!important;
  color:#718096!important;
}

@media(max-width:900px){
  html[data-structune-shell="v432"] body.v432-shell-geometry.v17-reports-constrained #view-reports{padding:0!important}
}
