[data-office-hyperlink='true'] {
  cursor: pointer;
}
[data-office-hyperlink='true']:focus-visible {
  outline: 2px solid var(--office-file-control-hover);
  outline-offset: 2px;
}
.office-file-hyperlink-context-menu-layer {
  position: absolute;
  z-index: var(--office-file-overlay-z-index);
  inset: 0;
}
.office-file-hyperlink-context-menu {
  position: absolute;
  box-sizing: border-box;
  width: 184px;
  padding: 4px;
  overflow: hidden;
  color: var(--office-file-text-color);
  background: var(--office-file-surface-color);
  border: 1px solid #dfe4ec;
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
}
.office-file-hyperlink-context-menu__item {
  display: flex;
  width: 100%;
  min-height: 36px;
  padding: 7px 10px;
  align-items: center;
  gap: 8px;
  color: inherit;
  font: inherit;
  font-size: 13px;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}
.office-file-hyperlink-context-menu__item:hover,
.office-file-hyperlink-context-menu__item:focus-visible {
  color: var(--office-file-primary-active-color);
  background: var(--office-file-selected-surface-color);
  outline: 0;
}
.office-file-hyperlink-context-menu__item:disabled {
  color: #a8afb9;
  background: transparent;
  cursor: wait;
}
.office-file-hyperlink-context-menu__item .office-file-icon {
  flex: none;
  font-size: 16px;
}
.office-file-hyperlink-context-menu__error {
  padding: 6px 10px;
  color: #cf1322;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.office-file-hyperlink-hint {
  position: absolute;
  z-index: var(--office-file-overlay-z-index);
  bottom: 20px;
  left: 50%;
  max-width: calc(100% - 32px);
  padding: 8px 14px;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  background: rgba(15, 23, 42, 0.86);
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.24);
  pointer-events: none;
  transform: translateX(-50%);
  animation: office-file-hyperlink-hint-enter 140ms ease-out;
}
@keyframes office-file-hyperlink-hint-enter {
  from {
    opacity: 0;
    transform: translate(-50%, 4px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .office-file-hyperlink-hint {
    animation: none;
  }
}
