.registration-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.registration-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.registration-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.registration-links img {
  width: 20px;
  height: 20px;
  flex: none;
}

.footer {
  flex-wrap: wrap;
}

.footer .registration-links,
.legal-footer .registration-links {
  flex-basis: 100%;
}

.footer .registration-links {
  margin-top: 8px;
}

.workspace-page {
  --registration-clearance: 44px;
  display: flex;
  flex-direction: column;
}

.workspace-page > .workspace {
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 1;
  margin: 0 auto;
}

.workspace-registration {
  flex: none;
  margin: 8px auto 0;
  padding: 2px 12px;
}

.workspace-page .ai-launcher {
  bottom: calc(29px + var(--registration-clearance));
}

.workspace-page .co-create {
  bottom: calc(115px + var(--registration-clearance));
  max-height: calc(100svh - 150px - var(--registration-clearance));
}

.workspace-page .toast {
  bottom: calc(30px + var(--registration-clearance));
}

@media (max-width: 760px) {
  .workspace-page {
    --registration-clearance: 72px;
  }

  .workspace-registration {
    margin-top: 0;
    padding-block: 8px;
    border-top: 1px solid var(--line);
  }

  .workspace-page .ai-launcher {
    bottom: calc(17px + var(--registration-clearance));
  }

  .workspace-page .co-create {
    bottom: calc(83px + var(--registration-clearance));
    max-height: calc(100svh - 105px - var(--registration-clearance));
  }
}
