button.ui-close-button[data-ui-close] {
  --ui-close-background: #ffffff;
  --ui-close-border: #cbd5e1;
  --ui-close-colour: #334155;
  --ui-close-hover-background: #eff6ff;
  --ui-close-hover-border: #4f7bd9;
  --ui-close-hover-colour: #17386f;
  display: inline-grid;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex: 0 0 36px;
  place-items: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ui-close-border);
  border-radius: 50%;
  background: var(--ui-close-background);
  color: var(--ui-close-colour);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  font: inherit;
  line-height: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

button.ui-close-button[data-ui-close]:hover:not(:disabled) {
  border-color: var(--ui-close-hover-border);
  background: var(--ui-close-hover-background);
  color: var(--ui-close-hover-colour);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
}

button.ui-close-button[data-ui-close]:active:not(:disabled) {
  transform: scale(0.96);
}

button.ui-close-button[data-ui-close]:focus-visible {
  border-color: #2563eb;
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 2px;
}

button.ui-close-button[data-ui-close]:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

button.ui-close-button[data-ui-close] > .ui-close-button-icon {
  display: block;
  width: 17px;
  height: 17px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

#pdf-review-message button.ui-close-button[data-ui-close],
.vm-help-header button.ui-close-button[data-ui-close] {
  --ui-close-background: rgba(7, 27, 70, 0.24);
  --ui-close-border: rgba(255, 255, 255, 0.72);
  --ui-close-colour: #ffffff;
  --ui-close-hover-background: rgba(255, 255, 255, 0.16);
  --ui-close-hover-border: #ffffff;
  --ui-close-hover-colour: #ffffff;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex-basis: 36px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
}

#pdf-review-message button.ui-close-button[data-ui-close]:focus-visible,
.vm-help-header button.ui-close-button[data-ui-close]:focus-visible {
  border-color: #ffffff;
  outline-color: rgba(255, 255, 255, 0.48);
}
