:root {
  color-scheme: light dark;
  font-family: system-ui, sans-serif;
}
body {
  margin: 0;
}
main {
  max-width: 640px;
  margin: 10vh auto;
  padding: 24px;
  font-size: 18px;
  line-height: 1.6;
}
h1 {
  line-height: 1.2;
}
.brand {
  font-size: 14px;
  opacity: 0.7;
}
label {
  display: block;
  margin: 20px 0;
}
input,
button {
  font: inherit;
  padding: 10px;
  border-radius: 8px;
}
button {
  cursor: pointer;
}
iframe {
  border: 0;
  width: 100%;
  height: calc(100dvh - 48px);
  display: block;
}
[hidden] {
  display: none !important;
}
#reader-tools {
  height: 48px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
  background: #faf9f5;
  color: #252820;
  border-bottom: 1px solid #c9cec1;
  font-size: 14px;
}
#print-view {
  display: inline-flex;
  padding: 6px;
  margin-right: -6px;
  border-radius: 6px;
  color: inherit;
}
#print-view:focus-visible,
.leaf-report:focus-visible,
.leaf-branding:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.leaf-report {
  margin-right: 16px;
  color: inherit;
  font-size: 12px;
  opacity: 0.75;
  text-underline-offset: 3px;
}
.leaf-branding {
  margin-right: auto;
  color: inherit;
  font-size: 12px;
  opacity: 0.75;
  text-underline-offset: 3px;
}
@media (prefers-color-scheme: dark) {
  #reader-tools {
    background: #20221d;
    color: #e9ecdf;
    border-color: #515a47;
  }
}
@media print {
  #reader-tools {
    display: none;
  }
}

@media (max-width: 400px) {
  #reader-tools {
    padding-inline: 12px;
  }
}
