/* Even rounded-square focus/active ring on list shortcut icon links
   (edit, tasks, net sheet, walk-through, delete, and the same icons on
   other lists). The default outline followed the inline box plus the
   icon's 10px right margin, which made an irregular shape after click
   while the next page loaded. */
a:has(> .action) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0 4px 0 0;
  padding: 0;
  border-radius: 6px;
  vertical-align: middle;
  text-decoration: none;
  box-sizing: border-box;
  line-height: 1;
}

a:has(> .action) > .action {
  margin-right: 0 !important;
  line-height: 1;
}

a:has(> .action):focus,
a:has(> .action):focus-visible,
a:has(> .action):active {
  outline: 2px solid var(--l2d-highlight, #00a9f5);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(0, 169, 245, 0.35);
}
