/* T1 Workspace Quick-links — Live + WhatsApp (Gateway dock + Hub footer) */

.t1-quicklinks-dock {
  display: flex;
  gap: 8px;
  align-items: center;
}

.t1-quicklinks-dock--vertical {
  flex-direction: column;
}

.t1-quicklink-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  cursor: pointer;
  box-sizing: border-box;
  text-decoration: none;
  color: rgba(248, 252, 255, 0.88);
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.12) 0%, transparent 52%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 6px 18px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    color 160ms ease,
    border-color 160ms ease,
    opacity 160ms ease,
    box-shadow 160ms ease;
}

.t1-quicklink-btn:hover:not(.is-disabled),
.t1-quicklink-btn:focus-visible:not(.is-disabled) {
  color: var(--cyan-accent, #00e5ff);
  border-color: color-mix(in srgb, var(--cyan-accent, #00e5ff) 42%, rgba(255, 255, 255, 0.16));
  outline: none;
  box-shadow:
    inset 0 0 12px rgba(0, 229, 255, 0.08),
    0 0 18px color-mix(in srgb, var(--cyan-accent, #00e5ff) 18%, transparent);
}

.t1-quicklink-btn.is-disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: auto;
}

.t1-quicklink-btn[data-quicklink='whatsapp']:not(.is-disabled) {
  color: #25d366;
}

.t1-quicklink-btn[data-quicklink='whatsapp']:not(.is-disabled):hover {
  color: #3ee878;
  border-color: color-mix(in srgb, #25d366 48%, rgba(255, 255, 255, 0.14));
}

/* Gateway — dock verticale (posizionato dal .gateway-right-cluster) */
.gateway-workspace-dock {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px;
  border-radius: 12px;
  opacity: 0.55;
  transition: opacity 200ms ease;
}

.gateway-workspace-dock:not([hidden]):hover,
.gateway-workspace-dock.is-profile-scoped {
  opacity: 0.95;
}

/* Cockpit — Hub footer */
.identity-hub-quicklinks {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}

.identity-hub-foot:has(.identity-hub-quicklinks:not(:empty)) {
  justify-content: flex-start;
}

.identity-hub-foot:has(.identity-hub-quicklinks:not(:empty)) .identity-hub-edit {
  margin-left: auto;
}

.identity-hub-row dd a.identity-hub-link {
  color: var(--cyan-accent, #00e5ff);
  text-decoration: none;
  word-break: break-all;
}

.identity-hub-row dd a.identity-hub-link:hover {
  text-decoration: underline;
}

/* Hub shell: overflow visible dopo t1_sidebar_overlay (tooltip matita footer). */
.identity-hub-overlay .t1-sidebar-overlay__shell.identity-hub-shell,
.identity-hub-foot {
  overflow: visible;
}
