/* Keep the workspace, its navigation and its footer in one aligned shell. */
.workspace-page .sidebar {
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #c9bae8 transparent;
}
.workspace-page .sidebar > * { flex-shrink: 0; }
.workspace-page .sidebar::-webkit-scrollbar { width: 6px; }
.workspace-page .sidebar::-webkit-scrollbar-thumb {
  background: #c9bae8;
  border-radius: 8px;
}
.workspace-page .main-frame {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.workspace-page #main { width: 100%; flex: 1; }
.workspace-page .workspace-footer {
  width: 100%;
  margin: 0 auto;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.workspace-page .main-frame > .site-footer { margin: 0; }
.workspace-page .main-frame > .site-footer .wrap {
  width: calc(100% - 70px);
  max-width: 1500px;
}
.workspace-page .site-footer .footer-top {
  grid-template-columns: minmax(190px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.workspace-page .site-footer .footer-column,
.workspace-page .site-footer .footer-intro { min-width: 0; }
.workspace-page .site-footer .footer-bottom {
  gap: 24px;
  flex-wrap: wrap;
}
.workspace-page .site-footer .footer-bottom > span {
  flex: 1 1 240px;
}
.workspace-page .site-links a {
  margin: 0;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
  font-weight: 500;
}
.workspace-page .site-links a:hover { background: transparent; }
@media (max-width: 1100px) {
  .workspace-page .site-footer .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .workspace-page .site-footer .footer-intro { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .workspace-page .main-frame > .site-footer .wrap { width: calc(100% - 40px); }
  .workspace-page .site-footer .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .workspace-page .site-footer .footer-bottom > span { flex: auto; }
  .workspace-page .workspace-footer { padding: 22px 20px; }
}
