/* The embedded SDS reader intentionally exposes only the authorized download action. */
#toolbarViewer {
  justify-content: flex-end;
}

#toolbarViewerLeft,
#toolbarViewerMiddle,
#editorModeButtons,
#editorModeSeparator,
#printButton,
#secondaryToolbarToggle,
#toolbarViewerRight > .verticalToolbarSeparator {
  display: none !important;
}

#toolbarViewerRight {
  display: flex !important;
  flex: 0 0 auto;
  margin-left: auto;
  margin-inline-start: auto;
}

#sdsDownloadGroup {
  display: flex !important;
}

#downloadButton {
  height: 28px;
  margin-block: 2px;
  margin-inline: 4px 8px;
  border-radius: 7px;
  background-color: #e96b56;
  box-shadow: 0 2px 7px rgb(91 42 34 / 22%);
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

#downloadButton::before {
  background-color: #fff;
  opacity: 1;
}

#downloadButton:is(:hover, :focus-visible) {
  background-color: #d95e4a;
  box-shadow: 0 4px 11px rgb(91 42 34 / 30%);
}

#downloadButton:is(:hover, :focus-visible)::before {
  background-color: #fff;
}

#downloadButton:focus-visible {
  outline: 2px solid rgb(233 107 86 / 38%);
  outline-offset: 2px;
}

#downloadButton:active {
  background-color: #c95341;
  box-shadow: 0 1px 4px rgb(91 42 34 / 26%);
  transform: translateY(1px);
}
