/* Filing information follows the page content instead of covering it. */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
.icp-footer {
  position: static;
  flex-shrink: 0;
  margin-left: 260px;
  min-height: 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: #f7f9f5;
  border-top: 1px solid #dce4dc;
  color: #506457;
  font: 12px/20px sans-serif;
}
.icp-footer a {
  color: inherit;
  text-decoration: none;
}
.icp-footer a:hover,
.icp-footer a:focus-visible {
  text-decoration: underline;
}
body.dark .icp-footer {
  background: #26352e;
  color: #d4dfd1;
  border-color: #46594b;
}
body.auth-screen .icp-footer {
  margin-left: 0;
}
/* Keep the document footer above the reader's separate paging toolbar. */
body:has(.reader-bottom) .icp-footer {
  margin-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 1000px) {
  .icp-footer {
    margin-left: 232px;
  }
}
@media (max-width: 700px) {
  .icp-footer {
    margin-left: 0;
  }
  body:has(.reader-bottom) .icp-footer {
    margin-bottom: calc(128px + env(safe-area-inset-bottom, 0px));
  }
}
