/* Hux Agent onboarding v36 */

.agent-onboarding-slot[hidden] {
  display: none;
}

.agent-onboarding-slot {
  margin-bottom: 34px;
}

.agent-copy-launcher {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: #eeeeef;
}

.agent-copy-launcher-home {
  min-height: 164px;
  align-content: center;
  padding: 28px 34px;
  border: 1px solid #303034;
  background:
    radial-gradient(circle at 15% 50%, rgb(255 77 77 / 8%), transparent 26%),
    linear-gradient(100deg, #101010, #151314 66%, #101010);
}

.agent-copy-launcher-home .agent-copy-pill {
  min-width: 560px;
  min-height: 62px;
}

.agent-copy-launcher-home .agent-copy-label {
  font-size: 18px;
}

.agent-copy-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #38383d;
  border-radius: 8px;
  background: #121214;
  color: #a7a7ad;
  font-size: 12px;
  line-height: 1.45;
}

.agent-copy-tip::after {
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid #38383d;
  border-bottom: 1px solid #38383d;
  background: #121214;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.agent-copy-tip img {
  width: 14px;
  height: 14px;
  filter: invert(74%);
}

.agent-copy-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
}

.agent-copy-pill {
  display: inline-grid;
  grid-template-columns: 30px minmax(0, auto) auto 32px;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 6px 8px 6px 10px;
  border: 1px solid #5a5a60;
  border-radius: 999px;
  background: #202023;
  color: #f2f2f3;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.agent-copy-pill:hover {
  border-color: #85858c;
  background: #27272b;
  transform: translateY(-1px);
}

.agent-copy-pill:focus-visible {
  outline-offset: 3px;
}

.agent-copy-launcher.copied .agent-copy-pill {
  border-color: rgb(255 77 77 / 72%);
  background: linear-gradient(90deg, rgb(255 77 77 / 11%), #222225 42%);
}

.hux-agent-signal {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgb(255 77 77 / 50%);
  border-radius: 50%;
  background: rgb(255 77 77 / 9%);
  color: var(--brand);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 750;
}

.agent-copy-label {
  min-width: 0;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 620;
  line-height: 1.35;
  white-space: nowrap;
}

.agent-client-strip {
  display: flex;
  align-items: center;
  padding-left: 4px;
}

.agent-client-mark {
  display: grid;
  width: 28px;
  height: 28px;
  margin-left: -4px;
  place-items: center;
  border: 1px solid #4b4b50;
  border-radius: 50%;
  background: #151517;
  color: #d8d8dc;
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
  font-weight: 750;
  line-height: 1;
}

.agent-client-mark:first-child {
  margin-left: 0;
}

.agent-client-mark[data-client="claude"] {
  color: #ff7867;
}

.agent-client-mark[data-client="cursor"] {
  border-radius: 7px;
  color: #f1f1f2;
}

.agent-client-mark[data-client="copilot"] {
  border-radius: 7px;
  color: #a9c5b5;
}

.agent-copy-status {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-left: 1px solid #4a4a4f;
  color: #a7a7ad;
}

.agent-copy-status img {
  width: 17px;
  height: 17px;
  filter: invert(72%);
}

.agent-copy-launcher.copied .agent-copy-status {
  color: var(--brand);
  font-size: 17px;
  font-weight: 800;
}

.agent-copy-config,
.agent-copy-dismiss {
  display: inline-grid;
  min-height: 48px;
  place-items: center;
  border: 1px solid #3c3c41;
  background: #111113;
  color: #b6b6bb;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.agent-copy-config {
  min-width: 102px;
  padding: 0 16px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 620;
}

.agent-copy-dismiss {
  width: 48px;
  padding: 0;
  border-radius: 50%;
}

.agent-copy-config:hover,
.agent-copy-dismiss:hover {
  border-color: #68686e;
  background: #19191b;
  color: #f0f0f1;
}

.agent-copy-dismiss img {
  width: 17px;
  height: 17px;
  filter: invert(72%);
}

.agent-copy-launcher-mcp {
  grid-column: 1 / -1;
  justify-items: start;
  padding: 22px 24px;
  border: 1px solid #36363a;
  background:
    linear-gradient(100deg, rgb(255 77 77 / 8%), transparent 34%),
    #101011;
}

.agent-copy-launcher-mcp .agent-copy-tip::after {
  left: 30px;
}

.agent-copy-launcher-mcp .agent-copy-pill {
  min-height: 54px;
}

.agent-copy-launcher-mcp .agent-copy-note {
  margin: 0;
  color: #717177;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .agent-copy-launcher-home {
    min-height: 0;
    padding: 24px 18px;
  }

  .agent-copy-tip {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .agent-copy-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .agent-copy-pill {
    width: 100%;
    min-width: 0;
    grid-template-columns: 28px minmax(0, 1fr) auto 30px;
  }

  .agent-copy-label {
    font-size: 14px;
    white-space: normal;
  }

  .agent-copy-config {
    flex: 1;
  }

  .agent-client-mark:nth-child(n + 4) {
    display: none;
  }

  .agent-copy-launcher-mcp {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agent-copy-pill,
  .agent-copy-config,
  .agent-copy-dismiss {
    transition: none;
  }
}
