/* 插件操作原样保留。无脚本时，入口在页尾按常规文档流显示。 */
body.ff-site .laeyo-floating-contact {
  position: static;
  transform: none;
  width: auto;
  max-width: var(--ff-shell);
  margin: 16px auto;
  box-shadow: none;
}

body.ff-site .contact-shortcuts-toggle,
body.ff-site .contact-shortcuts-close {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-control);
  background: var(--ds-paper);
  color: var(--ds-navy);
  cursor: pointer;
}

body.ff-site .contact-shortcuts-toggle svg {
  width: 20px;
  height: 20px;
}

body.ff-site.has-open-navigation .contact-shortcuts-toggle {
  visibility: hidden;
}

body.ff-site .contact-shortcuts-dialog {
  width: min(340px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 16px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-card);
  background: var(--ds-paper);
  color: var(--ds-navy);
}

body.ff-site .contact-shortcuts-dialog::backdrop {
  background: rgb(16 47 66 / 45%);
}

body.ff-site .contact-shortcuts-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

body.ff-site .contact-shortcuts-heading h2 {
  margin: 0;
  font-size: var(--ds-text-lg);
}

body.ff-site .contact-shortcuts-close {
  font: inherit;
  font-size: 24px;
}

body.ff-site .contact-shortcuts-dialog .laeyo-floating-contact {
  margin: 0;
}

body.ff-site .contact-shortcuts-dialog .laeyo-fc-button {
  flex-direction: row;
  justify-content: flex-start;
  gap: 12px;
  min-height: 48px;
  padding: 8px 16px;
  font-size: var(--ds-text-sm);
}

@media (max-width: 1199px) {
  body.ff-site .site-header.has-contact-shortcuts .classic-header__top-inner {
    gap: 8px;
  }

  body.ff-site .site-header.has-contact-shortcuts .site-branding {
    min-width: 0;
  }

  body.ff-site .site-header.has-contact-shortcuts .mobile-project-cta {
    padding-inline: 10px;
    white-space: nowrap;
  }
}

