html[data-entry-layout="desktop"] {
  min-width: 1200px !important;
  min-height: 700px !important;
  overflow-x: auto !important;
  overflow-y: auto !important;
}

html[data-entry-layout="desktop"] body {
  min-width: 1200px !important;
  min-height: 700px !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

html[data-entry-layout="desktop"][data-desktop-canvas="constrained"] body.login-shell .page {
  width: var(--desktop-entry-canvas-width) !important;
  min-width: var(--desktop-entry-canvas-width) !important;
  height: var(--desktop-entry-canvas-height) !important;
  min-height: var(--desktop-entry-canvas-height) !important;
  place-items: center !important;
  overflow: visible !important;
}

html[data-entry-layout="desktop"][data-desktop-canvas="constrained"] body.login-shell .visual-stage {
  width: var(--desktop-login-stage-width) !important;
  min-width: var(--desktop-login-stage-width) !important;
  height: var(--desktop-login-stage-height) !important;
  max-width: none !important;
  max-height: none !important;
}

html[data-entry-layout="desktop"][data-desktop-canvas="constrained"] body.room-sales-shell .modal,
html[data-entry-layout="desktop"][data-desktop-canvas="constrained"] body.cabinet-sales-shell .modal {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  box-sizing: border-box !important;
  width: var(--desktop-entry-canvas-width) !important;
  min-width: var(--desktop-entry-canvas-width) !important;
  height: var(--desktop-entry-canvas-height) !important;
  min-height: var(--desktop-entry-canvas-height) !important;
  overflow: auto !important;
}

html[data-entry-layout="desktop"][data-desktop-canvas="constrained"] body.room-sales-shell #modal .modal-panel {
  width: min(1280px, calc(var(--desktop-entry-canvas-width) - 22px)) !important;
  max-width: none !important;
  height: min(730px, calc(var(--desktop-entry-canvas-height) - 22px)) !important;
  max-height: none !important;
  overflow: auto !important;
}

html[data-entry-layout="desktop"][data-desktop-canvas="constrained"] body.cabinet-sales-shell #quoteModal .modal-panel {
  width: min(1200px, calc(var(--desktop-entry-canvas-width) - 36px)) !important;
  max-width: none !important;
  min-height: min(750px, calc(var(--desktop-entry-canvas-height) - 36px)) !important;
  max-height: none !important;
  overflow: auto !important;
}
