/* Icon-only chrome, approved 23 November 2026. Keep the existing border
 * width transparent (not border:0) so boxes, icon centres and hit areas never
 * move. Explicit UI hooks only: no artwork, avatars, pills or record actions. */
:is(html[data-ui-version='v2'], html[data-ui-kit-reference]) body :is(
  .ui-kit-icon-button, .ui-kit-theme-toggle, .folio-dialog-close,
  .ui-button--icon, .ui-icon-control, .mobile-theme-toggle,
  .ui-tag-manager-close, .digi-mobile-colour-sheet__close,
  .support-enquiry__close, .ui-toast__close
) {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* A resting circle is decoration; keyboard focus is essential feedback.
 * Preserve the kit's focus indicator without shifting the control. */
:is(html[data-ui-version='v2'], html[data-ui-kit-reference]) body :is(
  .ui-kit-icon-button, .ui-kit-theme-toggle, .folio-dialog-close,
  .ui-button--icon, .ui-icon-control, .mobile-theme-toggle,
  .ui-tag-manager-close, .digi-mobile-colour-sheet__close,
  .support-enquiry__close, .ui-toast__close
):focus-visible {
  outline: 2px solid var(--ui-blue, #1559ed) !important;
  outline-offset: 3px !important;
}
