html {
  margin: 0;
  padding: 0;
  background: transparent !important;
}

body {
  margin: 0;
  padding: 0;
  background: transparent !important;
}

body > header,
body > footer {
  display: none !important;
}

body > section {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}

body > section > header {
  display: none !important;
}

#controller, #global-status, before-unload-check {
  display: none;
}

#sheet-container-outer {
  display: contents !important;
}

#sheet-container {
  display: contents !important;
  color: black !important;
  background: transparent !important;
}

section.sheet {
  margin: 0 !important;
}

.base-sheet {
  display: none;
}

.with-base-sheet .base-sheet {
  display: block;
}

print-textbox {
  background: transparent;
  color: black;
  outline: none;
  overflow: visible;
  resize: none;
  pointer-events: none;
}

print-textbox:empty::before {
  content: "";
}
