.access-page, .panel-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.access-page .layout {
  flex: 1;
  width: 100%;
  min-height: 0;
}

.panel-page #root, .panel-page .app-shell, .panel-page .main, .panel-page .boot {
  flex: 1;
  min-height: 0;
}

.panel-page #root, .panel-page .app-shell {
  display: flex;
  flex-direction: column;
}

.site-credit {
  padding: 1rem 1.25rem;
  text-align: center;
  color: #e6e6e8;
  background: #151517;
  border-top: 1px solid #333336;
}

.site-credit a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  max-width: 100%;
  color: inherit;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
}

.site-credit img { flex: none; object-fit: contain; }
.site-credit strong, .site-credit small { display: block; }
.site-credit strong { font-size: .875rem; }
.site-credit small { margin-top: .15rem; font-size: .8125rem; color: #c0bfc1; }
.site-credit a:hover strong { text-decoration: underline; }
.site-credit a:focus-visible { outline: 2px solid #ff655d; outline-offset: 4px; }

@media (min-width: 721px) {
  .panel-page:has(.sidebar) .site-credit { margin-left: 215px; }
}

@media (min-width: 1001px) {
  .panel-page:has(.sidebar) .site-credit { margin-left: 252px; }
}

@media (max-width: 720px) {
  .panel-page:has(.mobile-nav) .site-credit {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }
}
