/* Workspace page frame and footer; shared header lives in header.css. */
html {
  min-height: 100%;
}

body.qc-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  color: var(--qc-color-text);
  background: var(--qc-color-canvas);
  font-family: var(--qc-font-sans);
}

.qc-shell #wrap {
  display: flex;
  min-width: 0;
  flex: 1 0 auto;
  flex-direction: column;
}

.qc-shell #main {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex: 1 0 auto;
  flex-direction: column;
}

.qc-shell .site-main {
  min-width: 0;
  flex: 1 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 1200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 5px;
  color: #fff;
  background: var(--qc-color-primary);
}

.skip-link:focus {
  transform: translateY(0);
  color: #fff;
}

.qc-shell .footer {
  flex: 0 0 auto;
  padding: 28px 20px 17px;
  border-top: 1px solid #dfe7f2;
  background: var(--qc-color-surface);
}

.site-footer {
  text-align: center;
}

.site-footer__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.site-footer__link {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.site-footer__logo {
  display: block;
  width: auto;
  height: 50px;
}

.site-footer__copyright {
  margin: 10px 0 0;
  color: #53627a;
  font-size: 13px;
}

.qc-shell a:focus,
.qc-shell button:focus,
.qc-shell input:focus,
.qc-shell select:focus,
.qc-shell textarea:focus {
  outline: 2px solid var(--qc-color-primary);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .site-footer__logos {
    gap: 18px;
  }

  .site-footer__logo {
    height: 42px;
  }
}
